@font-face {
  font-family: 'Instrument Sans';
  src: url('./fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@property --accent {
  syntax: '<color>';
  inherits: true;
  initial-value: #b9ff3b;
}

:root {
  color-scheme: dark;
  --page: #000;
  --panel: #0a0a0c;
  --ink: #fafafa;
  --muted: #b4b4bd;
  --line: #f2eef226;
  --edge: #f2eef25c;
  --shadow: #0000008a;
  --button-fill: #fafafa;
  --button-ink: #101012;
  --gutter: clamp(1rem, 4vw, 4rem);
  --header-height: 4.35rem;
  --web-accent: #b9ff3b;
  --app-accent: #4fdcff;
  --ia-accent: #ff6be3;
  --infra-accent: #ff8a33;
  --accent: var(--web-accent);
  --sans: 'Instrument Sans', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.19, .72, .22, 1);
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
}
:root[data-world="application"] { --accent: var(--app-accent); }
:root[data-world="ia"] { --accent: var(--ia-accent); }
:root[data-world="infra"] { --accent: var(--infra-accent); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-block-size: 100vh; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, blockquote, dl, dd, ol { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
img, canvas, svg { display: block; max-inline-size: 100%; }
img { block-size: auto; }
::selection { background: var(--accent); color: #10140a; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }

.shell { inline-size: min(91rem, 100% - var(--gutter) * 2); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link { position: fixed; z-index: 20; inset: .5rem auto auto .5rem; padding: .65rem .85rem; background: #f8f4f3; color: #1d1820; }

.site-header { position: relative; z-index: 10; background: var(--page); border-block-end: 1px solid var(--line); }
.site-header::after {
  content: '';
  transition: --accent 700ms ease;
  position: absolute;
  inset: auto 0 -1px;
  block-size: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: .55;
  pointer-events: none;
}
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: clamp(.55rem, 2vw, 1.5rem); min-block-size: var(--header-height); }
.brand { display: flex; align-items: center; gap: .62rem; inline-size: fit-content; min-block-size: 2.75rem; text-decoration: none; }
.brand-mark { flex: none; inline-size: 1.72rem; block-size: 1.72rem; transition: transform 500ms var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-name { font-size: 1.02rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; }
.site-menu { position: relative; }
.site-menu > summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-block-size: 2.75rem;
  padding-inline: .25rem;
  font-weight: 600;
  font-size: .89rem;
  list-style: none;
  transition: color 180ms ease;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu > summary:hover, .site-menu[open] > summary { color: var(--accent); }
.menu-glyph { inline-size: .95rem; block-size: .5rem; border-block: 1.5px solid currentColor; transition: transform 320ms var(--ease), block-size 320ms var(--ease); }
.site-menu[open] .menu-glyph { block-size: 0; border-block-end-width: 0; transform: rotate(180deg); }
.site-menu:not([open]) .menu-panel { display: none; }
.menu-panel {
  position: absolute;
  inset: calc(100% + .85rem) -1rem auto auto;
  inline-size: min(19.5rem, calc(100vw - 2rem));
  max-block-size: calc(100dvh - var(--header-height) - 1rem);
  overflow: auto;
  border: 1px solid var(--edge);
  border-radius: .9rem;
  padding: .55rem 1.05rem;
  background: #08080af7;
  box-shadow: 0 22px 60px var(--shadow), 0 0 0 1px #ffffff08 inset;
  animation: panel-in 280ms var(--ease);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.menu-panel nav { display: grid; counter-reset: entry; }
.menu-panel nav a {
  counter-increment: entry;
  display: flex;
  align-items: center;
  gap: .8rem;
  min-block-size: 3rem;
  padding: .52rem .1rem;
  border-block-end: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  transition: color 180ms ease, padding 260ms var(--ease);
}
.menu-panel nav a::before { content: counter(entry, decimal-leading-zero); color: var(--muted); font: 500 .68rem var(--mono); letter-spacing: .06em; }
.menu-panel nav a[aria-current], .menu-panel nav a:hover { color: var(--accent); }
.menu-panel nav a:hover { padding-inline-start: .4rem; }
.menu-identity { padding-block: .65rem .35rem; color: var(--muted); font-size: .79rem; line-height: 1.4; }
.menu-identity span { margin-inline: .22rem; color: var(--accent); }
.object-settings > summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-block-size: 2.75rem; color: var(--muted); font-size: .88rem; list-style: none; }
.object-settings > summary::-webkit-details-marker { display: none; }
.object-settings > summary::after { content: '+'; font-size: 1.15rem; color: var(--accent); }
.object-settings[open] > summary::after { content: '−'; }
.object-options { display: grid; gap: .25rem; padding-block: .1rem .85rem; }
.object-options label { display: grid; grid-template-columns: 1fr minmax(3rem, 1.15fr) auto; align-items: center; gap: .45rem; font-size: .88rem; }
.object-options :is(input, output) { max-inline-size: 100%; accent-color: var(--accent); }
.object-options output { font: 500 .78rem var(--mono); }
.object-options input[type="color"] { inline-size: 2.75rem; block-size: 2.75rem; }
.object-options .bare-button { justify-self: start; min-block-size: 2.3rem; font-size: .85rem; }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  inline-size: fit-content;
  min-block-size: 2.75rem;
  border: 1px solid transparent;
  border-radius: 99rem;
  padding: .65rem 1.12rem;
  font-weight: 650;
  font-size: .92rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 300ms ease, transform 300ms var(--ease);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { background: var(--button-fill); color: var(--button-ink); }
.button-primary:hover { background: var(--accent); box-shadow: 0 10px 34px -10px var(--accent); }
.button-outline { border-color: var(--edge); background: #000000c4; color: var(--ink); }
.button-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.button-chevron { inline-size: .45rem; block-size: .45rem; border-block-start: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(45deg); transition: translate 260ms var(--ease); }
.button:hover .button-chevron { translate: .2rem 0; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--edge); text-decoration-thickness: 1px; text-underline-offset: .28em; transition: color 180ms ease, text-decoration-color 180ms ease; }
.text-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.bare-button { min-block-size: 2.75rem; border: 0; padding: .55rem 0; background: transparent; color: inherit; text-align: start; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--accent); font: 500 .76rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; flex: none; inline-size: 1.6rem; block-size: 1px; background: currentColor; }
.eyebrow-number { color: var(--ink); }
.display-heading { font-size: clamp(2.7rem, 6.3vw, 7rem); font-weight: 600; line-height: .96; letter-spacing: -.05em; text-wrap: balance; }

.stage-visuals, .stage-canvas, .energy-fallback { position: absolute; inset: 0; }
.stage-visuals { pointer-events: none; z-index: -1; overflow: hidden; }
.stage-canvas { inline-size: 100%; block-size: 100%; }
.stage-glow {
  position: absolute;
  inset: 0 auto auto 0;
  inline-size: min(92vmin, 54rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent), color-mix(in srgb, var(--accent) 8%, transparent) 36%, transparent 68%);
  opacity: .5;
  transform: translate(calc(var(--art-x, 50vw) - 50%), calc(var(--art-y, 34svh) - 50%));
  transition: transform 1100ms var(--ease), opacity 800ms ease, --accent 700ms ease;
}
.fallback-sculpture {
  position: absolute;
  inset: 35% auto auto 50%;
  inline-size: min(54vw, 37svh, 23rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.fallback-sculpture::before, .fallback-sculpture::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: var(--silhouette);
  background: var(--surface);
}
.fallback-sculpture::after {
  inset: 102% 0 auto;
  block-size: 100%;
  mask-image: linear-gradient(transparent 12%, #000 95%);
  opacity: .32;
  transform-origin: 50% 0;
  transform: translateY(36%) scaleY(-.36);
}
[data-fallback-sculpture="web"] {
  --pigment: #aaff14;
  --silhouette: polygon(15% 1%, 92% 60%, 61% 61%, 75% 88%, 58% 97%, 43% 69%, 17% 89%);
  --surface: repeating-linear-gradient(73deg, transparent 0 5px, color-mix(in srgb, var(--pigment) 68%, transparent) 6px 7px),
    linear-gradient(135deg, color-mix(in srgb, var(--pigment) 37%, #141713), #181e0e);
}
[data-fallback-sculpture="application"] {
  --pigment: #12d8ff;
  --tile: linear-gradient(145deg, #a8ecff, var(--pigment));
  --silhouette: inset(4% round 23%);
  --surface: var(--tile) 26% 26% / 25% 25% no-repeat, var(--tile) 74% 26% / 25% 25% no-repeat,
    var(--tile) 26% 74% / 25% 25% no-repeat, var(--tile) 74% 74% / 25% 25% no-repeat,
    linear-gradient(140deg, #1d5a6e, #08161c);
}
[data-fallback-sculpture="ia"] {
  --pigment: #ff3fd8;
  --silhouette: polygon(44% 4%, 50% 2%, 55% 5%, 56% 25%, 61% 25%, 72% 11%, 77% 11%, 80% 15%, 70% 32%,
    75% 35%, 93% 30%, 97% 33%, 97% 38%, 80% 45%, 81% 51%, 96% 55%, 98% 60%, 94% 64%, 78% 62%,
    75% 68%, 85% 82%, 83% 87%, 77% 88%, 66% 77%, 61% 79%, 61% 95%, 57% 99%, 52% 96%, 49% 82%,
    43% 80%, 34% 93%, 29% 94%, 25% 90%, 32% 74%, 27% 71%, 13% 77%, 8% 75%, 8% 70%, 21% 61%,
    20% 56%, 5% 53%, 2% 49%, 5% 45%, 22% 45%, 24% 39%, 12% 31%, 11% 26%, 16% 23%, 31% 30%,
    36% 26%, 32% 13%, 35% 8%, 40% 9%, 46% 23%);
  --surface: radial-gradient(circle at 39% 39%, #f4a1e2, #ca43b8 29%, #941684 49%, #53024b 80%);
}
[data-fallback-sculpture="infra"] {
  --pigment: #ff6a0a;
  --unit: linear-gradient(90deg, #ffe2c4 0 9%, var(--pigment) 9%);
  --silhouette: polygon(50% 1%, 64% 8%, 78% 12%, 90% 14%, 91% 31%, 90% 49%, 88% 64%, 82% 77%, 73% 89%,
    61% 97%, 50% 100%, 39% 97%, 27% 89%, 18% 77%, 12% 64%, 10% 49%, 9% 31%, 10% 14%, 22% 12%, 36% 8%);
  --surface: var(--unit) 50% 30% / 48% 11% no-repeat, var(--unit) 50% 48% / 48% 11% no-repeat,
    var(--unit) 50% 66% / 48% 11% no-repeat, linear-gradient(150deg, #7a3a0c, #1c0d03);
}
.wheel-mark { flex: none; inline-size: .78rem; block-size: 1.12rem; border: 1px solid var(--edge); border-radius: .55rem; }
.wheel-mark::after { content: ''; display: block; inline-size: 2px; block-size: 4px; margin: 2px auto 0; background: var(--accent); border-radius: 2px; animation: wheel 1.9s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-1px); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(6px); } }
.service-description { max-inline-size: 37ch; color: var(--muted); font-size: clamp(1.02rem, 1.64vw, 1.4rem); line-height: 1.5; text-wrap: pretty; }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .72rem; margin-block-start: clamp(.85rem, 2.3vh, 1.4rem); }
.service-actions .button-primary + .button-primary { border-color: var(--edge); background: #000000c4; color: var(--ink); }
.service-actions .button-primary + .button-primary:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }

.example-section { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: .9rem clamp(1.4rem, 4.4vw, 4.6rem); }
.example-description { order: 2; }
.example-description h2 { margin-block: .55rem .7rem; font-size: clamp(2rem, 4.2vw, 4.3rem); font-weight: 600; line-height: .98; letter-spacing: -.052em; text-wrap: balance; }
.example-description > p:not(.eyebrow, .example-status) { color: var(--muted); line-height: 1.45; }
.example-description button { margin-block-start: 1rem; }
.example-status { min-block-size: 3.6em; margin-block-start: .8rem; color: var(--ink); font: 500 .76rem/1.5 var(--mono); letter-spacing: .02em; }
.example-status:not(:empty)::before { content: '› '; color: var(--accent); }

.scenario-frame { position: relative; min-inline-size: 0; }
/* The glow under a panel is a gradient: a wide blurred shadow takes the graphics card far longer to draw. */
.scenario-frame::after {
  content: '';
  position: absolute;
  inset: 100% 7% auto;
  block-size: 5rem;
  background: radial-gradient(50% 100% at 50% 0, color-mix(in srgb, var(--accent) 30%, transparent), transparent);
  pointer-events: none;
}
.scenario {
  container-type: inline-size;
  border: 1px solid var(--edge);
  border-radius: 1rem;
  /* The sculpture glows through one corner of the panel. A blurred backdrop would be redrawn on every frame. */
  background: radial-gradient(115% 85% at var(--glint, 0% 0%), color-mix(in srgb, var(--accent) 15%, transparent), transparent 64%), #0a0a0cdb;
  box-shadow: 0 0 0 1px #ffffff0a inset;
  overflow: hidden;
}
.zone-label, .scenario-bar, .scenario-steps button, .mock-url, .mock-field span, .case-ref, .case-state, .week span, .case-log dt, .mail-from, .sheet-fields dt, .sheet-approve span, .systems-list dt {
  font: 500 .64rem/1.4 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scenario-bar { display: flex; align-items: center; gap: .75rem; min-block-size: 2.3rem; border-block-end: 1px solid var(--line); padding: .4rem .9rem; color: var(--muted); }
.scenario-bar strong { color: var(--ink); font-weight: 500; }
.scenario-tag { margin-inline-start: auto; opacity: .75; }
.scenario-dots { flex: none; inline-size: .42rem; block-size: .42rem; margin-inline-end: 1.4rem; border-radius: 50%; background: var(--accent); box-shadow: .7rem 0 #ffffff3d, 1.4rem 0 #ffffff24; }
.scenario-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin: 0; padding: .7rem .9rem 0; list-style: none; }
.scenario-steps button { position: relative; display: block; inline-size: 100%; min-block-size: 2.3rem; border: 0; padding: .6rem 0 .2rem; background: none; color: var(--muted); text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 300ms ease; }
.scenario-steps button::before, .scenario-steps button::after { content: ''; position: absolute; inset: 0 0 auto; block-size: 2px; border-radius: 2px; background: var(--line); }
.scenario-steps button::after { background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.scenario-steps button[data-done]::after { transform: scaleX(1); opacity: .5; }
.scenario-steps button[aria-current]::after { transform: scaleX(1); box-shadow: 0 0 10px var(--accent); }
.scenario[data-playing] button[aria-current]::after { animation: step-fill var(--hold, 2s) linear both; }
@keyframes step-fill { from { transform: scaleX(0); } }
.scenario-steps button[aria-current], .scenario-steps button:hover { color: var(--ink); }
.scenario-steps button span { color: var(--accent); }
.scenario-body { display: grid; align-items: start; gap: .9rem; min-block-size: 18rem; padding: .9rem; }
.scenario-web { grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr); }
.scenario-infra { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.scenario-ia { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.zone-label { margin-block-end: .5rem; color: var(--muted); }
.scenario[data-live] [data-at] { opacity: 0; transform: translateY(.6rem); transition: opacity 450ms ease, transform 650ms var(--ease); transition-delay: 0ms; }
.scenario[data-live] [data-at][data-on] { opacity: 1; transform: none; transition-delay: calc(var(--rank, 0) * 160ms); }
.scenario[data-live] [data-type] { transform: none; transition: none; }

.mock-site { border: 1px solid var(--edge); border-radius: 1.2rem; padding: .6rem .65rem .7rem; background: #050506; }
.mock-url { border-block-end: 1px solid var(--line); padding-block-end: .4rem; color: var(--muted); text-align: center; text-transform: none; letter-spacing: .02em; }
.mock-title { margin-block: .6rem .55rem; font-size: 1.02rem; font-weight: 650; line-height: 1.12; letter-spacing: -.025em; }
.mock-field { display: grid; gap: .15rem; margin-block-end: .4rem; }
.mock-field span { color: var(--muted); }
.mock-field b { display: flex; align-items: center; min-block-size: 1.9rem; border: 1px solid var(--line); border-radius: .4rem; padding: .2rem .5rem; font-size: .8rem; font-weight: 500; }
.mock-field i { font-style: normal; }
.scenario[data-playing][data-step="2"] .mock-field i:not(:empty)::after { content: ''; display: inline-block; inline-size: 1px; block-size: .95em; margin-inline-start: 1px; background: var(--accent); vertical-align: -.12em; }
.mock-send { display: grid; place-items: center; min-block-size: 2rem; margin-block-start: .55rem; border-radius: 99rem; background: var(--ink); color: var(--button-ink); font-size: .78rem; font-weight: 650; transition: background-color 400ms ease, scale 300ms var(--ease); }
.scenario:is(:not([data-live]), [data-step="3"], [data-step="4"]) .mock-send { background: var(--accent); }
.scenario[data-step="3"] .mock-send { animation: press 500ms var(--ease); }
@keyframes press { 40% { scale: .94; } }
.feed { display: grid; align-content: start; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.feed li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem; border: 1px solid var(--line); border-radius: .7rem; padding: .6rem .7rem; background: #ffffff0a; }
.feed li::before { content: ''; inline-size: .5rem; block-size: .5rem; margin-block-start: .34rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.feed p { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.feed strong { display: block; color: var(--ink); font-size: .86rem; }

.case-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.case-ref { display: block; color: var(--muted); }
.case-head strong { font-size: 1.02rem; letter-spacing: -.02em; }
.case-state { flex: none; border: 1px solid var(--accent); border-radius: 99rem; padding: .22rem .7rem; color: var(--accent); }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; }
.week span { position: relative; min-block-size: 3.7rem; border: 1px dashed var(--line); border-radius: .5rem; padding: .3rem .4rem; color: var(--muted); }
.week i { position: absolute; inset: 1.45rem .3rem .3rem; display: grid; place-items: center; border-inline-start: 3px solid var(--accent); border-radius: .3rem; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--ink); font-style: normal; letter-spacing: .02em; text-transform: none; white-space: nowrap; }
.case-log div { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); align-items: baseline; gap: .6rem; border-block-start: 1px solid var(--line); padding-block: .5rem; font-size: .86rem; }
.case-log dt, .sheet-fields dt { color: var(--muted); }
.case-log dd::before, .sheet-actions li::before { content: '✓'; margin-inline-end: .5rem; color: var(--accent); font-weight: 700; }

.mail, .sheet { border: 1px solid var(--line); border-radius: .7rem; padding: .7rem .8rem; background: #ffffff08; }
.mail-from { margin-block-end: .5rem; color: var(--ink); text-transform: none; letter-spacing: .02em; }
.mail blockquote { font-size: .95rem; line-height: 1.55; }
.mail mark { border-radius: .2rem; background: transparent; color: inherit; transition: background-color 500ms ease, box-shadow 500ms ease; }
.scenario:is(:not([data-live]), [data-step="2"], [data-step="3"], [data-step="4"]) mark { background: color-mix(in srgb, var(--accent) 28%, transparent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 28%, transparent); }
.sheet-fields div { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; border-block-end: 1px solid var(--line); padding-block: .3rem; font-size: .84rem; }
.sheet-fields dd { font-weight: 650; text-align: end; }
.sheet-actions { display: grid; gap: .3rem; margin: .6rem 0 0; padding: 0; list-style: none; font-size: .82rem; }
.sheet-approve { margin-block-start: .6rem; border-radius: .5rem; padding: .45rem .65rem; background: var(--accent); color: #0c0f07; font-size: .82rem; font-weight: 650; }
.sheet-approve span { display: block; opacity: .75; }
.systems-list { display: grid; gap: .4rem; }
.systems-list div { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-block-size: 2.5rem; border: 1px solid var(--line); border-radius: .6rem; padding: .35rem .7rem; background: #ffffff08; transition: border-color 400ms ease, background-color 400ms ease; }
.systems-list dt { color: var(--muted); }
.systems-list dd { display: flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 650; text-align: end; }
.systems-list dd::before { content: ''; flex: none; inline-size: .42rem; block-size: .42rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); transition: background-color 400ms ease, box-shadow 400ms ease; }
.systems-file { border-color: var(--edge); }
.scenario:is(:not([data-live]), [data-step="3"], [data-step="4"]) .systems-file { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.scenario[data-live][data-step="2"] .systems-file { border-color: var(--alert); background: color-mix(in srgb, var(--alert) 14%, transparent); animation: press 500ms var(--ease); }
.scenario[data-live][data-step="2"] .systems-file dd::before, .scenario-infra .feed li[data-at="2"]::before { background: var(--alert); box-shadow: 0 0 10px var(--alert); }
.scenario-infra { --alert: #ff5d6c; }
@container (max-width: 26rem) {
  .scenario-web, .scenario-ia, .scenario-infra { grid-template-columns: minmax(0, 1fr); }
  .systems-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems-list div { flex-direction: column; align-items: flex-start; justify-content: center; gap: .1rem; padding-block: .4rem; }
  .scenario-infra .feed { gap: .35rem; }
  .scenario-infra .feed li { padding: .4rem .6rem; }
  .scenario-body { min-block-size: 0; }
  .scenario-tag { display: none; }
  .scenario-steps button span { display: none; }
  .mock-site { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .5rem; }
  .mock-url, .mock-title, .mock-send { grid-column: 1 / -1; }
  .mock-title { margin-block: .5rem .4rem; font-size: .95rem; }
  .mock-field:nth-of-type(5) { grid-column: 1 / -1; }
  .case-log div { grid-template-columns: 4.6rem minmax(0, 1fr); }
  .mail blockquote { font-size: .88rem; line-height: 1.45; }
  .sheet-fields div { padding-block: .2rem; font-size: .8rem; }
  /* On a narrow panel, the two halves of a story take turns in the same place. */
  .scenario[data-live] .scenario-web > *, .scenario[data-live] .sheet > :not(.zone-label) { grid-area: 1 / 1; transition: opacity 400ms ease, visibility 400ms; }
  .scenario[data-live] .sheet { display: grid; grid-template-rows: auto minmax(0, 1fr); }
  .scenario[data-live] .sheet > :not(.zone-label) { grid-area: 2 / 1; }
  .scenario[data-live] .sheet-actions { margin-block-start: 0; }
  .scenario[data-live]:is([data-step="3"], [data-step="4"]) .mock-phone,
  .scenario[data-live]:is([data-step="0"], [data-step="1"], [data-step="2"]) .feed-zone,
  .scenario[data-live]:is([data-step="3"], [data-step="4"]) .sheet-fields,
  .scenario[data-live]:is([data-step="0"], [data-step="1"], [data-step="2"]) .sheet-result { opacity: 0; visibility: hidden; }
  .scenario[data-live][data-playing]:is([data-step="3"], [data-step="4"]) .mock-phone { transition-delay: 800ms; }
  .scenario[data-live][data-playing]:is([data-step="3"], [data-step="4"]) .feed-zone { transition-delay: 1100ms; }
  .scenario[data-live][data-playing] .feed [data-at="3"][data-on] { transition-delay: 1200ms; }
}

.capabilities-content .display-heading { margin-block: .55rem .8rem; font-size: clamp(2.6rem, 5.4vw, 5.7rem); text-wrap: pretty; }
.capability-list, .method-steps { display: grid; gap: .6rem clamp(.75rem, 3vw, 2.7rem); padding: 0; margin: clamp(1rem, 3.7vh, 2.5rem) 0 1.1rem; list-style: none; counter-reset: step; }
.capability-list, .method-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:is(.capability-list, .method-steps) li { position: relative; counter-increment: step; border-block-start: 1px solid var(--line); padding-block: .8rem .65rem; }
:is(.capability-list, .method-steps) li::before { content: counter(step, decimal-leading-zero); display: block; margin-block-end: .5rem; color: var(--accent); font: 500 .7rem var(--mono); letter-spacing: .1em; }
:is(.capability-list, .method-steps) li::after { content: ''; position: absolute; inset: -1px auto auto 0; inline-size: 2.2rem; block-size: 1px; background: var(--accent); transition: inline-size 600ms var(--ease); }
:is(.capability-list, .method-steps) li:hover::after { inline-size: 100%; }
:is(.capability-list, .method-steps) h3 { color: var(--ink); font-size: clamp(1.1rem, 1.6vw, 1.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; }
:is(.capability-list, .method-steps) p { max-inline-size: 37ch; margin-block-start: .4rem; color: var(--muted); line-height: 1.45; }
.project-brief { max-inline-size: 64ch; margin-block: 0 1rem; color: var(--muted); line-height: 1.5; }


.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .43rem 1rem; min-block-size: 3.5rem; align-items: center; color: var(--muted); }
.not-found { padding-block: 4rem; }
.not-found .display-heading { margin-block-start: .6rem; }
.not-found p:not(.eyebrow, .index-line) { margin-block: .8rem; color: var(--muted); }
.not-found ul { display: grid; gap: .65rem; padding-inline-start: 1.2rem; }

/* The sculptures float in one space and a camera flies between them. The page scrolls natively
   over invisible stops, one per scene; the scenes themselves stay fixed under the header. */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('./fonts/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('./fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
}
html[data-layout="voyage"] {
  overscroll-behavior-y: none;
  scroll-padding-block-start: var(--header-height);
  scrollbar-color: var(--edge) transparent;
}
.voyage { position: relative; isolation: isolate; }
.voyage > .stage-visuals { position: fixed; inset: var(--header-height) 0 0; }
.stage-decor { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
/* The sky is a tile wider and taller than the stage: it slides and tilts with the camera. */
.stage-sky { position: absolute; inset: -15% auto auto -50%; inline-size: 300%; block-size: 130%; background-repeat: repeat; will-change: transform; }
html:not([data-stage-ready]) :is(.energy-fallback, .stage-decor, .stage-sky) { display: none; }


/* Type: a heavy condensed face in capitals, an italic serif for the turn of phrase, a plain sans
   for reading. Labels are set in the condensed face, never in small monospace. */
.poster { margin: 0; font: 700 clamp(3.2rem, 9.4vw, 10.2rem)/.84 var(--display); letter-spacing: -.012em; text-transform: uppercase; }
.line { display: block; overflow: hidden; padding-block: .06em .1em; margin-block: -.06em -.1em; }
.line > span { display: inline-block; will-change: transform; padding-inline-end: .08em; transform: translateY(calc((1 - clamp(0, var(--p, 1) * 1.9 - var(--i, 0) * .26, 1)) * 112%)); will-change: transform; }
.line-serif { font-size: .6em; line-height: 1.02; }
.face-serif { font: italic 400 1em/1.02 var(--serif); letter-spacing: -.02em; text-transform: none; }
.face-outline { color: transparent; -webkit-text-stroke: .014em var(--ink); }
.display-heading { font: 700 clamp(2.4rem, 5vw, 5.4rem)/.9 var(--display); letter-spacing: -.005em; text-transform: uppercase; }
.eyebrow, .index-line { display: flex; align-items: baseline; gap: .6rem; color: var(--ink); font: 700 1.02rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { color: var(--accent); }
.eyebrow::before { content: none; }
.index-figure { color: var(--accent); }

/* Header: a line of plain words, no capsules. */
.brand-name { font: 700 1.5rem/1 var(--display); letter-spacing: .08em; }
.tab-index { color: var(--accent); font-size: .72em; }
.site-menu > summary { font: 700 1.08rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; }

/* Buttons: a block with square shoulders and an arrow. */
.button { gap: .7rem; border-radius: .2rem; padding: .7rem 1.05rem .66rem; font: 700 1.06rem/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.button-primary::after { content: ''; flex: none; inline-size: .5rem; block-size: .5rem; border-block-start: 2px solid currentColor; border-inline-end: 2px solid currentColor; transition: translate 300ms var(--ease); }
.button-primary:hover::after { translate: .15rem -.15rem; }
.button-primary:hover { box-shadow: none; }
.button-outline { border-color: transparent; background: var(--button-fill); color: var(--button-ink); }
.button-outline:hover { background: var(--accent); color: var(--button-ink); box-shadow: none; }
.service-actions .button-primary + .button-primary { background: none; }

/* Without the camera, the scenes simply follow each other. */
.scene { position: relative; display: grid; align-content: safe center; min-block-size: calc(100svh - var(--header-height)); padding-block: clamp(1.4rem, 4.4vh, 3rem); }
.scroll-space, .hud { display: none; }
html[data-stage-ready] .scenes { position: fixed; inset: var(--header-height) 0 0; overflow: clip; }
html[data-stage-ready] .scene { position: absolute; inset: 0; min-block-size: 0; overflow-y: auto; scrollbar-width: none; will-change: opacity; }
html[data-stage-ready] .scene::-webkit-scrollbar { display: none; }
html[data-stage-ready] .scroll-space { display: block; }
html[data-stage-ready] .hud:not([hidden]) { display: block; }
html[data-stage-ready] .site-footer { display: none; }
/* What is not a title appears a moment after it. */
html[data-stage-ready] .scene :is(.cover-foot, .index-line, .service-description, .prestations, .service-actions, .about-text, .about-where, .about-steps, .quote-mail, .quote-body) {
  opacity: clamp(0, var(--p, 1) * 2.6 - 1.25, 1);
}

/* Opening screen: the logo is the N of the name, set as wide as the page. Under it, what the
   studio is, the way in, and the four domains along the bottom edge. */
.scene-garde { align-content: stretch; }
.garde { display: grid; align-content: center; min-block-size: 100%; }
.garde-head { display: grid; justify-items: center; gap: clamp(1.4rem, 4.4vh, 2.8rem); padding-block-end: clamp(1rem, 5vh, 3rem); text-align: center; }
.lockup { margin: 0; font: 700 min(18.6vw, 17.5rem, 36svh)/.86 var(--display); letter-spacing: .012em; text-transform: uppercase; }
.lockup .line-serif { margin-block-start: .1em; font-size: .19em; letter-spacing: 0; }
.lockup-word { white-space: nowrap; }
/* Netflix-like: the N stands alone in the middle, then slides left as the rest of the name unfolds. */
.lockup .line-word > span { transform: none; }
.lockup-rest { display: inline-block; overflow: clip; vertical-align: baseline; animation: unfold 1s 1.15s cubic-bezier(.7, 0, .2, 1) backwards; }
.lockup-rest > span { display: inline-block; animation: letters 1s 1.15s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes unfold { from { max-inline-size: 0; } to { max-inline-size: 4.2em; } }
@keyframes letters { from { translate: -45% 0; opacity: 0; } }
.lockup .line-serif > span { transform: translateY(calc((1 - clamp(0, var(--q, 1) * 1.9, 1)) * 112%)); }
.lockup-mark { display: inline-block; inline-size: auto; block-size: .7em; margin-inline-end: .045em; vertical-align: baseline; overflow: visible; }
.lockup-mark path { stroke-dasharray: 1; animation: draw-mark .9s .2s cubic-bezier(.5, 0, .2, 1) backwards; }
@keyframes draw-mark { from { stroke-dashoffset: 1; } }
.explore { display: inline-flex; align-items: center; gap: .9rem; min-block-size: 3rem; border: 1px solid var(--edge); border-radius: .2rem; padding: .5rem 1.15rem .5rem .8rem; color: var(--ink); font: 700 1.1rem/1.1 var(--display); letter-spacing: .07em; text-decoration: none; text-transform: uppercase; transition: border-color 250ms ease, background-color 250ms ease, color 250ms ease; }
.explore .mouse { inline-size: 1.15rem; block-size: 1.8rem; }
.explore .mouse-wheel { inset-block-start: .3rem; block-size: .4rem; }
.explore-arrow { inline-size: .55rem; block-size: .55rem; border-block-end: 2px solid currentColor; border-inline-end: 2px solid currentColor; rotate: 45deg; translate: 0 -.15rem; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { translate: 0 .12rem; } }
.explore:hover { border-color: var(--ink); background: var(--ink); color: var(--button-ink); }
.explore:hover .mouse { border-color: currentColor; }
/* On the opening screen the name is on the page: the one in the header waits its turn. */
.brand { transition: opacity 500ms ease; }
html[data-stage-ready][data-scene="garde"] .brand { opacity: 0; pointer-events: none; }

/* Cover: a poster. Small print at the top, the title across the bottom, the sculptures behind. */
.scene-cover { align-content: center; }
.cover { display: grid; gap: clamp(1.2rem, 3.4vh, 2.2rem); }
.cover .poster { align-self: start; }
.cover-foot { display: grid; justify-items: start; gap: clamp(1.4rem, 4vh, 2.2rem); }
.cover-lead { max-inline-size: 46ch; font-size: clamp(1rem, 1.34vw, 1.2rem); line-height: 1.6; }
.cover-where { max-inline-size: 46ch; margin-block-start: -.8rem; color: var(--muted); font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.6; }

/* Touch: the browser never pans the page, the script turns it scene by scene. A scene taller
   than the screen keeps its own scroll. Pinching to zoom stays possible everywhere. */
html[data-stage-ready], html[data-stage-ready] :is(body, .site-header, .hud a, .scene) { touch-action: pinch-zoom; }
html[data-stage-ready] .scene[data-scrolls] { touch-action: pan-y pinch-zoom; }
html[data-touch] .scene[data-scrolls] { overscroll-behavior: contain; }
html[data-stage-ready] .menu-panel { touch-action: pan-y pinch-zoom; }

/* A mouse whose wheel rolls: the scroll is the way forward. On a touch screen, a finger that
   swipes up takes its place. */
.finger { display: none; flex: none; inline-size: 1.25rem; block-size: 1.7rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; animation: swipe 1.9s var(--ease) infinite; }
html[data-touch] .mouse { display: none; }
html[data-touch] .finger { display: block; }
@keyframes swipe { 0% { opacity: 0; translate: 0 .32rem; } 30% { opacity: 1; } 75%, 100% { opacity: 0; translate: 0 -.42rem; } }

.mouse { position: relative; flex: none; inline-size: 1.5rem; block-size: 2.35rem; border: 1.5px solid var(--ink); border-radius: 1rem; }
.mouse-wheel { position: absolute; inset: .42rem auto auto calc(50% - 1.5px); inline-size: 3px; block-size: .5rem; border-radius: 2px; background: var(--accent); animation: roll 1.7s var(--ease) infinite; }
@keyframes roll { 0% { opacity: 0; translate: 0 -2px; } 25% { opacity: 1; } 70%, 100% { opacity: 0; translate: 0 .7rem; } }

/* A domain: the sculpture on one side, everything there is to know on the other. */
.scene-main { display: grid; }
.domain-text { display: grid; justify-items: start; inline-size: min(52%, 46rem); }
.scene[data-side="right"] .domain-text { justify-self: end; }
.domain-text .poster { margin-block: .5rem clamp(1rem, 2.6vh, 1.6rem); font-size: clamp(2.8rem, 6.2vw, 6.8rem); }
.service-description { max-inline-size: 52ch; color: var(--muted); font-size: clamp(1rem, 1.28vw, 1.18rem); line-height: 1.62; }
.service-description .more { display: none; }
.prestations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.4rem, 3.4vw, 3rem); inline-size: 100%; margin: clamp(1.4rem, 4vh, 2.4rem) 0 0; padding: 0; list-style: none; counter-reset: row; }
.prestations li { counter-increment: row; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); align-items: baseline; gap: .2rem .9rem; border-block-start: 1px solid var(--line); padding-block: .58rem .52rem; transition: background-color 300ms ease, padding 400ms var(--ease); }
.prestations:not(.steps) li { grid-template-columns: minmax(0, 1fr); }
.prestations:not(.steps) li::before { content: none; }
.prestations li:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); padding-inline-start: .5rem; }
.prestations h3 { font: 700 1.24rem/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.prestations p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
/* The descriptions of the services are text like any other: they show where the screen has room,
   and stay in the page, out of sight, where it has not. */
@media not all and (min-width: 56rem) and (min-height: 46rem) { .prestations:not(.steps) p { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
@media (min-width: 56rem) and (min-height: 46rem) { .service-description .more { display: inline; } .prestations li { padding-block: .85rem .8rem; } .prestations h3 { margin-block-end: .25rem; } }
@media (min-width: 56rem) and (min-height: 58rem) { .prestations li { padding-block: 1rem .95rem; } .service-actions { margin-block-start: clamp(1.4rem, 3.4vh, 2.2rem); } }
.service-actions { margin-block-start: clamp(.9rem, 2.4vh, 1.5rem); }
.play-glyph { inline-size: 0; block-size: 0; border-block: .3rem solid transparent; border-inline-start: .5rem solid currentColor; }
html[data-stage-ready] .scene:not([data-view="demo"]) .scene-demo, html[data-stage-ready] .scene[data-view="demo"] .scene-main { display: none; }
.scene-demo { display: grid; gap: clamp(.6rem, 2vh, 1.1rem); }
.demo-back { display: inline-flex; align-items: center; gap: .6rem; justify-self: start; min-block-size: 2.6rem; border-block-end: 1px solid var(--edge); font: 700 1.02rem/1 var(--display); letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: border-color 200ms ease, color 200ms ease; }
.demo-back:hover { border-color: var(--accent); color: var(--accent); }
.demo-back .button-chevron { transform: rotate(-135deg); }
.example-description h2 { font: 700 clamp(2.2rem, 4.3vw, 4.6rem)/.9 var(--display); letter-spacing: 0; text-transform: uppercase; }

.scene-about .poster, .scene-contact .poster { margin-block: .5rem .4rem; font-size: clamp(2.8rem, 6.5vw, 7.1rem); }

/* About: three sentences and the way we work on one line. */
.about { display: grid; justify-items: start; gap: clamp(1.1rem, 3vh, 1.8rem); }
.about .poster { margin: 0; font-size: clamp(2.8rem, 7.4vw, 8rem); }
.about-text, .about-where { max-inline-size: 50ch; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.62; }
.about-where { margin-block-start: -.3rem; font-size: clamp(.95rem, 1.15vw, 1.06rem); }
.about-steps { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: clamp(.3rem, 1.6vh, .9rem) 0 0; padding: 0; list-style: none; font: 700 clamp(1.1rem, 1.5vw, 1.4rem)/1.1 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.about-steps li { display: flex; align-items: center; gap: 1rem; }
.about-steps li + li::before { content: ''; inline-size: clamp(1.2rem, 2.6vw, 2.4rem); block-size: 1px; background: var(--accent); }

/* Quote: the title and the address on one side, a bare form on the other. */
.quote { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 1.6rem clamp(2rem, 7vw, 7rem); }
.quote-head { display: grid; justify-items: start; gap: clamp(1rem, 3vh, 1.7rem); }
.quote-head .poster { margin: 0; }
.quote-mail { border-block-end: 1px solid var(--edge); padding-block-end: .12rem; font: italic 400 clamp(1.45rem, 2.2vw, 2.1rem)/1.15 var(--serif); text-decoration: none; transition: color 200ms ease, border-color 200ms ease; }
.quote-mail:hover { border-color: currentColor; color: var(--accent); }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.6vh, 1.5rem) 1.6rem; }
.quote-needs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; min-inline-size: 0; margin: 0; border: 0; padding: 0; }
.quote-needs legend { margin-block-end: .7rem; padding: 0; }
.quote-needs legend, .field { color: var(--muted); font: 700 .92rem/1.2 var(--display); letter-spacing: .09em; text-transform: uppercase; }
.chip { position: relative; display: inline-flex; align-items: center; min-block-size: 2.5rem; border: 1px solid var(--edge); border-radius: .2rem; padding: .3rem .85rem; color: var(--ink); font: 700 1.02rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease; }
.chip input { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip:has(:checked) { border-color: var(--ink); background: var(--ink); color: var(--button-ink); }
.chip:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.field { display: grid; gap: .15rem; }
.field-wide { grid-column: 1 / -1; }
.field :is(input, textarea) { inline-size: 100%; min-inline-size: 0; border: 0; border-block-end: 1px solid var(--edge); border-radius: 0; padding: .4rem 0 .5rem; background: none; color: var(--ink); font: 450 1.08rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; transition: border-color 200ms ease, box-shadow 200ms ease; }
.field textarea { min-block-size: 3.5rem; resize: vertical; }
.field :is(input, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.quote-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.3rem; }
.quote-status { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }
.quote-status:empty { display: none; }
.quote-draft textarea { border: 1px solid var(--line); padding: .6rem .7rem; font-size: .9rem; }

/* The detailed text of a page. Without the camera it follows its screen; with it, it waits in
   the page and « En savoir plus » shows it in a panel on the right. */
.detail { padding-block: 2.5rem; }
.detail h2 { max-inline-size: 22ch; font: 700 clamp(2rem, 4.4vw, 3.4rem)/.95 var(--display); letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
.detail > p { max-inline-size: 62ch; margin-block-start: 1.1rem; color: var(--muted); font-size: 1.04rem; line-height: 1.68; }
.detail h3 { margin-block: 2.4rem .4rem; color: var(--accent); font: 700 1.14rem/1.2 var(--display); letter-spacing: .09em; text-transform: uppercase; }
.faq { max-inline-size: 62ch; margin: 0; }
.faq div { border-block-start: 1px solid var(--line); padding-block: 1.05rem; }
.faq dt { font-weight: 650; font-size: 1.04rem; line-height: 1.4; }
.faq dd { margin: .45rem 0 0; color: var(--muted); line-height: 1.65; }
.detail .button { margin-block-start: 1.6rem; }
html[data-stage-ready] .scene > .detail { display: none; }
.detail-link { display: inline-flex; align-items: center; min-block-size: 2.75rem; padding-inline: .3rem; font-size: .98rem; }
.about .detail-link { margin-block-start: -.2rem; }
.sheet { position: fixed; inset: 0 0 0 auto; inline-size: min(100%, 44rem); max-inline-size: none; block-size: 100dvh; max-block-size: none; margin: 0; border: 0; border-inline-start: 1px solid var(--edge); padding: clamp(1.2rem, 4vw, 3rem); background: #060608; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y pinch-zoom; }
.sheet::backdrop { background: #000000b3; }
.sheet[open] { animation: sheet-in 420ms var(--ease); }
@keyframes sheet-in { from { opacity: 0; translate: 2.5rem 0; } }
.sheet[data-world="web"] { --accent: var(--web-accent); }
.sheet[data-world="application"] { --accent: var(--app-accent); }
.sheet[data-world="ia"] { --accent: var(--ia-accent); }
.sheet[data-world="infra"] { --accent: var(--infra-accent); }
.sheet .detail { inline-size: auto; margin: 0; padding-block: 1rem 2rem; }
.sheet-close { position: sticky; inset-block-start: 0; z-index: 1; display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; margin-inline-start: auto; border: 1px solid var(--edge); border-radius: .2rem; background: #060608; color: var(--ink); transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease; }
.sheet-close span { position: relative; inline-size: 1rem; block-size: 1rem; }
.sheet-close span::before, .sheet-close span::after { content: ''; position: absolute; inset: calc(50% - 1px) 0 auto; block-size: 2px; background: currentColor; rotate: 45deg; }
.sheet-close span::after { rotate: -45deg; }
.sheet-close:hover { border-color: var(--ink); background: var(--ink); color: var(--button-ink); }

/* Laid over the space */
.hud { position: fixed; z-index: 5; inset: var(--header-height) 0 0; pointer-events: none; }
.hud a { pointer-events: auto; }
/* The way forward, always on screen: a button with the mouse (or the finger) that scrolls. After the
   last screen it brings the first one back. */
.scroll-hint { position: absolute; inset: auto 0 clamp(.8rem, 2.8vh, 1.7rem); display: flex; align-items: center; justify-content: center; gap: .85rem; inline-size: fit-content; margin-inline: auto; border: 1px solid var(--edge); border-radius: .2rem; padding: .5rem 1.1rem .5rem .85rem; background: #000000bd; color: var(--ink); text-decoration: none; transition: opacity 350ms ease, border-color 250ms ease, background-color 250ms ease, color 250ms ease; }
.scroll-hint[data-off] { opacity: 0; pointer-events: none; }
.scroll-hint .mouse { inline-size: 1.15rem; block-size: 1.8rem; }
.scroll-hint .mouse-wheel { inset-block-start: .3rem; block-size: .4rem; }
.scroll-hint .finger { inline-size: 1.1rem; block-size: 1.5rem; }
.scroll-hint-text { display: grid; gap: .12rem; text-align: start; }
[data-scroll-label] { font: 700 1.12rem/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.scroll-hint[data-nudge] { border-color: var(--accent); animation: beat 1.5s ease-in-out; }
.scroll-hint[data-nudge] .explore-arrow { animation: nudge .75s var(--ease) 2; }
@keyframes beat { 30% { box-shadow: 0 0 0 .45rem color-mix(in srgb, var(--accent) 22%, transparent); scale: 1.045; } 70% { scale: 1; } }
.scroll-hint:hover { border-color: var(--ink); background: var(--ink); color: var(--button-ink); }
.scroll-hint:hover .hud-kicker { color: inherit; }
.scroll-hint[data-loop] .explore-arrow { rotate: -135deg; translate: 0 .1rem; animation-name: nudge-up; }
@keyframes nudge-up { 50% { translate: 0 -.12rem; } }
html[data-intro-done] :is(.lockup-mark path, .lockup-rest, .lockup-rest > span) { animation: none; }
html[data-intro-done] .scroll-hint { animation: none !important; }
/* On the opening screen the button waits for the name to be complete. */
html[data-scene="garde"] .scroll-hint { animation: hint-in .7s 2.9s backwards; }
@keyframes hint-in { from { opacity: 0; translate: 0 .6rem; } }
.hud-kicker { color: var(--muted); font: 700 .78rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; }
/* A caption for each sculpture: its number and name on a rule that ends in a tick. */

/* The same hand everywhere: menu, demo panels and form follow the poster type. */
.site-header { position: sticky; inset-block-start: 0; }
.menu-panel { border-radius: .3rem; }
.menu-panel nav a { font: 700 1.3rem/1.1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.menu-panel nav a::before { font: 700 .86rem var(--display); letter-spacing: .08em; }
.object-options output { font: 700 .9rem var(--display); }
.zone-label, .scenario-bar, .scenario-steps button, .mock-field span, .case-ref, .case-state, .week span, .case-log dt, .sheet-fields dt, .sheet-approve span, .systems-list dt {
  font: 700 .8rem/1.3 var(--display);
  letter-spacing: .09em;
}
.mock-url, .mail-from, .week i { font: 500 .72rem/1.4 var(--sans); letter-spacing: .01em; }
.scenario, .mock-site { border-radius: .4rem; }
.case-state, .mock-send { border-radius: .2rem; }
.example-status { font: 500 .88rem/1.45 var(--sans); letter-spacing: 0; }
.example-status:not(:empty)::before { content: '→ '; }
.not-found .poster { margin-block: .6rem 1rem; }

@media (max-width: 56rem) {
  .capability-list, .method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 43rem) {
  .brand { gap: .45rem; }
  .brand-mark { inline-size: 1.45rem; block-size: 1.45rem; }
  .brand-name { font-size: clamp(.74rem, 3.4vw, .92rem); letter-spacing: .14em; }
  .site-header .button { min-block-size: 2.65rem; padding-inline: .7rem; font-size: .83rem; }
  .site-menu > summary { gap: .35rem; font-size: .85rem; }
  .menu-panel { position: fixed; inset: calc(var(--header-height) + .45rem) var(--gutter) auto auto; }
  .service-description { font-size: 1rem; }
  .service-actions { margin-block-start: .68rem; }
  .example-section { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .example-section { gap: .7rem; }
  .example-description { display: contents; }
  .example-description > p:not(.eyebrow, .example-status) { display: none; }
  .example-description h2 { margin-block: -.25rem 0; font-size: clamp(1.9rem, 8.4vw, 3.2rem); }
  .scenario-frame { order: 1; }
  .scenario { --glint: 100% 100%; }
  .example-status { order: 2; min-block-size: 3em; margin-block-start: 0; max-inline-size: 74%; }
  .example-description button { order: 3; margin-block-start: 0; }
  .scenario-body { padding: .75rem; gap: .7rem; }
  .scenario-steps { padding-inline: .75rem; }
  .capability-list, .method-steps { grid-template-columns: minmax(0, 1fr); gap: .12rem; margin-block: .65rem .48rem; }
  :is(.capability-list, .method-steps) li { padding-block: .6rem .45rem; }
  :is(.capability-list, .method-steps) li::before { float: inline-start; margin: .28rem .7rem 0 0; }
}

@media (max-width: 23rem) {
  .brand-name { display: none; }
}

@media (max-width: 64rem) {
  .domain-text { inline-size: min(54%, 43rem); }
  .prestations li { grid-template-columns: 2.1rem minmax(0, 1fr); }
  .prestations p { display: none; }
}

@media (max-width: 56rem) {
}

@media (max-width: 43rem) {
  .brand-name { font-size: 1.12rem; letter-spacing: .06em; }
  .site-header .button { padding-inline: .7rem; font-size: .92rem; }
  .site-header .button-primary::after { display: none; }
  .site-menu > summary { font-size: .98rem; }
  .scene { align-content: start; padding-block: 1.1rem 3.9rem; }
  /* On a phone the sculptures keep the top of the screen and the text reads on a veil below. */
  .scene-domain { --stage: calc(100svh - var(--header-height)); }
  .scene-domain:not([data-view="demo"]) { background: linear-gradient(transparent calc(var(--stage) * .4), #000000d1 calc(var(--stage) * .5)); }
  .scene-garde { align-content: stretch; padding-block-end: 1.2rem; }
  .garde-head { justify-items: center; text-align: center; }
  .lockup { font-size: min(19.4vw, 30svh); }
  .lockup .line-serif { font-size: .27em; }
  .scene-cover { align-content: safe center; padding-block-end: 1.2rem; }
  .cover { grid-template-rows: none; min-block-size: 0; }
  .cover .poster { font-size: clamp(3rem, 15.4vw, 5rem); }
  .cover-foot { gap: 1.5rem; }
  .cover-lead { font-size: .98rem; }
  .cover-foot .button { margin-block: 1.6rem 1.2rem; }

  .service-actions { flex-wrap: nowrap; gap: .5rem; }
  .service-actions .button { flex: 1 1 auto; padding-inline: .6rem; font-size: 1rem; white-space: nowrap; }
  .scroll-hint { inset-block-end: .5rem; gap: .65rem; padding: .3rem .85rem .3rem .65rem; }
  .scroll-hint .hud-kicker { display: none; }
  .scroll-hint .mouse { inline-size: .95rem; block-size: 1.45rem; }
  [data-scroll-label] { font-size: .98rem; }
  /* The quote screen is a form: the loop button would sit on top of it. */
  html[data-scene="quote"] .scroll-hint { opacity: 0; pointer-events: none; }
  .domain-text { inline-size: auto; max-inline-size: none; }
  .scene[data-side="right"] .domain-text { justify-self: start; }
  .scene-domain:not([data-view="demo"]) { padding-block-start: calc(var(--stage) * .47); }
  .service-actions { margin-block-start: .8rem; }
  .domain-text .poster, .scene-about .poster, .scene-contact .poster { font-size: clamp(2.6rem, 12.5vw, 4.4rem); }
  .service-description { max-inline-size: none; font-size: .95rem; line-height: 1.42; }
  .prestations { grid-template-columns: minmax(0, 1fr); margin-block-start: .7rem; }
  .prestations li { padding-block: .4rem .34rem; }
  .prestations h3 { font-size: 1.04rem; }
}

/* Phone: like on a wide screen, the sculpture and the text take turns: one domain has its text
   on the left, the next on the right, and its sculpture leans to the other side. */
@media (max-width: 43rem) {
  .scene-domain[data-side="right"] .domain-text { justify-self: stretch; justify-items: end; text-align: end; }
  .scene-domain[data-side="right"] .service-actions { justify-content: flex-end; }
}

/* A phone of medium height: a little tighter than a tall one. */
@media (max-width: 43rem) and (max-height: 52rem) and (min-height: 41.01rem) {
  .scene-domain:not([data-view="demo"]) { padding-block-start: calc(var(--stage) * .4); }
  .domain-text .poster { font-size: clamp(2.4rem, 12vw, 3.9rem); }
  .domain-text .prestations:not(.steps) li { padding-block: .46rem .4rem; }
  .domain-text .prestations h3 { font-size: 1.04rem; }
  .domain-text .service-actions { margin-block-start: .8rem; }
}
/* Phone: the sculpture leads; the screen keeps a title, four well-spaced services and the demo.
   The sentences stay in the page, out of sight. */
@media (max-width: 43rem) {
  .domain-text .service-description { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .prestations:not(.steps) li { padding-block: .72rem .66rem; }
  .prestations h3 { font-size: 1.12rem; }
  .domain-text .poster { margin-block-end: .6rem; }
  .service-actions { margin-block-start: 1.1rem; }
}
@media (max-width: 43rem) and (min-height: 50rem) {
  .prestations:not(.steps) li { padding-block: .85rem .8rem; }
  .service-description { line-height: 1.5; }
  .cover-where { display: block; }
}
@media (max-width: 43rem) and (max-height: 49.9rem) { .cover-where, .about-where { display: none; } }

/* A phone held with its browser bars showing: the titles of the prestations say enough. */
/* On a phone the about and quote screens have no sculpture above them: they are centred. */
@media (max-width: 43rem) {
  .scene-about, .scene-contact { align-content: safe center; padding-block: 1.1rem 3.9rem; }
  .about-steps { gap: .4rem .55rem; font-size: .98rem; letter-spacing: .05em; }
  .about-steps li { gap: .55rem; }
  .about-steps li + li::before { inline-size: .8rem; }
  .quote { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .quote-head { gap: .7rem; }
  .quote-mail { font-size: 1.3rem; }
  .quote-form { gap: .85rem 1rem; }
  .quote-needs legend { margin-block-end: .5rem; }
  .chip { min-block-size: 2.5rem; padding-inline: .65rem; font-size: .95rem; }
  .quote-actions .bare-button { min-block-size: 2.75rem; font-size: .92rem; white-space: nowrap; }
  /* A demo fills the phone screen and scrolls by itself: the next stop is announced again once it is closed. */
  .voyage:has(.scene[data-view="demo"]:not([inert])) .scroll-hint { opacity: 0; pointer-events: none; }
  .scene[data-view="demo"] { padding-block-end: 1.4rem; }
}

@media (max-width: 43rem) and (max-height: 41rem) {
  .scene { padding-block-end: 3.5rem; }
  .scene-domain:not([data-view="demo"]) { padding-block-start: calc(var(--stage) * .335); }
  .prestations:not(.steps) li { padding-block: .3rem .26rem; }
  .prestations h3 { font-size: 1rem; }
  .domain-text .poster { font-size: clamp(2.3rem, 11.4vw, 3.6rem); }
  .domain-text .service-description { display: none; }
  .domain-text .poster { margin-block-end: .2rem; }
  .prestations li { padding-block: .36rem .3rem; }
  .service-actions { margin-block-start: .6rem; }
  .cover .poster { font-size: clamp(2.6rem, 13.4vw, 4.4rem); }
  .cover-foot { gap: 1.1rem; }
  .scene-contact { padding-block: .9rem 1rem; }
  .scene-contact .poster { font-size: clamp(2.1rem, 10vw, 3.2rem); }
  .quote { gap: .8rem; }
  .quote-mail { display: none; }
  .quote-form { gap: .7rem 1rem; }
  .field textarea { min-block-size: 2.9rem; }
  .quote-actions { flex-wrap: nowrap; gap: .9rem; }
  .quote-actions .button { padding-inline: .7rem; white-space: nowrap; }
}

@media (max-height: 50rem) and (min-width: 43.01rem) {
  .poster { font-size: clamp(3rem, 8vw, 8.4rem); }
  .domain-text .poster, .scene-about .poster, .scene-contact .poster { font-size: clamp(2.6rem, 5.4vw, 5.6rem); }
  .prestations li { padding-block: .44rem .4rem; }
  .prestations p { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
