/* Shared styles for the premium pages around /one: the about page and the short case pages. */
:root {
  --bg: #090b16;
  --bg2: #10142a;
  --ink: #f2ede4;
  --dim: rgba(242, 237, 228, .56);
  --faint: rgba(242, 237, 228, .14);
  --accent: #e29cf5;
  --disp: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --g: clamp(16px, 4vw, 64px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--g); }

/* top bar */
.top { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--g); }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span { font-weight: 400; opacity: .5; margin-left: 2px; }
.top nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); font-size: 14px; }
.top nav a:not(.cta) { color: var(--dim); transition: color .25s; }
.top nav a:not(.cta):hover, .top nav a[aria-current] { color: var(--ink); }
.top a.cta { white-space: nowrap; font-weight: 600; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); transition: background .25s; }
.top a.cta:hover { background: var(--accent); }

/* hero */
.hero { padding: clamp(130px, 22vh, 220px) var(--g) clamp(40px, 6vh, 72px); }
.hero .label { display: block; margin-bottom: clamp(18px, 2.4vw, 30px); }
h1 { font-family: var(--disp); font-weight: 800; font-stretch: 85%; font-size: clamp(46px, 8vw, 132px); line-height: .92; letter-spacing: -.028em; max-width: 15ch; }
h1 em, h2.big em { font-style: normal; color: var(--accent); }
.lede { margin-top: clamp(22px, 3vw, 36px); max-width: 36ch; font-size: clamp(17px, 1.4vw, 21px); color: var(--dim); }

/* film at the top of a case */
.film { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 88vh; background: #000 center / cover; overflow: hidden; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.playfull { position: absolute; left: var(--g); bottom: clamp(16px, 3vw, 36px); display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer;
  font: 600 15px var(--sans); color: var(--bg); background: var(--ink); padding: 14px 22px 14px 16px; border-radius: 999px; transition: background .25s, transform .25s; }
.playfull span { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); position: relative; }
.playfull span::after { content: ''; position: absolute; left: 11px; top: 8px; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.playfull:hover { background: var(--accent); transform: scale(1.03); }
.playfull[hidden] { display: none; }

/* facts and story */
section.wrap { padding-top: clamp(80px, 10vw, 150px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px clamp(20px, 3vw, 48px); }
.facts div { border-top: 1px solid var(--faint); padding-top: 18px; }
.facts dd { margin-top: 8px; font-size: 17px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 110px); margin-top: clamp(56px, 7vw, 100px); }
.story h2 { font-family: var(--disp); font-weight: 700; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -.03em; max-width: 16ch; }
.story .txt p { font-size: clamp(16px, 1.25vw, 19px); max-width: 38em; }
.story .txt p + p { margin-top: 1.1em; color: var(--dim); }

/* pictures */
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); margin-top: clamp(56px, 7vw, 100px); }
.pics figure.w { grid-column: 1 / -1; }
.pics img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--bg2); }
.pics figure:not(.w) img { aspect-ratio: 4 / 5; }
.pics figcaption { margin-top: 12px; }

/* quote */
.quote { margin-top: clamp(80px, 10vw, 150px); }
.quote blockquote { font-family: var(--disp); font-weight: 600; font-size: clamp(28px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -.03em; max-width: 26ch; }
.quote blockquote::before { content: '“'; color: var(--accent); }
.quote blockquote::after { content: '”'; color: var(--accent); }
.quote figcaption { margin-top: 22px; }

/* other cases */
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(28px, 4vw, 48px); }
.more a img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.more a div { overflow: hidden; border-radius: 6px; }
.more a:hover img { transform: scale(1.03); }
.more h3 { margin-top: 14px; font-family: var(--disp); font-weight: 700; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
.more h3 span { font-family: var(--sans); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--dim); margin-left: 8px; }

/* about */
.bio { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 110px); align-items: start; }
.bio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.bio .txt p { font-size: clamp(17px, 1.4vw, 21px); max-width: 32em; }
.bio .txt p + p { margin-top: 1.1em; color: var(--dim); }
.bio .txt p strong { color: var(--ink); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(36px, 5vw, 64px); }
.steps li { list-style: none; border-top: 1px solid var(--faint); padding-top: 22px; }
.steps b { display: block; font-family: var(--disp); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; margin: 14px 0 10px; }
.steps p { color: var(--dim); max-width: 30ch; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(36px, 5vw, 64px); }
.num { border-top: 1px solid var(--faint); padding-top: 22px; }
.num b { display: block; font-family: var(--disp); font-weight: 800; font-stretch: 85%; font-size: clamp(64px, 7.6vw, 128px); line-height: .87; letter-spacing: -.032em; }
.num p { margin-top: 16px; font-size: 17px; max-width: 26ch; color: var(--dim); }
.stage { margin-top: clamp(56px, 7vw, 100px); }
.stage img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 12%; border-radius: 6px; }
.stage figcaption { margin-top: 12px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 3vw, 44px) clamp(36px, 6vw, 96px); margin-top: clamp(28px, 4vw, 48px); }
.logos img { height: clamp(24px, 2.6vw, 36px); width: auto; filter: brightness(0) invert(1); opacity: .7; }
.logos img[alt='Guylian'] { height: clamp(32px, 3.4vw, 48px); }
.logos img[alt='Alan'] { height: clamp(24px, 2.5vw, 34px); }

/* case pages: the approved structure in the dark style */
h1.name { font-size: clamp(72px, 15vw, 250px); line-height: .84; letter-spacing: -.04em; }
.line { font-family: var(--disp); font-weight: 700; font-size: clamp(28px, 3.6vw, 56px); line-height: 1; letter-spacing: -.03em; margin-top: clamp(14px, 2vw, 24px); max-width: 20ch; }
.line em { font-style: normal; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(24px, 3vw, 40px); }
.chips span::before { content: '+ '; color: var(--accent); }
.pre, .launchfilm { padding-top: clamp(56px, 7vw, 100px); }
.chapnav { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: clamp(80px, 10vw, 140px); }
.chapnav a { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); transition: color .25s; }
.chapnav a b { color: var(--accent); font-weight: 400; margin-right: 8px; }
.chapnav a:hover { color: var(--ink); }
section.chapter { padding-top: clamp(64px, 8vw, 120px); scroll-margin-top: 20px; }
.chapter-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 110px); border-top: 1px solid var(--faint); padding-top: clamp(24px, 3vw, 40px); margin-bottom: clamp(32px, 4vw, 56px); }
.chapter-head .num { border-top: 0; padding-top: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.chapter-head .num b { display: block; font-family: var(--disp); font-weight: 800; font-stretch: 85%; font-size: clamp(40px, 4vw, 64px); line-height: 1; letter-spacing: -.03em; color: var(--accent); margin: 0 0 12px; }
.story h2 em { font-style: normal; color: var(--accent); }
.chapter-head h2 { font-family: var(--disp); font-weight: 800; font-stretch: 85%; font-size: clamp(36px, 5vw, 80px); line-height: .95; letter-spacing: -.03em; margin-top: 14px; max-width: 14ch; }
.chapter-head .text p { font-size: clamp(16px, 1.25vw, 19px); max-width: 38em; }
.chapter-head .text p + p { margin-top: 1.1em; color: var(--dim); }
.media { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.media > * { grid-column: span 3; min-width: 0; }
.media > .full, .media > .carousel, .media > .eq, .media > .sub { grid-column: 1 / -1; }
.media > .third { grid-column: span 2; }
.media figure { position: relative; }
.media img, .media video { width: 100%; aspect-ratio: var(--ar, 16/10); object-fit: cover; border-radius: 6px; background: var(--bg2); }
.media .contain img { object-fit: contain; background: #f4f2ef; }
.media figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.media .sub { max-width: 62ch; margin-top: clamp(24px, 3vw, 48px); }
.media .sub h3 { font-family: var(--disp); font-weight: 700; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.03em; margin-bottom: 12px; }
.media .sub p { color: var(--dim); font-size: clamp(16px, 1.25vw, 19px); }
.compare.mid { max-width: 920px; width: 100%; justify-self: center; }
.cmp-stage { position: relative; aspect-ratio: var(--ar); border-radius: 6px; overflow: hidden; background: #fff; }
.cmp-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.cmp-after { clip-path: inset(0 0 0 var(--x, 50%)); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--bg); transform: translateX(-1px); pointer-events: none; }
.cmp-handle::after { content: '↔'; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center; font-weight: 700; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp-tag { position: absolute; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(9, 11, 22, .72); color: var(--ink); font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.cmp-tag.l { left: 16px; } .cmp-tag.r { right: 16px; background: var(--accent); color: var(--bg); }
.carousel { overflow: hidden; }
.car-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.car-head strong { font-family: var(--disp); font-weight: 700; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--faint); background: none; color: var(--ink); font-size: 18px; margin-left: 8px; cursor: pointer; transition: background .25s, color .25s; }
.car-btn:hover { background: var(--ink); color: var(--bg); }
.car-track { display: flex; gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track figure { flex: 0 0 min(28%, 340px); scroll-snap-align: start; }
.car-track img { aspect-ratio: 3 / 4; object-fit: contain; background: radial-gradient(80% 70% at 50% 40%, #1d2244, var(--bg2)); padding: 14px; }
.nodes { display: grid; grid-template-columns: minmax(0, .8fr) minmax(40px, .22fr) minmax(0, 1.45fr); align-items: center; padding: clamp(16px, 2.4vw, 32px); border-radius: 8px; border: 1px solid var(--faint); background: var(--bg2) radial-gradient(rgba(242,237,228,.09) 1px, transparent 1.2px) 0 0 / 18px 18px; }
.node-in { display: grid; gap: 16px; align-self: stretch; align-content: center; }
.node { position: relative; background: var(--bg); border: 1px solid var(--faint); border-radius: 10px; padding: 10px; }
.node-h { display: flex; align-items: center; gap: 7px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 2px 4px 9px; }
.node-h i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.node p { margin: 0 4px 4px; font-weight: 500; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.35; }
.node img { aspect-ratio: 16 / 10; border-radius: 6px; }
.node-in .node img { aspect-ratio: 4 / 3; }
.node-in .node img[src$=".png"], .node-in .node img[src$=".webp"] { object-fit: contain; }
.node .port { position: absolute; right: -6px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.node .port.in { right: auto; left: -6px; }
.wires { width: 100%; height: 100%; align-self: stretch; overflow: visible; }
.wires path { fill: none; stroke: rgba(226, 156, 245, .5); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.nextcase { display: grid; grid-template-columns: 1fr minmax(0, 46%); align-items: center; gap: clamp(20px, 4vw, 60px); border-top: 1px solid var(--faint); padding-top: clamp(28px, 4vw, 48px); }
.nextcase strong { display: block; grid-column: 1; font-family: var(--disp); font-weight: 800; font-stretch: 85%; font-size: clamp(56px, 9vw, 150px); line-height: .9; letter-spacing: -.035em; margin-top: 10px; transition: color .25s; }
.nextcase strong em { font-style: normal; color: var(--accent); }
.nextcase .label { grid-column: 1; align-self: end; }
.nextcase img { grid-column: 2; grid-row: 1 / span 2; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.nextcase:hover strong { color: var(--accent); }

/* appearances */
.appear { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 110px); margin-top: clamp(40px, 5vw, 72px); }
.appear h3 { font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; margin-bottom: 18px; }
.rows { list-style: none; }
.rows li { border-top: 1px solid var(--faint); padding: 18px 0; display: grid; grid-template-columns: 92px 1fr; column-gap: 20px; }
.rows li > .label, .rows a > .label { grid-row: span 3; padding-top: 5px; font-size: 11px; }
.rows a { display: grid; grid-template-columns: 92px 1fr; column-gap: 20px; grid-column: 1 / -1; }
.rows.pods li { display: block; }
.rows b { font-family: var(--disp); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.rows b i { font-style: normal; color: var(--accent); font-size: .8em; }
.rows .where { color: var(--dim); font-size: 14px; }
.rows p { color: var(--dim); font-size: 15px; margin-top: 4px; max-width: 40ch; }
.rows a:hover b { color: var(--accent); }

.speak { display: grid; grid-template-columns: 1fr auto; gap: 28px clamp(28px, 5vw, 80px); align-items: end; margin-top: clamp(56px, 7vw, 100px); padding: clamp(28px, 4vw, 56px); border-radius: 10px; background: var(--bg2); border: 1px solid var(--faint); }
.speak h3 { font-family: var(--disp); font-weight: 800; font-stretch: 85%; font-size: clamp(34px, 4.4vw, 64px); line-height: .95; letter-spacing: -.03em; margin-top: 14px; max-width: 16ch; }
.speak h3 em { font-style: normal; color: var(--accent); }
.speak p { color: var(--dim); margin-top: 16px; max-width: 46ch; }
.speak .reach { margin-top: 0; }
.ghost { font-weight: 600; font-size: 16px; color: var(--dim); border-bottom: 1px solid var(--faint); padding-bottom: 2px; transition: color .25s; }
.ghost:hover { color: var(--ink); }

/* contact */
#contact { padding-bottom: clamp(60px, 8vw, 110px); }
h2.big { font-family: var(--disp); font-weight: 800; font-stretch: 85%; font-size: clamp(54px, 9vw, 160px); line-height: .9; letter-spacing: -.032em; margin-top: clamp(24px, 3vw, 40px); }
.reach { display: flex; flex-wrap: wrap; align-items: center; gap: 18px clamp(24px, 4vw, 48px); margin-top: clamp(30px, 4vw, 52px); }
.mail { font-family: var(--disp); font-weight: 600; font-size: clamp(24px, 3vw, 44px); letter-spacing: -.03em; border-bottom: 1px solid var(--accent); padding-bottom: 4px; transition: color .25s; }
.mail:hover { color: var(--accent); }
.book { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: var(--bg); transition: background .25s, transform .25s; }
.book:hover { background: var(--accent); transform: scale(1.03); }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 28px var(--g); border-top: 1px solid var(--faint); }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
footer a:hover { color: var(--ink); }

.rv { opacity: 0; transform: translateY(18px); transition: opacity 1s, transform 1s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .chapter-head, .nextcase { grid-template-columns: 1fr; }
  .nextcase img { grid-column: 1; grid-row: auto; }
  .media > *, .media > .third { grid-column: 1 / -1; }
  .car-track figure { flex-basis: 64%; }
  .nodes { grid-template-columns: 1fr; gap: 14px; }
  .wires, .node .port { display: none; }
  .story, .bio, .steps, .nums, .more, .appear, .speak { grid-template-columns: 1fr; }
  .rows li, .rows a { grid-template-columns: 72px 1fr; column-gap: 14px; }
  .pics { grid-template-columns: 1fr; }
  .stage img { aspect-ratio: 4 / 3; }
  .hero { padding-top: 120px; }
  .brand span, .top nav a.hide-s { display: none; }
  .top a.cta { font-size: 13px; padding: 9px 14px; }
  .top nav { gap: 14px; font-size: 13px; }
  .brand { font-size: 15px; gap: 8px; } .brand img { width: 30px; height: 30px; }
  .playfull { font-size: 12px; padding: 8px 14px 8px 9px; gap: 8px; bottom: 12px; left: 12px; }
  .playfull span { width: 20px; height: 20px; }
  .playfull span::after { left: 8px; top: 5px; border-left-width: 7px; border-top-width: 5px; border-bottom-width: 5px; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* mock LinkedIn posts on case pages */
.media .li { display: flex; flex-direction: column; align-items: center; }
.media .li .li-card { width: 100%; max-width: 560px; background: #fff; border-radius: 12px; overflow: hidden; font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: rgba(0,0,0,.9); text-align: left; letter-spacing: 0; }
.media .li .li-head { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px 6px; }
.media .li .li-head img { width: 48px; height: 48px; aspect-ratio: 1; border-radius: 50%; flex: none; object-fit: cover; }
.media .li .li-head div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.media .li .li-head strong { font-size: 14px; font-weight: 600; }
.media .li .li-head span { font-size: 12px; color: rgba(0,0,0,.6); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media .li .li-logo { flex: none; width: 22px; height: 22px; border-radius: 4px; background: #0a66c2; color: #fff; font: 700 14px/22px Arial, sans-serif; text-align: center; }
.media .li .li-text { padding: 4px 16px 12px; font-size: 14px; line-height: 1.45; }
.media .li .li-text p { margin: 0 0 8px; } .media .li .li-text p:last-child { margin: 0; color: #0a66c2; font-weight: 600; }
.media .li video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #111; border-radius: 0; }
.media .li .li-bar { display: flex; justify-content: space-around; padding: 6px 8px; border-top: 1px solid rgba(0,0,0,.08); font-size: 13px; font-weight: 600; color: rgba(0,0,0,.6); }
.media .li .li-bar span { padding: 8px 6px; }
.media .li figcaption { width: 100%; max-width: 560px; }
