/* DPcore main page. Tokens follow the brand guide (Red #da2132, Black #231f20). */
:root {
  --red: #da2132; --red-deep: #b51a28; --ink: #231f20; --ink-2: #4d4849; --muted: #6b6667;
  --ground: #fff; --paper: #fff; --stage: #0b0b0e; --black: #111011; --line: rgba(35, 31, 32, .16);
  --pad: clamp(20px, 3.4vw, 72px); --head-h: 72px; --r: 20px; --sec: clamp(88px, 12vw, 160px);
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.76, 0, .24, 1);
  --f-display: "Audiowide", "Noto Sans KR", sans-serif;
  --f-ui: "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* type scale, seven steps for every page (source/type-scale-proposal.md); 1440px / 390px in the notes. Only the large
     decorative words (front door, page names in English, big numbers) keep sizes of their own. */
  --fs-h1: clamp(2.125rem, 4.45vw, 4rem);      --lh-h1: 1.1;  /* 64 / 34: page and section titles */
  --fs-h2: clamp(1.625rem, 2.78vw, 2.5rem);    --lh-h2: 1.2;  /* 40 / 26 */
  --fs-h3: clamp(1.3125rem, 1.95vw, 1.75rem);  --lh-h3: 1.3;  /* 28 / 21: card and item titles */
  --fs-lead: clamp(1.125rem, 1.39vw, 1.25rem); --lh-lead: 1.6; /* 20 / 18 */
  --fs-body: 1rem;                             --lh-body: 1.75; /* 16 */
  --fs-small: .8125rem;                        --lh-small: 1.5; /* 13 */
  --fs-label: .6875rem;                        --lh-label: 1.4; /* 11: labels, mostly Audiowide capitals */
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scrollbar-color: var(--red) var(--ground); scroll-padding-top: var(--head-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
/* white areas are faint pixel paper (22px grid); assets/site.js lights the dots near the pointer and sends ripples out */
body { margin: 0; overflow-x: clip; background: radial-gradient(rgba(17, 16, 17, .085) 1.1px, transparent 1.5px) 0 0 / 22px 22px, var(--ground); color: var(--ink); font: 400 var(--fs-body)/var(--lh-body) var(--f-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; word-break: keep-all; overflow-wrap: break-word; }
h1, h2, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; }
.ico { width: 18px; height: 18px; flex: none; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.logo { display: block; }
.logo--h { height: 26px; aspect-ratio: 311.5 / 67; width: auto; }

/* ---- loader ------------------------------------------------------------ */
.loader { display: none; position: fixed; inset: 0; z-index: 200; background: var(--stage); color: #fff; clip-path: inset(0); transition: clip-path .9s var(--ease-io); }
.js .loader { display: block; }
.js.seen .loader { display: none; } /* already played in this visit (index.html) */
.loader.is-done { clip-path: inset(0 0 100% 0); }
/* a puzzle cube solves itself while the page loads; its front face is the DPcore symbol in nine tiles (home/loader-cube.js).
   The plain symbol only stands in when there is no cube (reduced motion, no WebGL) */
.loader__mark { position: absolute; left: 50%; top: 50%; width: 76px; height: 62px; transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s; }
.loader.no-cube .loader__mark { opacity: 1; }
.lcube { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* once solved, the lines between the tiles close up and the red square dissolves: only the white symbol is left (home/loader-cube.js) */
/* the join (home/intro.js): the ground turns clear and the cube's symbol gives way to the front door's logo, which stands
   at the same place and size and then settles (assets/front.css); the readouts step aside */
.loader.is-join { background-color: transparent; transition: background-color .55s; pointer-events: none; }
.loader.is-join .lcube { opacity: 0; transition: opacity .4s .1s; }
.loader.is-join .loader__count, .loader.is-join .loader__bar { opacity: 0; transition: opacity .35s; }
.loader__count { position: absolute; left: var(--pad); bottom: 28px; font: 400 clamp(1.75rem, 3.6vw, 3.25rem)/1 var(--f-display); letter-spacing: .04em; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .14); }
.loader__bar i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---- header / menu ----------------------------------------------------- */
.head { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h); padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .45s, color .45s; }
.head.is-line { border-color: var(--line); }
.head__logo .logo { transition: filter .45s; }
.head__right { display: flex; align-items: center; gap: 18px; }
.head__menu { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.bars { display: grid; gap: 6px; } .bars i { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.head__menu[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.head__menu[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.head__menu[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* over a dark section (assets/site.js): dark glass and white type; frosted white over black reads muddy grey */
.head.is-dark { background: rgba(17, 16, 17, .74); color: #fff; border-color: rgba(255, 255, 255, .12); }
/* over the hero (index.html, home.js): no bar, white type straight on the picture */
.head.is-over { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; border-color: transparent; }
.head.is-over .head__logo .logo { filter: brightness(0) invert(1); }

.pill { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; font-size: var(--fs-small); font-weight: 700; letter-spacing: .01em; transition: background-color .25s, color .25s, translate .45s var(--ease); }
.pill--ink { background: var(--ink); color: #fff; }
.pill--ink:hover { background: var(--red); }
.pill--soft { background: #f0f0f0; color: var(--ink); }
.pill--soft:hover { background: #e4e4e4; }
.pill--white { background: #fff; color: var(--ink); }
.pill--white:hover { background: var(--red); color: #fff; }
.pill .dot { width: 5px; height: 5px; }
.dots { display: inline-flex; gap: 3px; } .dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--black); color: #fff; padding: 20px var(--pad) 32px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0); }
.menu__close { align-self: flex-end; font: 400 var(--fs-label)/1 var(--f-display); letter-spacing: .14em; } /* CLOSE, in the face of the menu names */
.menu__list { margin-block: auto; display: grid; gap: clamp(2px, 1vw, 12px); }
.menu__list a { display: inline-block; font: 400 clamp(1.875rem, 7.4vw, 4.5rem)/1.2 var(--f-display); letter-spacing: .01em; transition: color .25s, transform .5s var(--ease); }
.menu__list a:hover, .menu__list a:focus-visible { color: var(--red); transform: translateX(14px); }
.menu__list a[aria-current="page"] { color: var(--red); }
.menu__db { color: #cfcaca; font-size: var(--fs-body); }

/* side switch (every page but the first): one button to the other side, ending in a red full stop.
   On hover the stop floods the pill and the name turns white over it. */
.sw { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 15px 0 16px; border: 1px solid rgba(35, 31, 32, .25); border-radius: 999px; font: 400 var(--fs-label)/1 var(--f-display); letter-spacing: .14em; white-space: nowrap; transition: color .45s var(--ease), border-color .45s var(--ease); }
.sw__t { position: relative; z-index: 1; }
.sw__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); transition: transform .65s var(--ease); }
.sw:hover, .sw:focus-visible { color: #fff; border-color: var(--red); }
.sw:hover .sw__dot, .sw:focus-visible .sw__dot { transform: scale(48); }
.head.is-dark .sw, .head.is-over .sw { border-color: rgba(255, 255, 255, .4); }
@media (max-width: 420px) { .head__right { gap: 8px; } .sw { height: 34px; gap: 7px; padding: 0 12px; font-size: var(--fs-label); letter-spacing: .1em; } } /* room for the logo on small phones */

/* the menu. Phones: the whole screen. Wider: the menu button grows into a box from where it sits (clip-path from its
   44px square to the whole box) and the X lands where the bars were. Inside: numbered names on the left, the one under
   the pointer lit and the rest dimmed; on the right one picture filling the box edge to edge, with the lit item's line
   as its caption (assets/site.js). */
.menu__pic { display: none; }
@media (min-width: 721px) {
  .menu { inset: 14px calc(var(--pad) - 10px) auto auto; width: min(760px, calc(100vw - 2 * var(--pad) + 20px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); grid-template-rows: 1fr auto; padding: 0; overflow: hidden; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
    clip-path: inset(0 0 calc(100% - 44px) calc(100% - 44px) round 22px); transition: clip-path .75s var(--ease-io); }
  .menu.is-open { clip-path: inset(0 round 22px); }
  .menu__close { position: absolute; z-index: 2; top: 0; right: 0; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; color: #fff; font-size: 0; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .5)); }
  .menu__close:hover, .menu__close:focus-visible { background: none; color: var(--red); }
  .menu__close .ico { width: 20px; height: 20px; }
  .menu:has(.menu__pic .is-cut.is-on) .menu__close { color: var(--ink); filter: none; } /* over a product on white */

  .menu__list { counter-reset: m; grid-column: 1; margin: 0; padding: 64px 32px 36px 36px; gap: 0; }
  .menu__list li { counter-increment: m; opacity: 0; translate: 0 14px; transition: opacity .4s, translate .7s var(--ease); }
  .menu.is-open .menu__list li { opacity: 1; translate: 0 0; transition-delay: calc(.3s + var(--i, 0) * .055s); }
  .menu__list a { display: grid; grid-template-columns: 34px auto; align-items: baseline; justify-content: start; padding: 6px 0; font: 400 clamp(1.5rem, 2vw, 2rem)/1.15 var(--f-display); letter-spacing: .02em; transition: opacity .35s, transform .5s var(--ease), color .25s; }
  .menu__list a::before { content: counter(m, decimal-leading-zero); font: 400 var(--fs-label)/1 var(--f-display); letter-spacing: .1em; color: var(--red); translate: 0 -.9em; }
  .menu__list a:hover, .menu__list a:focus-visible { color: #fff; transform: translateX(10px); }
  .menu__list:hover a:not(:hover), .menu__list:focus-within a:not(:focus-visible) { opacity: .32; } /* the rest step back */
  .menu__list a[aria-current="page"] { color: #fff; }
  .menu__list a[aria-current="page"]::after { content: ""; width: 6px; height: 6px; margin-left: 12px; border-radius: 50%; background: var(--red); align-self: center; grid-column: 3; }
  .menu__list a[aria-current="page"] { grid-template-columns: 34px auto auto; }

  .menu__pic { grid-column: 2; grid-row: 1 / span 2; position: relative; display: block; min-height: 340px; margin: 0; overflow: hidden; background: #1a1819; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease-io) .2s; }
  .menu.is-open .menu__pic { clip-path: inset(0); }
  .menu__pic::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
  .menu__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.08; transition: opacity .6s, scale 1.6s var(--ease); }
  .menu__pic img.is-cut { padding: 16% 12% 24%; object-fit: contain; background: #fff; } /* product cut-outs sit on white */
  .menu__pic img.is-on { opacity: 1; scale: 1; }
  .menu__cap { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; display: flex; gap: 10px; align-items: baseline; color: #fff; font-size: var(--fs-small); line-height: var(--lh-small); }
  .menu__cap b { font: 400 var(--fs-label)/1 var(--f-display); letter-spacing: .1em; color: #ff8a95; }
  .menu__pic:has(.is-cut.is-on) .menu__cap { color: var(--ink); } .menu__pic:has(.is-cut.is-on)::after { opacity: 0; }

  .menu__db { grid-column: 1; display: grid; gap: 6px; padding: 0 32px 28px 36px; color: #a39d9e; font-size: var(--fs-small); opacity: 0; transition: opacity .5s; }
  .menu__db::before { content: "CONTACT"; font: 400 var(--fs-label)/1 var(--f-display); letter-spacing: .18em; color: #6f6a6b; }
  .menu.is-open .menu__db { opacity: 1; transition-delay: .55s; }
}

/* ---- buttons ----------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font-size: var(--fs-body); font-weight: 700; transition: background-color .25s, color .25s, border-color .25s, transform .4s var(--ease), translate .45s var(--ease); }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; } .btn--red:hover { background: var(--red-deep); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; } .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; } .btn--ink:hover { background: var(--red); }
.btn--line { border-color: var(--ink); color: var(--ink); } .btn--line:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); } .btn--white:hover { background: var(--red); color: #fff; }

/* ---- v2 main page: one ground for the whole page; home.js sets html[data-tone] from the section in the middle and
   the ground fades to it, so films and photos sit on black and reading on white */
body.home { background: var(--ground); transition: background-color .9s var(--ease-io); }
html[data-tone="dark"] body.home { background-color: var(--black); }
/* each scene also paints its own ground, so one coming in under a scene of the other tone can be read at once */
.home main section[data-tone="light"] { background: var(--ground); } .home main section[data-tone="dark"] { background: var(--black); }
.home .dark + .dark { border-top: 0; }

/* ---- scene to scene (home.js adds html.is-stack; never with reduced motion) --------------------------------
   One grammar at every boundary. The scene before holds on its last screen (sticky; --stick is how far up its top may
   go, set by home.js), its light goes down (.veil) and it steps back a little. The next scene opens as a circle: a
   scene that holds the screen (.is-hold: 02 to 05) starts on the last screen of the one before and opens in place from
   mid-screen over --t of scroll; a scene to read (06 to 09) rises from below under a round top edge. All of it follows
   the scroll; nothing snaps or plays by itself. */
.veil { display: none; }
.is-stack { --t: 70svh; }
.is-stack body.home { background: #000; transition: none; }
.is-stack main > section { position: sticky; top: var(--stick, 0px); z-index: 0; transform-origin: 50% calc(100% - 50svh); }
.is-stack main > section.is-under { opacity: 0; pointer-events: none; } /* covered by the next scene: not painted, still reachable by keyboard (home.js scrolls to it) */
.is-stack.is-flat main > section { position: relative; top: auto; } /* home.js, for a moment: where a scene lies without the holds */
.is-stack .veil { display: block; position: absolute; inset: 0; z-index: 9; background: #000; opacity: 0; pointer-events: none; }
.is-stack main > section.is-hold { margin-top: -100svh; }
.is-stack .home main .about2 { background: #000; } .is-stack .home main .about2.is-lit { background: var(--ground); } /* what shows under the stage when a phone's address bar folds away */
.is-stack .lens.is-live { height: calc(255svh + var(--t)); } /* the stage + the front door closing (--t) + the zoom (90) + the numbers lighting up (35) + the link (10) + a rest (20); home.js LENS */
.is-stack .cine { height: calc(170svh + var(--t)); } /* the stage + opening (--t) + the film alone (70) */
.is-stack .cine__stage { position: sticky; top: 0; height: 100svh; }
.is-stack .hall3d.is-live { height: 560svh; }
.is-stack .line { height: calc(155svh + var(--t)); } /* the stage + opening (--t) + the sentence lighting up (55) */
.is-stack .line__stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
.is-stack main > .sys:not(.is-pin) + .line { margin-top: -72svh; } /* phones: the row of cards to swipe holds a little before the sentence opens over it */
@media (max-width: 900px) {
  .is-stack { --t: 45svh; }
  .is-stack .lens.is-live { height: calc(247svh + var(--t)); } /* the rest is shorter (12) */
  .is-stack .line { height: calc(148svh + var(--t)); }
  .is-stack .cine { height: calc(150svh + var(--t)); }
  .is-stack .hall3d.is-live { height: 420svh; }
}

/* ---- SCENE 02 · what we do ---------------------------------------------- */
.about2 { padding: 0 var(--pad); }
/* the lens (home.js .is-live): a held black screen; the white symbol is placed so its lens dot sits mid-screen and zooms
   from there (origin = the dot); the heading on white shows only inside a circle the size of the dot */
.lens { position: relative; margin: 0 calc(var(--pad) * -1); }
.lens.is-live { height: 230svh; }
.lens__stage { position: relative; }
.lens.is-live .lens__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; }
.lens__sym { display: none; }
.lens.is-live .lens__sym { --w: min(30vw, 40svh, 360px); display: block; position: absolute; left: 50%; top: 50%; width: var(--w); height: calc(var(--w) * .8065);
  margin: calc(var(--w) * -.4007) 0 0 calc(var(--w) * -.5247); transform-origin: 52.47% 49.68%; overflow: visible; } /* no will-change: on its own layer the browser at times drew only the tiles around the dot */
.lens__in { display: grid; justify-items: center; align-content: center; gap: 0; padding: var(--sec) var(--pad) 0; text-align: center; background: var(--ground); }
.lens.is-live .lens__in { position: absolute; inset: 0; padding: var(--head-h) var(--pad) 0; clip-path: circle(0 at 50% 50%); }
.lens.is-open .lens__sym { visibility: hidden; }
/* the heading keeps out of the small dot, comes up soft and sharpens as the lens opens (home.js sets --lo, --lb) */
.lens.is-live .lens__in > * { opacity: var(--lo, 0); filter: blur(var(--lb, 16px)); }
.lens.is-open .lens__in > * { opacity: 1; filter: none; }
/* the link comes up once the last number is lit (home.js sets --more) */
.lens.is-live .lens__in > .link-arrow { opacity: var(--more, 0); filter: none; translate: 0 calc((1 - var(--more, 0)) * 16px); }
.lens.is-live .lens__in:not(.is-more) > .link-arrow { pointer-events: none; }

/* ---- one sentence: the front door's, the .line scenes between scenes (and SCENE 02's numbers). home.js wraps each word in .w and lights
   them one by one with the scroll (--on 0 to 1; --g peaks as a word comes on). Unlit words are a faint grey. Without
   JS or with reduced motion there are no .w and the sentence stands lit. ---- */
.w { opacity: calc(.14 + .86 * var(--on, 1)); }
.line__stage { display: grid; place-items: center; min-height: 72svh; padding: var(--sec) var(--pad); background: #000; color: #fff; text-align: center; }
.line__t { margin: 0; font-size: clamp(2.125rem, 5.6vw, 6.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.18; word-break: keep-all; }
@media (max-width: 720px) { .line__t { font-size: 8.2vw; } } /* each half of the sentence stays on one line */
.line .w { text-shadow: 0 0 calc(var(--g, 0) * .6em) rgba(255, 255, 255, calc(var(--g, 0) * .6)); } /* the lamp comes on */
.lens__in .about2__lead { text-wrap: balance; }
.about2__lead { margin-top: 26px; font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.03em; line-height: var(--lh-h3); word-break: keep-all; text-wrap: balance; }
/* the numbers under the heading (home.js fills the counts from the data files) */
.about2__num { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 0 clamp(20px, 5vw, 96px); margin-top: clamp(24px, 4.5vh, 52px); padding-top: clamp(18px, 3vh, 30px); border-top: 1px solid var(--line); }
.about2__num li { display: grid; justify-items: center; gap: 10px; }
.about2__num b { font: 400 clamp(2.25rem, 6vw, 6rem)/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; } /* the scene's main thing */
.about2__num small { margin-left: 4px; font: 700 var(--fs-body)/1 var(--f-ui); color: var(--red); }
.about2__num li > span { color: var(--muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.lens__in .link-arrow { margin-top: clamp(20px, 3.5vh, 36px); }
@media (max-height: 620px) { .about2__num b { font-size: clamp(2rem, 4.4vw, 3.5rem); } .about2__lead, .about2__num { margin-top: 16px; } .lens__in .link-arrow { margin-top: 12px; } }

/* ---- shared section heads --------------------------------------------- */
section { position: relative; }
/* black sections: the page alternates white and black, red is only an accent */
.dark { background: var(--black); color: #fff; --line: rgba(255, 255, 255, .18); --muted: #a39d9e; --ink-2: #d2cdce; }
.dark + .dark { border-top: 1px solid rgba(255, 255, 255, .1); } /* two black sections in a row (technology, brands) */
.dark .btn--line { border-color: rgba(255, 255, 255, .7); color: #fff; } .dark .btn--line:hover { background: #fff; color: var(--ink); }
.sec-head { margin: 0 0 clamp(40px, 4vw, 72px); padding: 0 var(--pad); }
.sec-head--split { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
h2 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.035em; line-height: var(--lh-h1); text-wrap: balance; }
.sec-head p { margin-top: 20px;font-size: var(--fs-body); color: var(--ink-2); }
.sec-head .sec-head__lead { margin-top: 24px; font-size: var(--fs-lead); font-weight: 500; color: inherit; }
.sec-head .sec-head__lead + p { margin-top: 8px; }

/* ---- link with an arrow (used on the sub pages) ---- */
.link-arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding-bottom: 8px; border-bottom: 1px solid #1b1a1a; color: #1b1a1a; font-size: var(--fs-body); font-weight: 500; letter-spacing: .02em; transition: color .3s, border-color .3s, gap .5s var(--ease); }
.link-arrow:hover { color: var(--red); border-color: var(--red); gap: 20px; }

/* ---- SCENE 03 · show film (index.html #cine): rendered in Blender, plays by itself while on screen (home.js) ---- */
.cine { position: relative; height: 100svh; }
.cine__stage { position: relative; height: 100%; overflow: hidden; background: #050506; color: #fff; }
.cine__still, .cine__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.js .cine:not(.is-static) .cine__still { display: none; }
/* a low shade under the step names, so they read over bright frames */
.cine__stage::after { content: ''; position: absolute; inset: auto 0 0; z-index: 0; height: 160px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .6)); pointer-events: none; }
.cine__eyebrow { position: absolute; z-index: 2; left: var(--pad); top: calc(var(--head-h) + 22px); color: rgba(255, 255, 255, .7); }
.cine__cap { position: absolute; z-index: 2; left: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-body); color: rgba(255, 255, 255, .88); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.cine__cap .dot { background: var(--red); }
.js .cine:not(.is-static) .cine__cap { opacity: 0; }
.cine__steps { position: absolute; z-index: 2; left: var(--pad); bottom: 28px; display: flex; gap: clamp(16px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; opacity: 0;
  font: 400 var(--fs-small)/1 var(--f-display); letter-spacing: .1em; color: rgba(255, 255, 255, .38); text-shadow: 0 0 10px rgba(0, 0, 0, .9), 0 1px 3px rgba(0, 0, 0, .8); }
.cine__steps li { display: flex; align-items: center; gap: 8px; transition: color .4s; }
.cine__steps b { font-weight: 400; color: rgba(255, 255, 255, .38); transition: color .4s; }
.cine__steps li.is-on { color: #fff; } .cine__steps li.is-on b { color: #ff8a95; }
@media (max-width: 720px) { .cine__steps li:not(.is-on) { display: none; } } /* six steps do not fit: show the current one */
@media (max-width: 520px) { .cine__steps { gap: 12px; font-size: var(--fs-label); } }
.cine__hint { position: absolute; z-index: 2; right: var(--pad); bottom: 28px; margin: 0; font: 400 var(--fs-label)/1 var(--f-display); letter-spacing: .2em; color: rgba(255, 255, 255, .6); }

/* ---- SCENE 02 · the four steps on the hall as a white 3D model (home/hall3d.js). Plain page: the steps beside a still.
   .is-live (home.js): the stage holds the screen, the model fills it and the steps sit in a corner, one at a time.
   .is-3d: the model is drawn, the still steps aside and the name tags follow the equipment ---- */
.hall3d { position: relative; }
.hall3d__stage { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 4vw, 72px); padding: 0 var(--pad) var(--sec); }
.hall3d__copy ol { display: grid; margin: clamp(16px, 2.4vh, 28px) 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.hall3d__copy li { display: grid; grid-template-columns: clamp(44px, 3.6vw, 64px) minmax(0, 1fr); align-items: baseline; padding: clamp(14px, 2.2vh, 22px) 0; border-top: 1px solid var(--line); }
.hall3d__copy li b { font: 400 var(--fs-body)/1 var(--f-display); letter-spacing: .06em; color: var(--red); }
.hall3d__copy h3 { margin: 0; font-size: var(--fs-h2); letter-spacing: -.03em; line-height: var(--lh-h2); word-break: keep-all; }
.hall3d__copy li p { grid-column: 2; margin: 12px 0 0; font-size: var(--fs-lead); color: var(--ink-2); line-height: var(--lh-lead); word-break: keep-all; }
.hall3d__fig { position: relative; margin: 0; aspect-ratio: 16 / 10; }
.hall3d__still { width: 100%; height: 100%; object-fit: contain; }
.hall3d__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s; }
.hall3d__tags { display: none; margin: 0; padding: 0; list-style: none; }
.hall3d.is-3d .hall3d__gl { opacity: 1; }
.hall3d.is-3d .hall3d__still, .hall3d.is-live .hall3d__still { visibility: hidden; }
.hall3d.is-3d .hall3d__tags { display: block; }
.hall3d.is-3d:not(.is-live) .hall3d__fig { aspect-ratio: 1; max-height: 86svh; justify-self: center; } /* reduced motion: one still view of the opened model, which is tall */
.hall3d__tags li { position: absolute; left: 0; top: 0; translate: -50% -100%; display: grid; justify-items: center; gap: 6px; padding: 7px 10px 24px; background: linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)) top / 100% calc(100% - 18px) no-repeat; font: 400 var(--fs-label)/1 var(--f-display); letter-spacing: .14em; white-space: nowrap; color: var(--ink); opacity: 0; pointer-events: none; will-change: transform, opacity; }
.hall3d__tags li::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 16px; background: var(--red); }
.hall3d__tags b { font-weight: 400; color: var(--red); }
.hall3d__tags i { font: 500 var(--fs-small)/1 var(--f-ui); letter-spacing: 0; color: var(--muted); }
.hall3d.is-live { height: 480svh; }
.hall3d.is-live .hall3d__stage { position: sticky; top: 0; display: block; height: 100svh; padding: 0; overflow: clip; }
.hall3d.is-live .hall3d__fig { position: absolute; inset: 0; aspect-ratio: auto; }
.hall3d.is-live .hall3d__copy { position: absolute; z-index: 1; left: var(--pad); top: calc(var(--head-h) + clamp(28px, 7vh, 80px)); width: min(30vw, 420px); }
.hall3d.is-live .hall3d__copy ol { border: 0; }
.hall3d.is-live .hall3d__copy li { grid-area: 1 / 1; display: block; padding: 0; border: 0; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
.hall3d.is-live .hall3d__copy li b::after { content: " / 04"; color: var(--muted); }
.hall3d.is-live .hall3d__copy h3 { margin-top: 16px; font-size: var(--fs-h2); letter-spacing: -.04em; }
.hall3d.is-live .hall3d__copy li p { margin-top: clamp(12px, 2vh, 22px); }
.hall3d.is-live .hall3d__copy li.is-on { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .hall3d__stage { grid-template-columns: 1fr; gap: 20px; }
  .hall3d.is-live { height: 380svh; }
  .hall3d.is-live .hall3d__copy { right: var(--pad); top: auto; bottom: 28px; width: auto; }
  .hall3d__copy li { grid-template-columns: 36px minmax(0, 1fr); padding: 12px 0; }
  .hall3d__copy h3 { font-size: var(--fs-lead); }
  .hall3d__copy li p, .hall3d.is-live .hall3d__copy li p { margin-top: 8px; font-size: var(--fs-body); line-height: var(--lh-body); }
  .hall3d.is-live .hall3d__copy ol { margin-top: 12px; }
  .hall3d.is-live .hall3d__copy h3 { margin-top: 10px; font-size: var(--fs-h2); }
  .hall3d__tags li { gap: 4px; padding: 5px 7px 17px; background-size: 100% calc(100% - 13px); font-size: var(--fs-label); letter-spacing: .1em; }
  .hall3d__tags li::after { height: 11px; }
  .hall3d__tags i { font-size: var(--fs-label); }
}

/* ---- SCENE 05 · technology ------------------------------------------------ */
/* a scene label in the corner names where the light is in the story (v2 concept: LAMP ON) */
.scene { display: flex; align-items: center; gap: 12px; margin: 0; font: 400 var(--fs-label)/1 var(--f-display); letter-spacing: .2em; color: var(--muted); }
.scene b { font-weight: 400; color: var(--red); } .dark .scene b, .contact .scene b { color: #ff8a95; }
.sec-head .scene, .contact__lead .scene { margin: 0 0 20px; font-size: var(--fs-small); color: var(--muted); } .contact__lead .scene { margin: 0; color: rgba(255, 255, 255, .7); }
.sys { padding-block: var(--sec); }
.sys__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding: 0 var(--pad); }
.sys__n { margin: 0; font: 400 var(--fs-body)/1 var(--f-display); color: var(--muted); } .sys__n b { font-weight: 400; font-size: var(--fs-h3); color: var(--ink); }
.sys__intro { display: grid; justify-items: start; gap: 14px; margin-bottom: 36px; padding: 0 var(--pad); }
.sys__k { margin: 0; font: 400 var(--fs-label)/var(--lh-label) var(--f-display); letter-spacing: .18em; color: var(--muted); }
.sys__intro h2 { font-size: var(--fs-h1); }
.sys__lead { font-size: var(--fs-lead); font-weight: 500; }
.sys__intro .btn { margin-top: 14px; }
#techText { color: var(--ink-2); white-space: pre-line; word-break: keep-all; text-wrap: balance; } /* breaks where data/technology.json puts a line break; a line too long for a phone splits evenly */
/* phones (and reduced motion): a row of cards to swipe */
.sys__cards { display: flex; gap: 12px; margin: 0; padding: 0 var(--pad); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.sys__cards::-webkit-scrollbar { display: none; }
.sys__cards li { flex: none; width: min(80vw, 520px); scroll-snap-align: start; }
.sys__bar { display: none; }
.sys-card { display: grid; align-content: start; gap: 10px; }
.sys-card__img { display: block; aspect-ratio: 16 / 10; margin-bottom: 12px; border-radius: var(--r); overflow: hidden; background: #151314; }
.sys-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.sys-card:hover .sys-card__img img { transform: scale(1.04); }
.sys-card__en { display: flex; gap: 10px; font: 400 var(--fs-small)/1.2 var(--f-display); letter-spacing: .04em; color: var(--red); } .sys-card__en b { font-weight: 400; color: var(--ink); }
.sys-card__t { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.03em; line-height: var(--lh-h3); word-break: keep-all; text-wrap: balance; transition: color .3s; }
.sys-card:hover .sys-card__t { color: var(--red); }
.sys-card__d { max-width: 40em; color: var(--ink-2); font-size: var(--fs-body); line-height: var(--lh-body); word-break: keep-all;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* desktop (home.js adds .is-pin): the section holds the screen (a sticky stage, like 02 and 04); the intro and the cards slide left as one row. The card in
   the beam is lit, the others wait in the dark; a red bar along the bottom fills with the scene */
.sys.is-pin { padding: 0; height: calc(100svh + var(--run, 0px)); } /* --run: how far the row has to travel, from home.js */
.sys.is-pin .sys__pin { position: sticky; top: 0; box-sizing: border-box; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(16px, 2.6vh, 32px); height: 100svh;
  padding: calc(var(--head-h) + clamp(20px, 3vh, 40px)) 0 clamp(24px, 4vh, 44px); overflow: hidden; }
.sys.is-pin .sys__top { margin: 0; }
.sys.is-pin .sys__track { --card-w: min(46vw, (100svh - var(--head-h) - 330px) * 1.6); display: flex; align-items: center; gap: clamp(28px, 3vw, 56px); width: max-content; padding: 0 var(--pad); will-change: transform; }
.sys.is-pin .sys__intro { flex: none; width: min(30vw, 440px); margin: 0; padding: 0; }
.sys.is-pin .sys__cards { gap: clamp(20px, 2vw, 32px); padding: 0; overflow: visible; }
.sys.is-pin .sys__cards li { width: var(--card-w); }
.sys.is-pin .sys-card { transition: opacity .6s; }
.sys.is-pin .sys__cards li:not(.is-lit) .sys-card { opacity: .35; }
.sys.is-pin .sys__cards li:not(.is-lit) .sys-card__img img { filter: grayscale(1); }
.sys.is-pin .sys__bar { display: block; height: 2px; margin: 0 var(--pad); background: var(--line); }
.sys__bar i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---- SCENE 06 · where the light landed --------------------------------------- */
/* four fields as numbered tabs; the open one shows a large photo, two more projects and the way into the list (home.js).
   Without JS the four follow one another. */
.fields { padding: var(--sec) var(--pad); }
.fields__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 64px); }
.fields__head h2 { margin-top: 22px; font-size: var(--fs-h1); line-height: var(--lh-h1); }
.fields__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(12px, 1.6vw, 28px); margin-bottom: clamp(20px, 2.4vw, 36px); }
.fields__tabs button { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; padding: 14px 0 8px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; color: var(--muted); transition: color .3s; }
.fields__tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.fields__tabs [aria-selected="true"]::before { transform: scaleX(1); }
.fields__tabs b { display: none; } /* names on a thin line of progress: no row of big numbers */
.fields__tabs span { font-size: var(--fs-body); font-weight: 700; letter-spacing: -.03em; line-height: 1.3; }
.fields__tabs i { font-style: normal; font-size: var(--fs-small); line-height: 1; }
.fields__tabs button:hover, .fields__tabs [aria-selected="true"] { color: #fff; }
.fields__pan { display: grid; gap: 28px clamp(32px, 4vw, 72px); }
.fields__pan + .fields__pan { margin-top: 64px; }
.js .fields__pan { margin-top: 0; }
.js .fields__pan:not(.is-on) { display: none; }
.js .fields__pan.is-on { animation: fields-in .8s var(--ease); }
@keyframes fields-in { from { opacity: 0; translate: 0 14px; } }
.fields__lead { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: #151314; color: #fff; }
.fields__lead img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.fields__lead:hover img { scale: 1.04; }
.fields__lead::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .72)); pointer-events: none; }
.fields__cap { position: absolute; z-index: 1; left: clamp(16px, 2vw, 32px); right: clamp(16px, 2vw, 32px); bottom: clamp(16px, 2vw, 28px); display: grid; gap: 6px; }
.fields__cap b { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.035em; line-height: var(--lh-h3); }
.fields__cap span { color: rgba(255, 255, 255, .82); font-size: var(--fs-body); }
.fields__txt { display: grid; align-content: start; justify-items: start; gap: 16px; }
.fields__txt h3 { margin: 0; font-size: var(--fs-h3); letter-spacing: -.035em; line-height: var(--lh-h3); }
.fields__txt > p { max-width: 30em; color: var(--ink-2); font-size: var(--fs-body); line-height: var(--lh-body); }
.fields__more { display: grid; gap: 10px; width: 100%; margin-top: 8px; }
.fields__more a { display: grid; grid-template-columns: clamp(96px, 9vw, 132px) minmax(0, 1fr); align-items: center; gap: 16px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, background-color .3s; }
.fields__more a:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .05); }
.fields__more img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.fields__more span { display: grid; gap: 4px; color: var(--muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.fields__more b { color: #fff; font-size: var(--fs-body); }
.dark .link-arrow { border-color: rgba(255, 255, 255, .6); color: #fff; } .dark .link-arrow:hover { border-color: #ff8a95; color: #ff8a95; }
@media (min-width: 900px) { .fields__pan { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
@media (max-width: 720px) {
  .fields__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields__tabs button { padding: 12px 0 10px; }
  .fields__tabs span { font-size: var(--fs-body); }
  .fields__lead { aspect-ratio: 4 / 3; }
}
/* SCENE 06 with the scroll (home.js; never with reduced motion, which keeps the click tabs above). The red line on each
   tab fills with its field's share of the scroll (--fill).
   .is-run (wide screens): the scene holds the screen and the four fields take their turns in one place: the picture, one
   field's name large beside it, and the line of the four under them. The field leaving dims and steps back (--dim), the
   next one's photo opens through the symbol's screen shape and its text comes up: the grammar of the scenes.
   .is-list (phones): the four fields follow one another down the page; each photo opens as it arrives. */
.fields.is-run .fields__tabs button::before, .fields.is-list .fields__tabs button::before { transform: scaleX(var(--fill, 0)); transition: none; }
.fields.is-run .fields__pan, .fields.is-list .fields__pan { display: grid; animation: none; }
.fields.is-run { height: 364svh; padding: 0; } /* the stage + the fields' turns (home.js TURN) */
.fields.is-run .fields__stage { position: sticky; top: 0; box-sizing: border-box; display: grid; grid-template: auto minmax(0, 1fr) auto / minmax(0, 1fr); height: 100svh;
  padding: calc(var(--head-h) + clamp(14px, 3vh, 40px)) var(--pad) clamp(16px, 3vh, 32px); overflow: hidden; }
.fields.is-run .fields__head { align-items: center; margin-bottom: clamp(14px, 2.6vh, 28px); }
.fields.is-run .fields__head h2 { margin-top: 12px; font-size: clamp(1.3125rem, 4.4vh, var(--fs-h3)); }
.fields.is-run .fields__tabs { grid-row: 3; margin: clamp(14px, 2.4vh, 26px) 0 0; }
.fields.is-run .fields__pan { grid-area: 2 / 1; grid-template-rows: minmax(0, 1fr); min-height: 0; visibility: hidden; }
.fields.is-run .fields__pan.is-show { visibility: visible; }
.fields.is-run .fields__lead { aspect-ratio: auto; height: 100%; scale: calc(1 - var(--dim, 0) * .04); }
.fields.is-run .fields__lead::before { content: ""; position: absolute; inset: 0; z-index: 2; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.fields.is-run .fields__txt { align-content: center; gap: clamp(8px, 1.6vh, 16px); }
.fields.is-run .fields__txt h3 { font-size: clamp(1.625rem, 7vh, var(--fs-h2)); letter-spacing: -.045em; line-height: var(--lh-h2); word-break: keep-all; } /* the one name on screen */
.fields.is-run .fields__more { gap: 8px; margin-top: clamp(0px, 1vh, 10px); }
.fields.is-run .fields__more a { grid-template-columns: clamp(72px, 12vh, 120px) minmax(0, 1fr); padding: 6px; }
.fields.is-list .fields__pan + .fields__pan { margin-top: 56px; }
.fields.is-list .fields__lead { aspect-ratio: 16 / 10; }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- brands (main page) -------------------------------------------------- */
/* six cards on one light screen; the brands page (brands.html) shows the same cards with a product photo each */
.bhome { padding: var(--sec) 0; }
.sec-head__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0 var(--pad); list-style: none; }
.bcard { position: relative; display: grid; align-content: start; gap: 12px; height: 100%; padding: clamp(24px, 2.4vw, 36px); border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  transition: border-color .35s, translate .5s var(--ease), box-shadow .5s; }
.bcard:hover { border-color: var(--red); translate: 0 -4px; box-shadow: 0 18px 40px -24px rgba(35, 31, 32, .35); }
.bcard__k { display: flex; gap: 10px; padding-right: 32px; font: 400 var(--fs-label)/var(--lh-label) var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.bcard__k b { font-weight: 400; color: var(--red); }
.bcard__n { margin-top: 20px; font: 400 var(--fs-h2)/var(--lh-h2) var(--f-display); letter-spacing: -.01em; color: var(--ink); transition: color .35s; }
.bcard:hover .bcard__n { color: var(--red); }
.bcard__d { color: var(--ink-2); line-height: 1.65; word-break: keep-all; text-wrap: balance; } /* a line too long for a narrow card splits evenly, no lone word */
.bcard__p { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bcard__p i { padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-small); font-style: normal; color: var(--ink-2); }
.bcard__go { position: absolute; top: clamp(24px, 2.4vw, 36px); right: clamp(24px, 2.4vw, 36px); width: 18px; height: 18px; color: var(--ink-2); transition: color .3s, translate .5s var(--ease); }
.bcard:hover .bcard__go { color: var(--red); translate: 4px 0; }
/* with a product photo (brands page): the photo runs to the card's edges, the rest keeps the card's padding */
.bcard--photo { display: flex; flex-direction: column; padding: 0 0 clamp(24px, 2.4vw, 32px); overflow: hidden; }
.bcard--photo > :not(.bcard__img) { margin-inline: clamp(24px, 2.4vw, 32px); }
.bcard--photo .bcard__k { padding-right: 0; }
.bcard--photo .bcard__n { margin-top: 4px; }
.bcard__img { display: block; aspect-ratio: 4 / 3; margin-bottom: 8px; background: #f4f2f0; overflow: hidden; }
.bcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform .8s var(--ease); }
.bcard--photo:hover .bcard__img img { transform: scale(1.05); }
/* a brand's cut-out sits on the dark studio ground of its own page, under the same brand-coloured light (sub.css --glow) */
.bcard__img--lit { position: relative; isolation: isolate; background: linear-gradient(#070708, #0d0d10 55%, #17181d); }
.bcard__img--lit::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--glow, #eceff8); opacity: calc(.3 * var(--tint-k, 1));
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 46%, #000, rgba(0, 0, 0, .42) 50%, rgba(0, 0, 0, .1) 80%, transparent); mask-image: radial-gradient(ellipse 62% 60% at 50% 46%, #000, rgba(0, 0, 0, .42) 50%, rgba(0, 0, 0, .1) 80%, transparent); }
.bcard__img--lit img { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.bcard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: var(--fs-small); font-weight: 700; color: var(--ink); transition: color .3s; }
.bcard__more .ico { width: 16px; height: 16px; transition: translate .5s var(--ease); }
.bcard--photo:hover .bcard__more { color: var(--red); } .bcard--photo:hover .bcard__more .ico { translate: 4px 0; }
@media (max-width: 1024px) { .bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bcards { grid-template-columns: 1fr; gap: 10px; } }

/* ---- news -------------------------------------------------------------- */
.news { padding: var(--sec) 0; }
.news__grid { padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
/* the five leads share one place; the hovered list item's lead shows (home.js) */
.leads { display: grid; grid-template-columns: minmax(0, 1fr); } /* minmax: the one-line text must not widen the column */
.lead { display: block; grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.lead.is-on { opacity: 1; visibility: visible; }
.lead__none { display: grid; place-content: center; justify-items: center; gap: 10px; width: 100%; height: 100%; padding: 16px; text-align: center;
  background: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.6px) 0 0 / 14px 14px, #151314; }
.lead__none b { font: 400 clamp(1.25rem, 2.6vw, 2.5rem)/1.1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
.lead__none i { font-style: normal; font-size: var(--fs-small); letter-spacing: .04em; color: #a39d9e; }
.list li.is-on .list__t { color: var(--red); }
@media (hover: none) { .list li:first-child { display: none; } .list li.is-on .list__t { color: inherit; } } /* touch: no hover to switch, so the list skips the lead shown above it */
.lead__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--stage); }
.lead__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lead:hover .lead__img img { transform: scale(1.04); }
.lead__t { display: block; margin-top: 20px; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.025em; line-height: var(--lh-h3); text-wrap: balance; }
.lead__d { display: block; margin-top: 10px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* one line; the rest is on the news page */
.lead__m { display: block; margin-top: 10px; color: var(--muted); font-size: var(--fs-body); }
.list li { border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
/* titles line up on the left; the date (when there is one) sits by the tag on the right */
.list a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px; align-items: baseline; padding: 26px 0; }
.list__t { grid-area: 1 / 1; } .list time { grid-area: 1 / 2; } .list__tag { grid-area: 1 / 3; } .list time:empty { display: none; }
.list time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: var(--fs-body); }
.list__t { font-size: var(--fs-lead); font-weight: 500; letter-spacing: -.01em; transition: color .25s, transform .5s var(--ease); }
.list a:hover .list__t { color: var(--red); transform: translateX(8px); }
.list__tag { font-size: var(--fs-small); font-weight: 700; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }

/* ---- contact ----------------------------------------------------------- */
.contact { background: var(--black); color: #fff; padding: var(--sec) var(--pad); display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__lead { display: grid; gap: 28px; }
.contact__lead h2 { font-size: var(--fs-h1); } /* sized so "밝히고 싶으신가요?" stays on one line beside the form */
.contact__lead > p { font-size: var(--fs-body); word-break: keep-all; text-wrap: balance; } /* one line from about 1400px up (the lead column is a little wider than the form); split evenly below */
.contact__info { display: grid; gap: 14px; margin-top: 12px; max-width: 44ch; }
.contact__info div { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); }
.contact__info dt { font-weight: 700; color: #a39d9e; }
.contact__info a { text-decoration: underline; text-underline-offset: 4px; }
.form { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 18px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: var(--fs-small); font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 16px; border: 1px solid #cfcdce; border-radius: 12px; background: #fff; font-weight: 400; font-size: var(--fs-body); transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--ink-2); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(218, 33, 50, .22); }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.form .check input { width: 20px; height: 20px; accent-color: var(--red); }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__status { font-size: var(--fs-body); color: var(--ink-2); }

/* ---- footer ------------------------------------------------------------ */
/* lights off runs in order: lamp off, the projector beam comes down onto the logo, the beam lights the footage. Back on runs it in reverse.
   Each transition is written on the state it leads to, so the delays below are the "back on" ones and .is-off carries the "off" ones. */
.foot { --pt: clamp(64px, 9vw, 120px); position: relative; overflow: clip; background: var(--black); color: #fff; border-top: 1px solid rgba(255, 255, 255, .12); padding: var(--pt) var(--pad) 36px; display: grid; gap: 40px; transition: background-color .5s .45s; }
.foot > :not(.lamp) { position: relative; }
.foot__mark { position: relative; width: clamp(260px, 44vw, 880px); aspect-ratio: 311.48 / 69.72; }
.foot__logo { display: block; width: 100%; height: 100%; transition: opacity .4s .5s; }
/* the projector beam: a soft cone from above the footer's top edge down to the logo, and no further. Two diagonal gradients draw the cone
   (corner-to-corner, so it fits any logo size); the mask grows from the top to bring it down and shrinks to take it back up. */
.foot__mark::before { --rise: calc(var(--pt) * 1.5); content: ""; position: absolute; left: -7%; right: -7%; top: calc(0px - var(--pt) - var(--rise)); bottom: -4%; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 64px 5px at 50% var(--rise), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)), /* the lens, on the footer's top edge */
    linear-gradient(to bottom right, rgba(236, 242, 255, 0) 45.5%, rgba(236, 242, 255, .15) 54%) 0 0 / 50% 100% no-repeat, linear-gradient(to bottom left, rgba(236, 242, 255, 0) 45.5%, rgba(236, 242, 255, .15) 54%) 100% 0 / 50% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 35%, rgba(0, 0, 0, .55) 80%, transparent) 0 0 / 100% 0% no-repeat; mask: linear-gradient(#000 35%, rgba(0, 0, 0, .55) 80%, transparent) 0 0 / 100% 0% no-repeat;
  transition: -webkit-mask-size .45s cubic-bezier(.5, 0, .9, .4) .1s, mask-size .45s cubic-bezier(.5, 0, .9, .4) .1s, opacity .15s .45s; }
.foot.is-off .foot__mark::before { opacity: 1; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; transition: -webkit-mask-size .65s var(--ease) .3s, mask-size .65s var(--ease) .3s, opacity .1s .3s; }
/* lights off: the logo turns into a window onto the projection (the clip is masked by the logo file) */
.foot__proj { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .3s; filter: drop-shadow(0 0 22px rgba(218, 33, 50, .45)); }
.foot__proj video { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.3) brightness(1.15);
  -webkit-mask: url("../assets/logo/dpcore-horizontal-tagline-white.svg") center / 100% 100% no-repeat; mask: url("../assets/logo/dpcore-horizontal-tagline-white.svg") center / 100% 100% no-repeat; }
.foot.is-off { background: #050506; transition-delay: 0s; }
.foot.is-off .foot__logo { opacity: .06; transition-delay: 0s; }
.foot.is-off .foot__proj { opacity: 1; transition: opacity .3s .6s; transition: opacity .6s linear(0, .8 12%, .1 22%, .9 38%, .35 48%, 1 64%, 1) .6s; } /* the lamp striking, .6s in: when the beam has reached the logo. First line: browsers without linear() */
@keyframes strike { 0% { opacity: 0; } 12% { opacity: .8; } 22% { opacity: .1; } 38% { opacity: .9; } 48% { opacity: .35; } 64%, 100% { opacity: 1; } }
/* the pendant lamp */
.lamp { --drop: clamp(36px, 5vw, 72px); --len: clamp(70px, 8vw, 110px); position: absolute; z-index: 1; top: 0; right: clamp(8px, 12vw, 240px); width: 120px; height: 100%; pointer-events: none; }
.lamp__wire { position: absolute; left: 50%; top: 0; width: 1px; height: var(--drop); background: rgba(255, 255, 255, .3); }
.lamp__shade { position: absolute; left: 50%; top: var(--drop); width: 76px; height: 34px; translate: -50% 0; border-radius: 38px 38px 3px 3px; background: linear-gradient(#3a3738, #1b1a1b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.lamp__shade::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 30px; height: 10px; translate: -50% 0; border-radius: 50%; background: #fff6e8; box-shadow: 0 0 14px 4px rgba(255, 228, 196, .7), 0 0 60px 18px rgba(255, 214, 170, .25); transition: background-color .3s .5s, box-shadow .3s .5s; }
.lamp__light { position: absolute; left: 50%; top: calc(var(--drop) + 30px); width: min(1100px, 150vw); height: 140vh; translate: -50% 0; filter: blur(10px); transition: opacity .35s .5s; }
.lamp__light b { position: absolute; inset: 0; clip-path: polygon(48.2% 0, 51.8% 0, 100% 100%, 0 100%);
  background: radial-gradient(ellipse 60% 55% at 50% 0, rgba(255, 238, 218, .2), rgba(255, 238, 218, .06) 55%, rgba(255, 238, 218, 0) 80%); }
.foot.is-off .lamp__shade::after { background: #3a3634; box-shadow: none; transition-delay: 0s; }
.foot.is-off .lamp__light { opacity: 0; transition-delay: 0s; }
.cord { --pull: 0px; position: absolute; left: calc(50% + 24px); top: calc(var(--drop) + 26px); width: 44px; height: calc(var(--len) + var(--pull) + 30px); margin-left: -22px; padding: 0; border: 0; background: none; cursor: grab; pointer-events: auto; touch-action: none; }
.cord:active { cursor: grabbing; }
.cord__line { position: absolute; left: 50%; top: 0; width: 1px; height: calc(var(--len) + var(--pull)); background: rgba(255, 255, 255, .45); }
.cord__knob { position: absolute; left: 50%; top: calc(var(--len) + var(--pull)); width: 12px; height: 22px; translate: -50% 0; border-radius: 6px; background: var(--red); box-shadow: 0 0 0 4px rgba(218, 33, 50, .18); transition: box-shadow .3s; }
.cord:hover .cord__knob, .cord:focus-visible .cord__knob { box-shadow: 0 0 0 7px rgba(218, 33, 50, .25); }
.cord:focus-visible { outline: none; }
.lamp__hint { position: absolute; left: calc(50% + 40px); top: calc(var(--drop) + 26px + var(--len) + 2px); margin: 0; font-size: var(--fs-small); color: rgba(255, 255, 255, .55); white-space: nowrap; }
html:not(.js) .lamp { display: none; }
.foot__tag { max-width: 34em; margin-top: -12px; color: #d6d1d1; font-size: var(--fs-lead); }
.foot__cols { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 32px clamp(48px, 8vw, 140px); padding-top: 40px; } /* no rule: the space and the type set it apart, and the lamp's light runs down unbroken */
.foot__col { display: grid; gap: 10px; align-content: start; justify-items: start; }
.foot__col > p { margin-bottom: 6px; font: 400 var(--fs-label)/1 var(--f-display); letter-spacing: .2em; color: #a39d9e; }
.foot__col a { font-weight: 500; transition: color .2s; } .foot__col a:hover, .foot__col a[aria-current="page"] { color: #ff8a95; }
.foot__col address { font-style: normal; color: #d6d1d1; font-size: var(--fs-body); word-break: keep-all; } /* lines break at spaces, so "703호·704호" stays together */
.foot__copy { color: #bdb7b7; font-size: var(--fs-small); border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 22px; }
.toast { position: fixed; z-index: 150; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: var(--fs-body); pointer-events: none; transition: opacity .3s, transform .5s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---- scroll motion (classes are added by assets/site.js) ----------------- */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-img { clip-path: inset(16% 0 0 0 round var(--r)); transition: clip-path 1.4s var(--ease); }
.js .rv-img.is-in { clip-path: inset(0 0 0 0 round var(--r)); }
.js .rv-img img { transition: transform 1.6s var(--ease); }
.js .rv-img:not(.is-in) img { transform: scale(1.2); }

/* projector cursor (assets/site.js, mouse only):
   - .beam: a soft pool of projected light that brightens whatever it lands on (screen blend, so white stays white)
   - .cursor: focus crosshair + alignment brackets that close on links and open into a 16:10 screen over photos */
.beam { position: fixed; z-index: 390; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 248, 240, .42) 0%, rgba(255, 236, 230, .24) 22%, rgba(255, 200, 200, .1) 42%, rgba(218, 33, 50, .06) 56%, rgba(218, 33, 50, 0) 70%);
  transition: opacity .5s, scale .7s var(--ease); }
.beam.is-view { scale: 1.25; }
.beam.is-hidden { opacity: 0; }
.cursor { position: fixed; z-index: 400; left: 0; top: 0; pointer-events: none; transition: opacity .3s; }
.cursor.is-hidden { opacity: 0; }
.cursor__dot, .cursor__frame { position: absolute; left: 0; top: 0; translate: -50% -50%; }
.cursor__dot { width: 13px; height: 13px; transition: opacity .2s;
  background: linear-gradient(var(--red), var(--red)) center / 100% 1.5px no-repeat, linear-gradient(var(--red), var(--red)) center / 1.5px 100% no-repeat; }
.cursor__frame { display: grid; place-items: center; width: 30px; height: 30px; color: #fff; font-size: var(--fs-small); font-weight: 700; letter-spacing: .04em;
  transition: width .5s var(--ease), height .5s var(--ease); }
.cursor__frame b { position: absolute; width: 9px; height: 9px; border: 0 solid var(--red); }
.cursor__frame b:nth-child(1) { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; }
.cursor__frame b:nth-child(2) { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; }
.cursor__frame b:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; }
.cursor__frame b:nth-child(4) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.cursor__frame span { opacity: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); transition: opacity .2s; }
.cursor.is-link .cursor__frame { width: 50px; height: 50px; }
.cursor.is-view .cursor__frame { width: 128px; height: 80px; }
.cursor.is-view .cursor__frame b { width: 16px; height: 16px; border-color: #fff; }
.cursor.is-view .cursor__frame span { opacity: 1; transition-delay: .15s; }
.cursor.is-view .cursor__dot { opacity: 0; }

.dots { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; } /* under every section: dark ones simply cover it */

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .news__grid, .contact { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .foot { --pt: 190px; }
  .foot__mark::before { --rise: 90px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__col--addr { grid-column: 1 / -1; }
  .lamp { --drop: 20px; --len: 64px; right: 0; width: 96px; }
  .lamp__shade { width: 56px; height: 26px; }
  .lamp__hint { left: auto; right: calc(50% + 14px); }
}
@media (max-width: 520px) {
  .list a { grid-template-columns: minmax(0, 1fr) auto; } .list__tag { display: none; }
  .btn { height: 48px; padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .foot, .foot *, .foot *::before, .foot *::after { transition-delay: 0s !important; } /* footer lamp: no sequence, the beam and footage just appear */
  .js .rv { opacity: 1; transform: none; } .js .rv-img { clip-path: none; } .js .rv-img img { transform: none; }
}
