/* Layout: one narrow column over a live field of symbols; the hero sentence is the only loud thing. */
:root {
  --bg: #f2f3ef; --fg: #16181d; --muted: #5d636d; --line: #d8dbd3; --field: #fbfbf8; --card: rgba(251, 251, 248, .78);
  --accent: #c8326a; --on-accent: #ffffff;
  --key: #1d2026; --key-ink: #ffffff; --pink: #ff5f8f; --teal: #2fd0c4; --accent-2: #128a80;
  --p1: #d9674a; --p2: #2a9284; --p3: #c2922a; --p4: #7558cf; --p5: #3f74d4;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f12; --fg: #ecebe6; --muted: #8e939c; --line: #25272d; --field: #15171b; --card: rgba(21, 23, 27, .78);
    --accent: #ff5f8f; --on-accent: #0e0f12; --key: #252830; --accent-2: #2fd0c4;
    --p1: #f08a6c; --p2: #4fc0ae; --p3: #e3b54d; --p4: #a08cf2; --p5: #6f9cf0;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font: 17px/1.6 var(--sans);
  padding-block: 0 32px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.top, main, footer { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
a { color: var(--fg); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header and logo: four round keys, L △ / ▽ T, reading LAAT across and down. */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.home { display: flex; text-decoration: none; border-radius: 50%; }
.logo { width: 56px; height: 56px; fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.logo .key { fill: var(--key); stroke: none; }
.logo .ink { stroke: var(--key-ink); }
.logo .pink { stroke: var(--pink); }
.logo .teal { stroke: var(--teal); }
.top nav { display: flex; gap: 20px; font: 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--fg); }
@media (max-width: 560px) { .top nav { display: none; } }

/* Hero: the first word changes, "d'Art et Technologie" stays. */
.hero { padding-block: clamp(64px, 14vw, 140px) clamp(56px, 10vw, 96px); }
.hero h1 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.term { display: block; font-size: clamp(3rem, 12vw, 7.2rem); min-height: 1.02em; white-space: nowrap; }
.term .ch { display: inline-block; white-space: pre; will-change: transform, opacity, filter; }
.fixed { display: block; margin-top: .25em; font-size: clamp(1.6rem, 5.4vw, 3.2rem); font-weight: 400; letter-spacing: -0.02em; }
.art { font-family: var(--serif); font-style: italic; }
.tech { font-family: var(--mono); font-size: .86em; letter-spacing: -0.04em; }
.initials { color: var(--accent); }
.tech .initials { color: var(--accent-2); }
.sub { margin-top: 28px; max-width: 34em; color: var(--muted); font-size: clamp(1.05rem, 2.6vw, 1.2rem); }

.label { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* Manifesto */
.about { padding-block: 40px; border-top: 1px solid var(--line); }
.lead { margin-top: 20px; max-width: 36em; font-size: clamp(1.2rem, 3.2vw, 1.5rem); line-height: 1.5; text-wrap: pretty; }
.pillars { list-style: none; display: grid; gap: 28px; margin-top: 44px; }
.pillars h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.pillars .glyph { color: var(--accent); font-family: var(--mono); }
.pillars p { color: var(--muted); font-size: 15px; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* Brands slider: native scroll-snap, with buttons and dots as helpers. */
.brands { padding-block: 40px; border-top: 1px solid var(--line); }
.brands-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.controls { display: flex; gap: 8px; }
.nav-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  color: var(--fg); font: 16px/1 var(--mono); cursor: pointer;
}
.nav-btn:hover { border-color: var(--fg); }
.nav-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.track {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 78%);
  gap: 16px; margin-top: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 4px;
}
.track::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .track { grid-auto-columns: calc((100% - 16px) / 2); } }
.card {
  scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; gap: 12px;
  padding: 28px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card .kind { font: 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card h3 { font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; font-weight: 400; }
.card > p:not(.kind) { color: var(--muted); font-size: 15px; flex: 1; }
.card a, .card .soon { font: 14px/1 var(--mono); }
.card .soon { color: var(--muted); }
/* The real ScenoGraff logo, painted through a mask so it follows the theme's text colour. */
.logo-sceno {
  display: block; width: 150px; max-width: 100%; aspect-ratio: 184.25 / 60; background: var(--fg);
  -webkit-mask: url("/img/scenograff.svg") left center / contain no-repeat; mask: url("/img/scenograff.svg") left center / contain no-repeat;
}
.name-nuage { font-weight: 200; }
.name-nuage b { font-weight: 700; color: var(--p5); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s; }
.dots span.on { background: var(--accent); }

/* Contact form, same fields as the other sites. */
.contact { padding-block: 40px 8px; border-top: 1px solid var(--line); }
.contact h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.contact form { max-width: 640px; }
.row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } }
label { display: block; margin-top: 16px; font-size: 15px; color: var(--muted); }
.hint { font-size: 13px; }
input, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  font: inherit; color: var(--fg); background: var(--field);
  border: 1px solid var(--line); border-radius: 6px;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; }
button[type="submit"] {
  margin-top: 24px; padding: 12px 28px; font: inherit; font-weight: 500; cursor: pointer;
  color: var(--on-accent); background: var(--accent); border: 0; border-radius: 6px;
}
button:disabled, form[aria-busy] button { opacity: .5; cursor: progress; }
.error { margin-top: 16px; color: var(--accent); }

.thanks { min-height: 60vh; display: grid; align-content: center; gap: 16px; }
.thanks h1 { font-size: 2.4rem; letter-spacing: -0.03em; }
.thanks p { color: var(--muted); }

footer { margin-top: 72px; font-size: 13px; color: var(--muted); font-family: var(--mono); }
footer a { color: var(--muted); }
.page { padding-block: 48px; max-width: 720px; }
.page h1 { font-size: 2rem; letter-spacing: -0.02em; margin: 16px 0 24px; }
.page h2 { font-size: 1.1rem; margin: 28px 0 8px; }
.page p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
