/* pagedrop.lu — paper on a cream desk: bold geometric type, generous margins,
   and the orange flying page as the only ornament. Each page has one art moment. */
:root {
  --bg: #FFF3DF;          /* brand cream */
  --surface: #FFF9EE;     /* lighter paper */
  --tint: #F9E2C2;        /* warm sand */
  --fg: #29251F;          /* brand charcoal */
  --fg-soft: #675C4F;
  --line: #E9D6B8;
  --brand: #F36632;       /* brand orange: shapes, buttons, large art */
  --brand-text: #B13F10;  /* orange for text on cream (AA) */
  --on-brand: #29251F;
  --night: #29251F;       /* always-dark bands */
  --night-2: #353029;
  --night-fg: #FFF3DF;
  --night-soft: #CDBFA9;
  --grain-opacity: .55;
  --shadow: 0 1px 2px rgb(41 37 31 / .06), 0 18px 40px -18px rgb(41 37 31 / .28);

  /* fixed illustration palettes for concept mock-ups (each paints its own ground) */
  --bk-bg: #F6E4CA; --bk-ink: #4A230C; --bk-acc: #B4501B;
  --lg-bg: #13233A; --lg-ink: #EDE6D8; --lg-acc: #C9A35B;
  --ar-bg: #E6E3DD; --ar-ink: #1B1B1B; --ar-acc: #F36632;

  --f-display: "Outfit", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --s--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --s-0: clamp(1rem, .97rem + .18vw, 1.1rem);
  --s-1: clamp(1.18rem, 1.08rem + .45vw, 1.42rem);
  --s-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.15rem);
  --s-3: clamp(2.1rem, 1.5rem + 2.7vw, 3.7rem);
  --s-4: clamp(2.7rem, 1.6rem + 5vw, 6rem);
  --s-5: clamp(3.1rem, 1.4rem + 7.4vw, 8.6rem);

  --r: 22px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-drop: cubic-bezier(.2, 1.35, .4, 1);
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #29251F; --surface: #322D26; --tint: #3B3128; --fg: #FFF3DF; --fg-soft: #CDBFA9;
    --line: #4A4238; --brand: #F36632; --brand-text: #FF8C5E; --on-brand: #29251F;
    --night: #1D1A16; --night-2: #2A2620; --night-fg: #FFF3DF; --night-soft: #CDBFA9;
    --grain-opacity: .16; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 22px 46px -18px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #29251F; --surface: #322D26; --tint: #3B3128; --fg: #FFF3DF; --fg-soft: #CDBFA9;
  --line: #4A4238; --brand: #F36632; --brand-text: #FF8C5E; --on-brand: #29251F;
  --night: #1D1A16; --night-2: #2A2620; --night-fg: #FFF3DF; --night-soft: #CDBFA9;
  --grain-opacity: .16; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 22px 46px -18px rgb(0 0 0 / .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; background-color: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: var(--s-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip; position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .4 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1; margin: 0; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--brand-text); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.band--tight { padding-block: clamp(56px, 7vw, 96px); }
.band--surface { background: var(--surface); border-block: 1px solid var(--line); }
.band--night { background: var(--night); color: var(--night-fg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.tnum { font-variant-numeric: tabular-nums; }
.pd-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* labels: the brand's spaced capitals ("PAGEDROP / FINAL DIRECTION") */
.label { font-family: var(--f-body); font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-soft); }
.label b { color: var(--brand-text); font-weight: 600; }
.band--night .label { color: var(--night-soft); }
.band--night .label b { color: var(--brand); }
.lede { font-size: var(--s-1); line-height: 1.5; color: var(--fg-soft); max-width: 40ch; }
.accent { color: var(--brand-text); }
.band--night .accent { color: var(--brand); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px;
  padding: 0 1.5em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  font: 600 var(--s-0)/1 var(--f-body); white-space: nowrap;
  transition: transform .3s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--brand { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 26px -12px rgb(243 102 50 / .75); }
.btn--brand:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgb(243 102 50 / .85); }
.btn--line { border-color: var(--line); color: var(--fg); background: transparent; }
.btn--line:hover { border-color: var(--fg); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { transform: translateY(-2px); }
.band--night .btn--line, .cta-band .btn--line { color: var(--night-fg); border-color: rgb(255 243 223 / .3); }
.band--night .btn--line:hover { border-color: var(--night-fg); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--fg); border-bottom: 1.5px solid var(--brand); padding-bottom: 3px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; view-transition-name: site-header; }
.header::before { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: .86; -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; z-index: -1; }
.header.is-scrolled::before { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; flex: none; line-height: 0; border-radius: 8px; }
.logo img { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 500; color: var(--fg-soft); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 14px; height: 8px; margin-left: -7px; background: var(--brand); clip-path: polygon(0 75%, 40% 8%, 100% 0, 62% 100%); transform: scale(0) rotate(-20deg); transition: transform .4s var(--ease-drop); }
.nav a[aria-current="page"]::after { transform: scale(1); }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex: none; }
.langs button { min-width: 40px; min-height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--fg-soft); font: 600 .78rem/1 var(--f-body); letter-spacing: .08em; cursor: pointer; transition: background-color .2s, color .2s; }
.langs button:hover { color: var(--fg); }
.langs button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.header .btn { min-height: 44px; font-size: .95rem; padding-inline: 1.2em; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--fg); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-panel { padding-block: 8px 28px; border-top: 1px solid var(--line); }
.mobile-panel nav { display: grid; margin-bottom: 20px; }
.mobile-panel nav a { text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 2rem; letter-spacing: -.03em; padding: 6px 0; display: flex; align-items: center; gap: 12px; }
.mobile-panel nav a[aria-current="page"] { color: var(--brand-text); }
.mobile-panel__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
@media (max-width: 980px) {
  .nav, .header__in > .btn { display: none; }
  .header__in { min-height: 64px; gap: 10px; }
  .header__in > .langs { margin-left: auto; }
  .header__in > .langs button { min-width: 36px; min-height: 36px; }
  .menu-btn { display: inline-flex; margin-left: 0; width: 44px; height: 44px; }
  .logo img { height: 28px; }
}

/* ---------- page hero (inner pages) ---------- */
.phero { padding-block: clamp(48px, 8vw, 110px) clamp(48px, 7vw, 90px); position: relative; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.phero h1 { font-size: var(--s-4); font-weight: 800; letter-spacing: -.045em; line-height: .95; margin-block: 22px 26px; }
.phero__art { min-width: 0; }
@media (max-width: 860px) { .phero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }

.head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { font-size: var(--s-3); font-weight: 800; letter-spacing: -.04em; }
.head p { color: var(--fg-soft); font-size: var(--s-1); max-width: 54ch; }
.band--night .head p { color: var(--night-soft); }
.head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
@media (max-width: 760px) { .head--row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: clamp(40px, 7vw, 96px) clamp(120px, 14vw, 190px); overflow: clip; }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero__sym { position: absolute; right: clamp(16px, 5vw, 80px); top: 46%; width: min(31vw, 460px); z-index: -2; color: var(--brand); }
.hero__sym svg { width: 100%; display: block; position: relative; z-index: 1; }
.hero__shadow { position: absolute; left: 12%; right: 18%; bottom: -16%; height: 16%; border-radius: 50%; background: var(--fg); opacity: .08; filter: blur(10px); }
@media (max-width: 1000px) { .hero__sym { display: none; } }
@media (prefers-reduced-motion: no-preference) { .hero__sym { animation: symIn 1.4s var(--ease-drop) .35s both; } }
@keyframes symIn { from { opacity: 0; transform: translateY(-80px) rotate(-8deg); } to { opacity: 1; transform: none; } }
.hero__title { font-size: var(--s-5); font-weight: 800; letter-spacing: -.055em; line-height: .9; margin-block: 26px 30px; max-width: 11ch; }
.hero__title .w { display: inline-block; }
.hero__title .accent { color: var(--brand-text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 0 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.facts li::before { content: ""; width: 12px; height: 7px; background: var(--brand); clip-path: polygon(0 75%, 40% 8%, 100% 0, 62% 100%); }
.hero__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }

/* statement */
.statement { font-family: var(--f-display); font-weight: 600; font-size: var(--s-3); line-height: 1.12; letter-spacing: -.035em; max-width: 22ch; }
.statement em { font-style: normal; color: var(--brand); }
.statement-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 48px; align-items: end; }
.statement-row p.small { color: var(--night-soft); }
@media (max-width: 860px) { .statement-row { grid-template-columns: minmax(0, 1fr); } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.pillar { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 32px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pillar svg.art { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--tint); }
.pillar h3 { font-size: var(--s-2); }
.pillar p { color: var(--fg-soft); }
@media (max-width: 900px) { .pillars { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* .lu preview */
.preview { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.preview h2 { font-size: var(--s-3); font-weight: 800; letter-spacing: -.04em; margin-block: 18px; }
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 999px; padding: 6px 14px; font-size: .82rem; color: var(--fg-soft); white-space: nowrap; overflow: hidden; }
.url svg { width: 12px; height: 12px; flex: none; }
.url span { overflow: hidden; text-overflow: ellipsis; }
.url b { color: var(--fg); font-weight: 600; }
.viewport { padding: 18px; display: grid; gap: 14px; }
.s-nav { display: flex; align-items: center; justify-content: space-between; }
.s-nav .mk { width: 34px; height: 20px; }
.s-nav .lk { display: flex; gap: 8px; }
.s-nav .lk i { width: 34px; height: 7px; border-radius: 4px; background: var(--line); }
.s-hero { background: var(--tint); border-radius: 12px; padding: clamp(18px, 3vw, 30px); display: grid; gap: 10px; }
.s-hero small { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-text); }
.s-hero strong { font-family: var(--f-display); font-weight: 800; letter-spacing: -.04em; font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); line-height: 1; overflow-wrap: anywhere; display: block; }
.s-hero .bar { height: 7px; border-radius: 4px; background: var(--fg); opacity: .14; }
.s-hero .bar + .bar { width: 68%; }
.s-hero .pill { justify-self: start; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: .75rem; font-weight: 600; }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.s-cards div { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.s-cards div:nth-child(2) { background: var(--brand); border-color: var(--brand); }
.try { display: grid; gap: 8px; margin-top: 28px; }
.try label { font-weight: 600; }
.try__field { display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding-inline: 20px 8px; min-height: 56px; transition: border-color .2s, box-shadow .2s; }
.try__field:focus-within { border-color: var(--brand-text); box-shadow: 0 0 0 4px rgb(243 102 50 / .18); }
.try__field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--fg); font: 500 1.05rem var(--f-body); outline: none; padding-block: 12px; }
.try__field span { font-weight: 700; color: var(--fg-soft); padding-inline: 8px 12px; }
.try small { color: var(--fg-soft); font-size: var(--s--1); }
@media (max-width: 900px) { .preview { grid-template-columns: minmax(0, 1fr); } }

/* teaser cards (home) */
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.teaser { display: grid; gap: 10px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.teaser:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.teaser h3 { font-size: var(--s-2); }
.teaser .price { font-family: var(--f-display); font-weight: 800; font-size: var(--s-3); letter-spacing: -.04em; line-height: 1; }
.teaser p { color: var(--fg-soft); }
.teaser--featured { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.teaser--featured p { color: var(--bg); opacity: .78; }
@media (max-width: 900px) { .teasers { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

.ministeps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.ministeps li { counter-increment: s; display: grid; gap: 8px; padding-top: 22px; border-top: 2px solid var(--night-fg); }
.ministeps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 800; font-size: var(--s-2); color: var(--brand); letter-spacing: -.03em; }
.ministeps h3 { font-size: var(--s-1); letter-spacing: -.01em; }
.ministeps p { color: var(--night-soft); font-size: .97rem; }
@media (max-width: 900px) { .ministeps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ministeps { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.cta-band { position: relative; overflow: clip; isolation: isolate; background: var(--brand); color: var(--on-brand); border-radius: clamp(24px, 4vw, 40px); padding: clamp(40px, 7vw, 96px); display: grid; gap: 24px; justify-items: start; }
.cta-band h2 { font-size: var(--s-4); font-weight: 800; letter-spacing: -.05em; max-width: 12ch; }
.cta-band p { font-size: var(--s-1); max-width: 40ch; }
.cta-band .sym-big { position: absolute; right: 5%; top: 50%; width: min(40%, 480px); z-index: -1; color: #FFF3DF; transform: translateY(-50%) rotate(-6deg); }
@media (max-width: 860px) { .cta-band .sym-big { width: 46%; right: -10%; top: auto; bottom: 6%; transform: rotate(-6deg); opacity: .55; } }

/* ---------- concept mock-ups ---------- */
.shot { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; position: relative; max-width: 100%; box-shadow: var(--shadow); }
.shot__page { position: absolute; inset: 0 0 auto 0; padding: 22px; display: grid; gap: 14px; transition: transform 1.6s var(--ease); }
.shot:hover .shot__page, a:focus-visible .shot__page, .concept:hover .shot__page { transform: translateY(-24%); }
.shot__nav { display: flex; justify-content: space-between; align-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.shot__nav i { display: inline-block; width: 24px; height: 5px; border-radius: 3px; background: currentColor; opacity: .35; margin-left: 6px; }
.shot__title { font-family: var(--f-display); font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.shot__img { aspect-ratio: 16 / 11; border-radius: 10px; }
.shot__lines { display: grid; gap: 7px; }
.shot__lines i { height: 6px; border-radius: 3px; background: currentColor; opacity: .25; }
.shot__lines i:last-child { width: 60%; }
.shot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shot__grid div { aspect-ratio: 1; border-radius: 8px; }
.c-bakery { background: var(--bk-bg); color: var(--bk-ink); }
.c-bakery .shot__title { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.c-bakery .shot__img { background: radial-gradient(circle at 30% 42%, #E7A867 0 17%, transparent 18%), radial-gradient(circle at 66% 58%, #D88C45 0 22%, transparent 23%), radial-gradient(circle at 48% 80%, #E9B57C 0 12%, transparent 13%), var(--bk-acc); }
.c-bakery .shot__grid div { background: color-mix(in srgb, var(--bk-acc) 30%, var(--bk-bg)); }
.c-legal { background: var(--lg-bg); color: var(--lg-ink); }
.c-legal .shot__title { font-weight: 300; letter-spacing: -.01em; }
.c-legal .shot__img { background: linear-gradient(135deg, transparent 0 46%, var(--lg-acc) 46% 54%, transparent 54%), color-mix(in srgb, var(--lg-ink) 10%, var(--lg-bg)); }
.c-legal .shot__grid div { border: 1px solid color-mix(in srgb, var(--lg-acc) 60%, transparent); }
.c-arch { background: var(--ar-bg); color: var(--ar-ink); }
.c-arch .shot__title { font-weight: 800; letter-spacing: -.06em; text-transform: lowercase; }
.c-arch .shot__img { background: linear-gradient(90deg, var(--ar-ink) 0 36%, transparent 36%), linear-gradient(0deg, var(--ar-acc) 0 30%, #C9C5BD 30%); }
.c-arch .shot__grid div { background: #CFCBC3; }
.c-arch .shot__grid div:first-child { background: var(--ar-acc); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); align-items: start; }
.gallery > a { display: grid; gap: 16px; text-decoration: none; }
.gallery > a:nth-child(2) { margin-top: clamp(0px, 5vw, 64px); }
.gallery .cap { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.gallery .cap strong { font-family: var(--f-display); font-size: var(--s-1); }
.gallery .cap span { color: var(--fg-soft); font-size: .92rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: minmax(0, 1fr); max-width: 440px; } .gallery > a:nth-child(2) { margin-top: 0; } }

/* ---------- packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { --mx: 50%; --my: 0%; --spread: 1; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(440px circle at var(--mx) var(--my), rgb(243 102 50 / .14), transparent 62%); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); --spread: 1.9; }
.plan:hover::before { opacity: 1; }
.plan--featured { background: var(--night); color: var(--night-fg); border-color: var(--night); }
.plan.plan--featured .plan__tag, .plan.plan--featured li { color: var(--night-soft); }
.plan--featured .plan__time { color: var(--brand); }
.plan.plan--featured li svg { color: var(--brand); }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h2 { font-size: var(--s-2); font-weight: 800; }
.badge { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: var(--brand); color: var(--on-brand); padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.plan__tag { color: var(--fg-soft); margin-top: -8px; }
.price { font-family: var(--f-display); font-weight: 800; font-size: var(--s-3); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums lining-nums; }
.plan__time { font-weight: 600; font-size: var(--s--1); color: var(--brand-text); margin-top: -6px; letter-spacing: .02em; }
.plan ul { list-style: none; margin: 0; padding: 20px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.plan--featured ul { border-top-color: rgb(255 243 223 / .16); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--fg-soft); line-height: 1.45; }
.plan li svg { width: 20px; height: 20px; color: var(--brand-text); margin-top: 1px; }
.plan .btn { width: 100%; }
.plan--featured .btn--line { color: var(--night-fg); border-color: rgb(255 243 223 / .3); }
@media (max-width: 1000px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* fan of pages (Python-generated SVG) */
.fan { width: 100%; height: auto; aspect-ratio: 2 / 1; display: block; margin-bottom: 4px; overflow: visible; }
.fan use { transform-box: fill-box; transform-origin: 18% 85%; transform: rotate(calc(var(--a) * var(--spread) * 1deg)) translate(calc(var(--dx) * var(--spread) * 1px), calc(var(--dy) * 1px)); transition: transform .8s var(--ease-drop); transition-delay: calc(var(--k) * 18ms); }
.fan .pg-back { fill: var(--surface); stroke: var(--fg); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.plan--featured .fan .pg-back { fill: var(--night-2); stroke: var(--night-fg); }
.fan .pg-front { fill: var(--brand); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--f-display); font-size: var(--s-1); font-weight: 800; letter-spacing: -.02em; position: sticky; top: 0; background: var(--surface); }
.compare thead th.hl { color: var(--brand-text); }
.compare tbody th { font-weight: 500; color: var(--fg-soft); }
.compare td { font-weight: 600; }
.compare td.hl { background: rgb(243 102 50 / .07); }
.compare tr:last-child > * { border-bottom: 0; }
.compare svg { width: 20px; height: 20px; vertical-align: -4px; }
.compare .yes { color: var(--brand-text); }
.compare .no { color: var(--line); }

.includes { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px 48px; }
.includes h2 { font-size: var(--s-2); font-weight: 800; }
.includes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 28px; }
.includes li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--fg-soft); }
.includes li svg { width: 22px; height: 22px; color: var(--brand-text); }
@media (max-width: 860px) { .includes { grid-template-columns: minmax(0, 1fr); } }
.care { margin-top: 40px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--tint); }
.care svg { width: 64px; height: auto; color: var(--brand); }
.care h3 { font-size: var(--s-1); margin-bottom: 6px; }
.care p { color: var(--fg-soft); }
.care .price-sm { font-family: var(--f-display); font-weight: 800; font-size: var(--s-2); letter-spacing: -.03em; white-space: nowrap; }
.care .price-sm small { font-family: var(--f-body); font-weight: 500; font-size: .9rem; color: var(--fg-soft); letter-spacing: 0; }
@media (max-width: 700px) { .care { grid-template-columns: minmax(0, 1fr); } }

/* ---------- process: flight path ---------- */
.flight { position: relative; }
.flight__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flight__track { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.flight__done { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; }
.flight__plane { fill: var(--brand); }
.flight__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(80px, 12vw, 160px); position: relative; counter-reset: st; }
.fstep { counter-increment: st; width: min(44%, 480px); display: grid; gap: 12px; padding: clamp(24px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); position: relative; }
.fstep:nth-child(even) { margin-left: auto; }
.fstep::before { content: counter(st, decimal-leading-zero); font-family: var(--f-display); font-weight: 800; font-size: var(--s-3); line-height: 1; letter-spacing: -.05em; color: var(--brand-text); }
.fstep .when { position: absolute; top: clamp(24px, 3vw, 34px); right: clamp(24px, 3vw, 34px); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-soft); }
.fstep h2 { font-size: var(--s-2); font-weight: 800; }
.fstep p { color: var(--fg-soft); }
.fstep ul { margin: 4px 0 0; padding-left: 1.1em; color: var(--fg-soft); display: grid; gap: 4px; }
.fstep ul li::marker { color: var(--brand); }
.runway { margin-top: clamp(80px, 12vw, 140px); text-align: center; display: grid; justify-items: center; gap: 20px; }
.runway__pad { width: min(420px, 90%); height: auto; }
.runway h2 { font-size: var(--s-3); font-weight: 800; letter-spacing: -.04em; }
@media (max-width: 760px) {
  .fstep, .fstep:nth-child(even) { width: auto; margin-left: 56px; }
  .flight__steps { gap: 48px; }
}
.prep { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.prep li { padding: 22px; border-radius: 18px; border: 1px solid rgb(255 243 223 / .14); background: var(--night-2); display: grid; gap: 8px; }
.prep li strong { font-family: var(--f-display); font-size: var(--s-1); }
.prep li span { color: var(--night-soft); font-size: .95rem; }
@media (max-width: 900px) { .prep { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .prep { grid-template-columns: minmax(0, 1fr); } }

/* ---------- work ---------- */
.works { display: grid; gap: clamp(72px, 10vw, 140px); }
.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.work:nth-child(even) .work__shot { order: 2; }
.work__shot { perspective: 1200px; }
.work__shot .shot { aspect-ratio: 5 / 6; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) rotate(var(--r0, -2deg)); transition: transform .6s var(--ease); will-change: transform; }
.work:nth-child(even) .work__shot .shot { --r0: 2deg; }
.work__meta { display: grid; gap: 18px; align-content: center; }
.work__meta h2 { font-size: var(--s-3); font-weight: 800; letter-spacing: -.04em; }
.work__meta p { color: var(--fg-soft); font-size: var(--s-1); line-height: 1.5; max-width: 38ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; font-weight: 500; }
.swatches { display: flex; gap: 8px; }
.swatches i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); }
@media (max-width: 860px) { .work { grid-template-columns: minmax(0, 1fr); } .work:nth-child(even) .work__shot { order: 0; } .work__shot { max-width: 420px; } }

.cycler { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cycler__card { background: var(--bk-bg); color: var(--bk-ink); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); min-height: 280px; display: grid; align-content: space-between; gap: 24px; box-shadow: var(--shadow); }
.cycler__lang { display: flex; gap: 8px; }
.cycler__lang button { min-width: 44px; min-height: 40px; padding: 0 12px; border-radius: 999px; font: 700 .8rem/1 var(--f-body); letter-spacing: .1em; color: var(--bk-ink); background: transparent; border: 1.5px solid rgb(74 35 12 / .3); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.cycler__lang button:hover { border-color: var(--bk-ink); }
.cycler__lang button.on { background: var(--bk-ink); color: var(--bk-bg); border-color: var(--bk-ink); }
.cycler__lang button:focus-visible { outline-color: var(--bk-ink); }
.cycler__line { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.05; min-height: 2.2em; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cycler__line.out { opacity: 0; transform: translateY(-14px); }
@media (max-width: 860px) { .cycler { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 120px; display: grid; gap: 28px; }
.paper3d { width: min(320px, 70%); aspect-ratio: 1; perspective: 800px; display: grid; place-items: center; }
.paper3d svg { width: 100%; color: var(--brand); filter: drop-shadow(0 26px 22px rgb(41 37 31 / .22)); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; font-family: var(--f-display); font-weight: 700; font-size: var(--s-1); letter-spacing: -.015em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .45s var(--ease-drop), background-color .3s, border-color .3s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq summary:hover .plus { border-color: var(--fg); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.faq details p { color: var(--fg-soft); padding-bottom: 26px; max-width: 62ch; }
.faq h2.group { font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-soft); font-family: var(--f-body); margin: 48px 0 12px; }
.faq h2.group:first-child { margin-top: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-side { position: static; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.pad { width: 100%; max-width: 440px; height: auto; display: block; overflow: visible; }
.pad .ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.pad .ring--2 { stroke-dasharray: 3 9; stroke-linecap: round; }
.pad .core { fill: var(--tint); }
.pad .x { stroke: var(--brand-text); stroke-width: 3; stroke-linecap: round; }
.pad .page { fill: var(--brand); }
.pad .shadow { fill: var(--fg); opacity: .12; }
.next { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.next li::before { content: counter(n); width: 38px; height: 38px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; }
.next strong { display: block; }
.next span { color: var(--fg-soft); font-size: .97rem; }
.form-card { background: var(--night); color: var(--night-fg); border-radius: clamp(22px, 3vw, 32px); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.form-card h2 { font-size: var(--s-2); font-weight: 800; margin-bottom: 26px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid rgb(255 243 223 / .18); background: var(--night-2); color: var(--night-fg); font: 400 1rem var(--f-body); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.field select option { color: #29251F; background: #FFF3DF; }
.field textarea { min-height: 130px; resize: vertical; }
.field ::placeholder { color: var(--night-soft); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(243 102 50 / .25); }
.field [aria-invalid="true"] { border-color: var(--brand); }
.err { color: var(--brand); font-size: .86rem; font-weight: 500; }
.pkgs { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.pkgs legend { font-size: .9rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.pkgs label { position: relative; cursor: pointer; }
.pkgs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pkgs label > span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgb(255 243 223 / .2); font-weight: 600; font-size: .93rem; transition: background-color .2s, border-color .2s, color .2s; }
.pkgs input:checked + span { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.pkgs input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 3px; }
form .btn { grid-column: 1 / -1; justify-self: start; }
.status { grid-column: 1 / -1; padding: 16px 18px; border-radius: 14px; background: rgb(243 102 50 / .16); border: 1px solid rgb(243 102 50 / .5); }
.direct { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.direct small { width: 100%; color: var(--fg-soft); }
.direct span { font-family: var(--f-display); font-weight: 700; font-size: var(--s-1); user-select: all; }
.copy { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: 600 .85rem var(--f-body); cursor: pointer; }
.copy:hover { border-color: var(--fg); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 540px) { form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--night-fg); padding-block: clamp(56px, 8vw, 96px) 36px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .7fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgb(255 243 223 / .14); }
.footer__brand img { width: min(300px, 100%); height: auto; display: block; margin-bottom: 18px; }
.footer__brand p { color: var(--night-soft); max-width: 34ch; }
.footer h2 { font-family: var(--f-body); font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--night-soft); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--night-fg); }
.footer a:hover { color: var(--brand); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; color: var(--night-soft); font-size: .9rem; }
.footer .langs { border-color: rgb(255 243 223 / .2); }
.footer .langs button { color: var(--night-soft); }
.footer .langs button[aria-pressed="true"] { background: var(--night-fg); color: var(--night); }
@media (max-width: 760px) { .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer__brand { grid-column: 1 / -1; } }

/* ---------- motion (all opt-in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .w { animation: wordUp .9s var(--ease) both; animation-delay: calc(var(--wi, 0) * 70ms + 80ms); }
  .sheet { animation: drop .9s var(--ease-drop) both; animation-delay: calc(var(--d, 0) * 150ms + 300ms); }
  #mockTitle.pop { animation: pop .55s var(--ease-drop); }
  .paper3d svg { animation: flutter 9s ease-in-out infinite; transform-origin: 50% 50%; }
  .pad .page { animation: hover 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
  .pad .shadow { animation: shadowPulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
  .pad.landed .page { animation: land 1s var(--ease-drop) forwards; }
  .pad.landed .shadow { animation: shadowLand 1s var(--ease-drop) forwards; }
  .pad.landed .ring--1 { animation: ripple 1.2s var(--ease) .45s both; transform-box: fill-box; transform-origin: 50% 50%; }
  @supports (animation-timeline: view()) {
  }
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .32s var(--ease) both; }
  ::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes wordUp { from { opacity: 0; transform: translateY(.45em) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes drop { 0% { opacity: 0; transform: translateY(-46px) rotate(-1.5deg); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes pop { from { transform: translateY(-14px); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes flutter { 0%, 100% { transform: rotateX(18deg) rotateY(-14deg) rotate(-4deg) translateY(0); } 33% { transform: rotateX(-8deg) rotateY(16deg) rotate(3deg) translateY(-14px); } 66% { transform: rotateX(24deg) rotateY(6deg) rotate(-1deg) translateY(6px); } }
@keyframes hover { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes shadowPulse { 0%, 100% { transform: scale(1); opacity: .12; } 50% { transform: scale(.82); opacity: .07; } }
@keyframes land { 0% { transform: translateY(-14px) rotate(2deg); } 55% { transform: translateY(118px) scale(1.04, .9); } 75% { transform: translateY(108px) scale(.98, 1.03); } 100% { transform: translateY(112px) rotate(0); } }
@keyframes shadowLand { to { transform: scale(1.25); opacity: .22; } }
@keyframes ripple { from { transform: scale(.7); opacity: 1; stroke: var(--brand); } to { transform: scale(1.35); opacity: 0; } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-18px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) { .pad.landed .page { transform: translateY(112px); } }

/* ---------- live project, tags, honeypot ---------- */
.shot--photo { aspect-ratio: 785 / 836; background: #0F1B33; }
.shot--photo picture, .shot--photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.gallery .shot--photo { aspect-ratio: 4 / 5; }
.work--live .work__shot .shot { --r0: -1.5deg; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2FA35B; margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 0 4px rgb(47 163 91 / .18); }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: pulse 2.4s ease-in-out infinite; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(47 163 91 / 0); } }
.tag { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-soft); }
.tag--live { border-color: transparent; background: var(--brand); color: var(--on-brand); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- WordPress: editable pages and admin bar ---------- */
.admin-bar .header { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .header { top: 0; } }
.prose { max-width: 70ch; display: grid; gap: 1.1em; }
.prose h2 { font-size: var(--s-2); font-weight: 800; margin-top: .8em; }
.prose h3 { font-size: var(--s-1); margin-top: .6em; }
.prose p, .prose li { color: var(--fg-soft); }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: .4em; }
.prose a { color: var(--brand-text); text-underline-offset: 3px; }
.prose strong { color: var(--fg); }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.work__shot .shot.shot--photo { aspect-ratio: 785 / 836; }
.gallery .shot--photo img { object-position: left top; }


/* ======================= phone-first layer ======================= */
@media (max-width: 380px) { .logo img { height: 24px; } .header__in > .langs button { min-width: 32px; } }

/* full-screen menu */
@media (max-width: 980px) {
  .mobile-panel { position: fixed; left: 0; right: 0; top: calc(64px + env(safe-area-inset-top, 0px)); bottom: 0; z-index: 49; background: var(--bg); border-top: 1px solid var(--line);
    overflow-y: auto; display: grid; align-content: space-between; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); max-width: none; }
  .admin-bar .mobile-panel { top: calc(64px + 46px); }
  .mobile-panel nav a { font-size: clamp(2.2rem, 10vw, 3rem); padding: 4px 0; border-bottom: 1px solid var(--line); }
  .mobile-panel nav a::before { content: ""; width: 0; height: 18px; background: var(--brand); clip-path: polygon(0 75%, 40% 8%, 100% 0, 62% 100%); transition: width .4s var(--ease-drop); }
  .mobile-panel nav a[aria-current="page"]::before { width: 30px; }
  .mobile-panel__row { flex-direction: column; align-items: stretch; gap: 16px; }
  .mobile-panel__row .btn { min-height: 56px; }
  .mobile-panel__mail { text-align: center; color: var(--fg-soft); font-weight: 600; }
  html.menu-open { overflow: hidden; }
}
@media (min-width: 981px) { .mobile-panel__mail { display: none; } }
@media (prefers-reduced-motion: no-preference) and (max-width: 980px) {
  .mobile-panel:not([hidden]) nav a { animation: menuIn .55s var(--ease) both; }
  .mobile-panel:not([hidden]) nav a:nth-child(2) { animation-delay: 40ms; } .mobile-panel:not([hidden]) nav a:nth-child(3) { animation-delay: 80ms; }
  .mobile-panel:not([hidden]) nav a:nth-child(4) { animation-delay: 120ms; } .mobile-panel:not([hidden]) nav a:nth-child(5) { animation-delay: 160ms; }
  .mobile-panel:not([hidden]) nav a:nth-child(6) { animation-delay: 200ms; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(18px); } }

/* sticky call-to-action bar (phones) */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; z-index: 45; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--night); color: var(--night-fg);
    box-shadow: 0 14px 34px -12px rgb(0 0 0 / .45); transform: translateY(140%); transition: transform .5s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar__from { font-size: .88rem; color: var(--night-soft); white-space: nowrap; }
  .mbar__from strong { color: var(--night-fg); font-family: var(--f-display); font-size: 1.05rem; }
  .mbar .btn { min-height: 46px; padding-inline: 1.1em; font-size: .95rem; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}

/* swipeable rows (phones) */
.swipe-dots { display: none; }
@media (max-width: 760px) {
  .swipe { display: flex !important; grid-template-columns: none; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; max-width: none !important; padding-block: 6px 18px; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 min(84%, 340px); scroll-snap-align: start; margin-top: 0 !important; }
  .plans.swipe > * { flex-basis: min(86%, 360px); }
  .plan:hover { transform: none; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
  .swipe-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width .35s var(--ease), background-color .3s; }
  .swipe-dots i.on { width: 22px; background: var(--brand); }
  .band--night .swipe-dots i { background: rgb(255 243 223 / .2); } .band--night .swipe-dots i.on { background: var(--brand); }
}

/* comparison: stacked rows on phones */
@media (max-width: 640px) {
  .compare { min-width: 0; table-layout: fixed; }
  .compare thead tr, .compare tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare thead tr:first-child th:first-child { display: none; }
  .compare th[scope="row"] { grid-column: 1 / -1; padding: 14px 16px 2px; border-bottom: 0; font-size: .86rem; letter-spacing: .02em; text-align: left; font-family: var(--f-body); font-weight: 500; color: var(--fg-soft); }
  .plan.is-open { --spread: 1.9; }
  .compare td { padding: 6px 8px 14px; text-align: center; font-size: .95rem; }
  .compare thead th { text-align: center; padding: 14px 6px; font-size: 1rem; }
  .compare thead tr:first-child { position: sticky; top: 64px; z-index: 2; background: var(--surface); border-bottom: 1px solid var(--line); }
  .compare-wrap { overflow: visible; }
  .compare thead { position: static; }
}

/* device frames for live work */
.devices { position: relative; padding: 0 16% 12% 0; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .6s var(--ease); }
.dev-browser { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dev-browser picture, .dev-browser img { display: block; width: 100%; height: auto; aspect-ratio: 785 / 640; object-fit: cover; object-position: top center; }
.dev-phone { position: absolute; right: 0; bottom: 0; width: 34%; padding: 7px; border-radius: 30px; background: #1C1915; box-shadow: 0 26px 50px -18px rgb(0 0 0 / .55); }
.dev-phone picture, .dev-phone img { display: block; width: 100%; height: auto; aspect-ratio: 375 / 812; object-fit: cover; object-position: top; border-radius: 23px; }
@media (prefers-reduced-motion: no-preference) {
  .dev-phone { animation: phoneFloat 7s ease-in-out infinite; }
}
@keyframes phoneFloat { 50% { transform: translateY(-10px) rotate(1deg); } }
.work__meta p.label { font-size: .78rem; line-height: 1.6; color: var(--fg-soft); max-width: none; }

/* ======================= cursor effects (desktop mouse only; JS adds .has-cursor) ======================= */
@property --ink-r { syntax: "<length>"; inherits: true; initial-value: 0px; }
.cursor { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0); }
.cursor > * { position: absolute; left: 0; top: 0; transition: transform .45s var(--ease-drop), opacity .25s; opacity: 0; }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid var(--night-fg); transform: scale(.4); }
.cursor__ball { width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center;
  font: 700 .82rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; transform: scale(0); box-shadow: 0 12px 30px -10px rgb(243 102 50 / .6); }
.cursor__page { width: 46px; margin: -30px 0 0 -10px; color: #FFF3DF; transform: scale(0) rotate(var(--crot, 0deg)); filter: drop-shadow(0 6px 6px rgb(41 37 31 / .25)); }
.cursor__page svg { width: 100%; display: block; overflow: visible; }
.cursor[data-mode="ink"] .cursor__ring { opacity: 1; transform: scale(1); }
.cursor[data-mode="view"] .cursor__ball { opacity: 1; transform: scale(1); }
.cursor[data-mode="drop"] .cursor__page { opacity: 1; transform: scale(1) rotate(var(--crot, 0deg)); transition: transform .12s linear, opacity .2s; }
.has-cursor [data-cursor="view"], .has-cursor [data-cursor="view"] a { cursor: none; }
.has-cursor [data-cursor="drop"] { cursor: none; }
.has-cursor [data-cursor="drop"] .btn { cursor: pointer; }
.has-cursor [data-cursor="ink"] .statement-wrap { cursor: none; }

/* ink: an orange light that repaints the statement */
.statement-wrap { position: relative; }
.statement--ink { position: absolute; inset: 0; margin: 0; color: var(--brand); pointer-events: none; user-select: none;
  -webkit-mask-image: radial-gradient(circle var(--ink-r) at var(--mx, 50%) var(--my, 50%), #000 0 45%, transparent 75%);
  mask-image: radial-gradient(circle var(--ink-r) at var(--mx, 50%) var(--my, 50%), #000 0 45%, transparent 75%); transition: --ink-r .5s var(--ease); }
.statement--ink em { color: var(--night-fg); }
.statement-wrap.is-lit .statement--ink { --ink-r: 170px; }
.band[data-cursor="ink"] { overflow: clip; }
.band[data-cursor="ink"]::before { content: ""; position: absolute; width: 760px; height: 760px; left: calc(var(--gx, -2000px) - 380px); top: calc(var(--gy, -2000px) - 380px);
  background: radial-gradient(circle, rgb(243 102 50 / .16), transparent 62%); pointer-events: none; opacity: 0; transition: opacity .5s; }
.band[data-cursor="ink"].is-lit::before { opacity: 1; }
.band > .wrap { position: relative; z-index: 1; }

/* tilt: cards lean toward the cursor, with a sheen */
.has-cursor [data-cursor="tilt"] { perspective: 1100px; }
.has-cursor [data-cursor="tilt"] > * { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateZ(0); transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; overflow: hidden; }
.has-cursor [data-cursor="tilt"] > *::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), rgb(255 255 255 / .55), transparent 55%); mix-blend-mode: soft-light; }
.has-cursor [data-cursor="tilt"] > .is-tilting { box-shadow: var(--shadow); transition: transform .12s linear, box-shadow .5s var(--ease); }
.has-cursor [data-cursor="tilt"] > .is-tilting::after { opacity: 1; }
.has-cursor [data-cursor="tilt"] > .is-tilting svg.art use { transition: transform .3s var(--ease); }

/* trail: dotted flight path canvas */
.trail-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* drop: pages released on click */
.cta-band .flurry { position: absolute; width: 40px; left: 0; top: 0; pointer-events: none; color: var(--fc, #FFF3DF); z-index: 0;
  animation: flurry var(--fd, 1.6s) cubic-bezier(.3,.6,.4,1) forwards; }
.cta-band .flurry svg { width: 100%; display: block; }
@keyframes flurry {
  0% { transform: translate(var(--fx0), var(--fy0)) rotate(0) scale(.4); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translate(calc(var(--fx0) + var(--fdx)), calc(var(--fy0) + var(--fdy))) rotate(var(--fr)) scale(var(--fs, 1)); opacity: 0; }
}
.work__shot { position: relative; }
.work__link { position: absolute; inset: 0; z-index: 3; }
.cursor__page path, .cta-band .flurry path { stroke: #29251F; stroke-width: 4; stroke-linejoin: round; paint-order: stroke; }

/* ======================= touch versions of the section effects ======================= */
@media (max-width: 760px) {
  .has-touchfx .swipe { perspective: 900px; }
  .has-touchfx .swipe > * { transform: rotateY(var(--swr, 0deg)) scale(var(--sws, 1)); transition: transform .12s linear, box-shadow .4s var(--ease); transform-origin: 50% 50%; }
  .has-touchfx .swipe > .is-current { box-shadow: var(--shadow); }
  .has-touchfx .gallery > a { position: relative; }
  .has-touchfx .gallery > a.is-current .shot, .has-touchfx .gallery > a .shot { box-shadow: var(--shadow); }
}
.view-badge { position: absolute; right: 14px; top: 14px; width: 66px; height: 66px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center;
  font: 700 .72rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 10px 24px -10px rgb(243 102 50 / .7);
  transform: scale(0) rotate(-20deg); transition: transform .55s var(--ease-drop); pointer-events: none; z-index: 2; }
.gallery > a.is-current .view-badge { transform: scale(1) rotate(0); }
@media (min-width: 761px) { .view-badge { display: none; } }
.has-touchfx .statement--ink { transition: --ink-r .6s var(--ease); }
.has-touchfx .statement-wrap.is-lit .statement--ink { --ink-r: 130px; }
.has-touchfx [data-cursor="trail"], .has-touchfx [data-cursor="ink"] .statement-wrap { -webkit-tap-highlight-color: transparent; }
.has-touchfx .cta-band { -webkit-tap-highlight-color: transparent; }

/* swipe rows: arrows + dots, mouse drag */
.swipe-nav { display: none; }
@media (max-width: 760px) {
  .swipe-dots { margin-top: 0; }
  .swipe-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
  .swipe-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: opacity .2s, border-color .2s, background-color .2s; }
  .swipe-btn svg { width: 18px; height: 18px; }
  .swipe-btn:hover:not(:disabled) { border-color: var(--fg); }
  .swipe-btn:disabled { opacity: .35; cursor: default; }
  .band--night .swipe-btn { background: var(--night-2); color: var(--night-fg); border-color: rgb(255 243 223 / .2); }
  .swipe { cursor: grab; }
  .swipe.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
  .swipe.is-dragging > * { pointer-events: none; transition: none; }
}

/* ======================= 1.3: language links, studio, quotes, projects ======================= */
/* Language switch: real links to /, /fr/ and /de/ */
.langs a { display: inline-grid; place-items: center; min-width: 40px; min-height: 36px; padding: 0 4px; border-radius: 999px; color: var(--fg-soft); font: 600 .78rem/1 var(--f-body); letter-spacing: .08em; text-decoration: none; transition: background-color .2s, color .2s; }
.langs a:hover { color: var(--fg); }
.langs a[aria-current="true"] { background: var(--fg); color: var(--bg); }
.header__in > .langs a { min-width: 36px; }
.footer .langs a { color: var(--night-soft); }
.footer .langs a:hover { color: var(--night-fg); }
.footer .langs a[aria-current="true"] { background: var(--night-fg); color: var(--night); }
@media (max-width: 380px) { .header__in > .langs a { min-width: 32px; } }
a.mobile-panel__mail { text-decoration: none; }

/* The studio and a client quote (home) */
.trust { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.trust--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.trust > .reveal { display: grid; gap: 22px; align-content: start; }
.about { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(22px, 3.4vw, 40px); align-items: start; }
.about__photo { width: clamp(118px, 15vw, 196px); aspect-ratio: 1; border-radius: 26px; overflow: hidden; transform: rotate(-3deg); background: var(--tint); box-shadow: var(--shadow); border: 6px solid var(--bg); }
.about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__text { display: grid; gap: 12px; justify-items: start; }
.about__text h2 { font-size: var(--s-3); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.about__role { color: var(--brand-text); font-weight: 600; }
.about__bio { color: var(--fg-soft); font-size: var(--s-0); line-height: 1.6; max-width: 46ch; margin-bottom: 6px; }
@media (max-width: 860px) { .trust { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .about { grid-template-columns: minmax(0, 1fr); } }

.quote { margin: 0; display: grid; gap: 18px; }
.quote blockquote { margin: 0; position: relative; padding-top: .55em; }
.quote blockquote::before { content: "\201C"; position: absolute; top: -.18em; left: -.04em; font: 800 4.6rem/1 var(--f-display); color: var(--brand); }
.quote blockquote p { font-family: var(--f-display); font-weight: 600; font-size: var(--s-2); line-height: 1.22; letter-spacing: -.02em; max-width: 26ch; padding-top: .5em; }
.quote figcaption { display: grid; gap: 2px; font-size: .95rem; }
.quote figcaption span { color: var(--fg-soft); }
.quote--small blockquote::before { font-size: 3rem; }
.quote--small blockquote p { font-size: var(--s-1); max-width: 34ch; padding-top: .35em; }

/* Projects without a phone screenshot */
.devices--solo { padding: 0; }

/* Contact form privacy note */
.form-note { grid-column: 1 / -1; font-size: .88rem; color: var(--fg-soft); line-height: 1.5; }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.direct a { font-family: var(--f-display); font-weight: 700; font-size: var(--s-1); text-decoration: none; color: var(--fg); }
.form-card .form-note { color: var(--night-soft); }
