/* alekszarzycka.com/pl/ style.css. Plain CSS, no frameworks. Brief: site/AGENTS.md v4 (layout v4).
   !important only in the .mo-fail rule and the reduced-motion safety net (last). */

/* Self-hosted fonts (latin + latin-ext, Polish letters). No font CDN. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 700; font-stretch: 100%; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 700; font-stretch: 100%; font-display: swap; src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-600.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-700.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/figtree-400-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/figtree-400-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F3EBDB;
  --ink: #241A20;
  --ink-muted: #5C4A40;
  --card-text: #5B4B53;
  --label: #873B20;
  --cta-top: #B5552F; --cta: #A34D2C; --cta-bottom: #8F4226;
  --tint-1: #F7DDCD; --tint-2: #F1D6BD; --tint-3: #F3E6C4; --tint-4: #F4EDE2;
  --paper: #FFFAF3;
  --dark-a: #3D2A20; --dark-b: #1B140F; --dark-solid: #2B1F18;
  --cream: #F4EDE2;
  --dark-text: #D9D0C5;
  --note-dark: #BFB3A6;
  --foot-text: #CBBFAE;
  --dark-label: #E6A37F;
  --sh: 92, 46, 24;
  --hi: 255, 252, 246;
  --radius-s: 10px; --radius-m: 14px; --radius-l: 22px;
  --f-head: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;

  --dur-fast: 0.18s;
  --dur-base: 0.4s;
  --dur-reveal: 0.7s;
  --dur-slow: 0.9s;
  --dur-scene: 1.2s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --ease-inout: cubic-bezier(0.65, 0.05, 0.36, 1);
  --stagger: 0.07s;

  --logo-h: 176px; --mast-pad: 16px; --bar-h: 64px;
  --mast-h: calc(var(--logo-h) + 2 * var(--mast-pad));
  /* Layout v4 */
  --gut: 40px; --band-pad: 128px;
  --h2: clamp(2rem, 4.4vw, 3.25rem);
  --display: clamp(2.25rem, 5.4vw, 4.25rem);
  --num: clamp(3.5rem, 7vw, 5.5rem);
  color-scheme: light;
}
@media (max-width: 959px) { :root { --gut: 28px; } }
@media (max-width: 781px) { :root { --mast-pad: 12px; --bar-h: 56px; --gut: 20px; --band-pad: 72px; } }

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-synthesis: none; font-optical-sizing: auto; }
body {
  font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: linear-gradient(180deg, #F3EBDB 0%, #F7DDCD 30%, #F5CDB8 55%, #F3E6C4 80%, #ECCCBF 100%) no-repeat;
  background-color: var(--bg); background-attachment: scroll;
  overflow-wrap: break-word; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.draft-banner { width: 100%; background: #1B140F; color: #F4EDE2; font: 500 15px/1.5 var(--f-body); padding: 8px 16px; text-align: center; }
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 200; padding: 10px 16px; min-height: 44px;
  display: inline-flex; align-items: center; background: var(--ink); color: var(--cream);
  font: 600 15px/1.4 var(--f-body); text-decoration: none; border-radius: var(--radius-s); white-space: nowrap;
}
.skip-link:focus-visible { top: 8px; outline-color: var(--cream); }

/* Type */
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(1.75rem, 9.6vw - 0.25rem, 3.6rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; max-width: 9.4em; }
@media (max-width: 781px) { h1 { line-height: 1.08; } }
h2 { font-size: var(--h2); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; max-width: 11.4em; }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
h4.step-title { font-size: 1.2rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
p { text-wrap: pretty; max-width: 65ch; }
p.eyebrow { font: 700 0.72rem/1.4 var(--f-body); text-transform: uppercase; letter-spacing: 0.2em; color: var(--label); }
p.lead { font-size: 1.15rem; line-height: 1.65; color: var(--ink-muted); max-width: 52ch; }
p.statement { font: 700 var(--display)/1.02 var(--f-head); letter-spacing: -0.035em; color: var(--ink); max-width: 9.9em; text-wrap: balance; }
p.statement .em { color: var(--label); }
p.statement-m { font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 14.2em; }
p.small { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
p.mid { font: 600 clamp(1.3rem, 2.2vw, 1.6rem)/1.3 var(--f-head); letter-spacing: -0.01em; color: var(--ink); max-width: 19.5em; }
a { color: var(--label); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gut); }

/* Header: masthead + compact sticky bar (5.6) */
.masthead { padding: var(--mast-pad) 0; border-bottom: 1px solid rgba(36,26,32,.12); }
.masthead .logo { display: block; width: 200px; }
.masthead img { display: block; width: 200px; height: auto; }
.bar {
  position: relative; z-index: 30; height: var(--bar-h);
  margin-top: calc(-1 * var(--mast-h) - 1px); margin-bottom: calc(var(--mast-h) + 1px - var(--bar-h));
  pointer-events: none;
}
.bar-in { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 24px; position: relative; }
.bar-in > * { pointer-events: auto; }
@media (max-width: 781px) { .bar-in { gap: 12px; } }
.nav-ready .bar { position: sticky; top: 0; }
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--tint-4); border-bottom: 1px solid rgba(var(--sh),.16); box-shadow: 0 10px 24px -18px rgba(var(--sh),.5);
  opacity: 0; transition: opacity var(--dur-base) var(--ease-out);
}
.mini {
  position: absolute; left: var(--gut); top: 50%; width: 32px; height: 32px; margin-top: -16px;
  opacity: 0; transform: translateX(-8px); pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.mini img { display: block; width: 32px; height: 32px; }
.prog {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--label);
  transform-origin: left; transform: scaleX(0); opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.is-compact .bar::before, .is-compact .prog { opacity: 1; }
.is-compact .mini { opacity: 1; transform: none; pointer-events: auto; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
  .prog { animation: grow linear both; animation-timeline: scroll(root block); }
  }
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .prog { display: none; } }

nav.menu { position: relative; }
nav.menu ul { display: flex; gap: 28px; list-style: none; }
nav.menu a { display: block; color: var(--ink); font: 600 0.92rem/1.4 var(--f-body); text-decoration: none; padding: 12px 0; position: relative; }
nav.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { nav.menu a:hover::after { transform: scaleX(1); transform-origin: left; } }
nav.menu a[aria-current="page"]::after { transform: scaleX(1); }
.ind {
  position: absolute; left: 0; bottom: 4px; width: 100px; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--label); transform-origin: left; pointer-events: none;
  transform: translateX(var(--ix, 0)) scaleX(var(--is, 0)); transition: transform var(--dur-base) var(--ease-inout);
}
.menu-btn {
  display: none; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 12px;
  border: 1px solid rgba(var(--sh),.26); border-radius: 10px; background: linear-gradient(180deg, #FFFAF3, #F3E7D6);
  color: var(--ink); font: 600 15px/1 var(--f-body); touch-action: manipulation; cursor: pointer;
}
.menu-btn i { display: block; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
@media (max-width: 959px) {
  html:not(.nav-ready) .bar { margin: 0; height: auto; }
  html:not(.nav-ready) .bar-in { justify-content: flex-start; }
  html:not(.nav-ready) nav.menu ul { flex-wrap: wrap; gap: 0 24px; }
  html:not(.nav-ready) nav.menu a { min-height: 48px; display: flex; align-items: center; }
  .nav-ready nav.menu { display: none; }
  .nav-ready .menu-btn { display: inline-flex; }
}
@media (max-width: 359px) { .menu-btn .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
section[id] { scroll-margin-top: var(--bar-h); }

/* Phone menu panel (5.6) */
body:has(dialog[open]) { overflow: hidden; }
dialog.panel {
  margin: 0; padding: 0; border: 0; width: 100%; max-width: none; height: 100%; max-height: none;
  background: linear-gradient(150deg, var(--dark-a), var(--dark-b)); color: var(--cream);
}
dialog.panel::backdrop { background: rgba(27,20,15,.5); }
.panel-in { min-height: 100%; display: flex; flex-direction: column; padding: 12px 20px max(24px, env(safe-area-inset-bottom)); }
.panel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel-top img { width: 200px; height: auto; display: block; }
.close-btn {
  min-width: 48px; min-height: 48px; border: 1px solid rgba(244,237,226,.3); border-radius: 10px; background: transparent;
  color: var(--cream); font: 600 15px/1 var(--f-body); cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; padding: 0 12px; touch-action: manipulation; flex: none;
}
.close-btn i { width: 14px; height: 14px; position: relative; display: block; }
.close-btn i::before, .close-btn i::after { content: ""; position: absolute; left: -2px; right: -2px; top: 6px; border-top: 2px solid currentColor; transform: rotate(45deg); }
.close-btn i::after { transform: rotate(-45deg); }
@media (max-width: 419px) { .close-btn .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
dialog.panel ul { list-style: none; margin-top: 32px; }
dialog.panel li { border-top: 1px solid rgba(244,237,226,.18); }
dialog.panel li a {
  display: flex; align-items: center; gap: 16px; min-height: 60px; color: var(--cream); text-decoration: none;
  font: 700 2rem/1.1 var(--f-head); letter-spacing: -0.02em;
}
.tabm { width: 18px; height: 12px; border-radius: 4px 4px 0 0; border: 1.5px solid rgba(244,237,226,.35); border-bottom: 0; flex: none; }
dialog.panel li a[aria-current] .tabm { background: var(--dark-label); border-color: var(--dark-label); }
dialog.panel :focus-visible { outline-color: var(--cream); }

/* Buttons (5.5) */
.btn-main {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font: 600 16px/1.2 var(--f-body); color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, var(--cta-top), var(--cta) 48%, var(--cta-bottom));
  padding: 14px 24px; border: 0; border-radius: var(--radius-s); min-height: 48px; cursor: pointer; touch-action: manipulation;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 0 rgba(0,0,0,.12), 0 1px 2px rgba(var(--sh),.3), 0 10px 20px -10px rgba(143,66,38,.65);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn-main { transition: transform var(--dur-fast) var(--ease-out); }
  .btn-main:hover { transform: translateY(-1px); }
}
.btn-wrap { margin-block-start: 24px; }
@media (max-width: 781px) { .btn-wrap .btn-main { width: 100%; } }

/* Bands (layout v4, section 3) */
.site-main { overflow-x: clip; }
.band { padding-block: var(--band-pad); position: relative; }
/* Light bands are see-through so the page-long v3 peach gradient on body shows (restored 25 Oct 2026) */
.band-l, .band-p, .band-t, .band-y { background: transparent; }
.band-d { background: linear-gradient(150deg, var(--dark-a), var(--dark-b)); color: var(--dark-text); }
.band-d h2, .band-d h3, .band-d h4 { color: #fff; }
.band-d p { color: var(--dark-text); }
.band-d p.small { color: var(--note-dark); }
.band-d p.statement { color: #fff; }
.band-d p.statement .em { color: var(--dark-label); }
.band-d a:not(.btn-main) { color: var(--cream); }
.band-d :focus-visible { outline-color: var(--cream); }

/* Head row: H2 left, intro right */
.head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 64px; }
.head > p { font-size: 1.1rem; color: var(--ink-muted); max-width: 46ch; }
.band-d .head > p { color: var(--dark-text); }
.head.solo { grid-template-columns: minmax(0, 1fr); }
.head .eyebrow + h2 { margin-top: 12px; }
.split-out { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-top: 96px; }
@media (max-width: 959px) {
  .head { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; }
  .split-out { grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
}

/* Section divider (7.4): first thing inside each band */
.divider { position: relative; height: 40px; margin: 0 0 40px; perspective: 500px; }
@media (max-width: 781px) { .divider { margin-bottom: 32px; } }
.divider .line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(var(--sh),.28); transform-origin: left; }
.divider .tab {
  position: absolute; left: 0; bottom: 0; width: 72px; height: 22px; border: 1px solid rgba(var(--sh),.28); border-bottom: 0;
  border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--paper), var(--tint-4)); transform-origin: 50% 100%;
}
.divider .tab::after { content: ""; position: absolute; left: 16px; right: 16px; top: 9px; height: 2px; border-radius: 2px; background: rgba(var(--sh),.28); }
.divider.dark .line { background: rgba(244,237,226,.22); }
.divider.dark .tab { background: linear-gradient(180deg, #4A3428, var(--dark-a)); border-color: rgba(244,237,226,.22); }
.divider.dark .tab::after { background: var(--dark-label); }

/* Cards and icon tiles */
.card {
  background: var(--tint-4); border: 1px solid rgba(var(--sh),.16); border-radius: var(--radius-m); padding: 32px;
  position: relative; overflow: clip;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(var(--sh),.08), 0 3px 8px -2px rgba(var(--sh),.1), 0 20px 38px -20px rgba(var(--sh),.38);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(var(--hi),.6), rgba(var(--hi),.14) 55%, rgba(var(--hi),0));
}
.card > * { position: relative; z-index: 1; }
.card p, .card li { color: var(--card-text); font-size: 0.98rem; }
.card a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 781px) { .card { padding: 24px; } }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-1); color: var(--label); flex: none; }
.ico svg { width: 26px; height: 26px; }
svg.i { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
ul.dots { list-style: none; display: grid; gap: 8px; }
ul.dots > li { padding-left: 22px; position: relative; }
ul.dots > li::before {
  content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E3916A, #A34D2C 72%);
}

/* 1 Hero (7.5) */
.hero-section { padding-bottom: 96px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 12px; }
.hero .eyebrow + h1 { margin-top: 8px; }
.hero h1 + .lead { margin-top: 16px; }
.hero h1 { max-width: 11em; }
@media (min-width: 960px) and (max-width: 1179px) { .hero h1 { font-size: clamp(2.25rem, 4vw, 3.6rem); } }
.hero-side { display: flex; flex-direction: column; min-width: 0; }
.hero-act { order: 2; }
.hero-act p { max-width: 44ch; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) 440px; gap: 24px 64px; align-items: start; padding-top: 32px; }
  .hero .eyebrow + h1 { margin-top: 12px; }
  .hero h1 + .lead { margin-top: 24px; }
  .hero-side { display: block; }
}
@media (max-width: 781px) { .hero-section { padding-bottom: 64px; } }

/* Hero paper pile: CSS 3D on a soft tint plate, decorative */
.stage {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .18 0 0 0 0 .09 .3 0 0 0 -.07'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --sp: 1;
  position: relative; z-index: 0; isolation: isolate; height: 300px; perspective: 1100px; margin: 0 0 16px; overflow: clip;
  border-radius: var(--radius-l); background: radial-gradient(60% 60% at 50% 55%, var(--tint-1), rgba(247,221,205,0) 70%);
}
.stage-in { position: absolute; inset: 0; transform: scale(var(--st, 0.86)); transform-style: preserve-3d; }
@media (max-width: 959px) { .stage { order: 3; height: 220px; margin: 8px 0 0; --st: 0.62; --sp: 0.8; } }
.stage .o {
  --e: 1; --lift: calc(1 - var(--e));
  position: absolute; left: 50%; top: 50%; border-radius: 4px; border: 1px solid rgba(var(--sh),.13);
  box-shadow: 0 1px 1px rgba(var(--sh),.12), 0 calc(3px + 20px * var(--lift)) calc(6px + 26px * var(--lift)) calc(-3px - 6px * var(--lift)) rgba(var(--sh), calc(.3 + .1 * var(--lift)));
  transform: translate(-50%, -50%)
  translate3d(calc(var(--lx) * var(--sp) + (var(--sx) - var(--lx) * var(--sp)) * var(--e)),
  calc(var(--ly) * var(--sp) + (var(--sy) - var(--ly) * var(--sp)) * var(--e)),
  calc(var(--lz) + (var(--sz) - var(--lz)) * var(--e)))
  rotateX(calc(var(--lrx) * var(--lift)))
  rotateY(calc(var(--lry) * var(--lift)))
  rotateZ(calc(var(--lrz) + (var(--sr) - var(--lrz)) * var(--e)));
}
.o1 { --lx: -110px; --ly: -50px; --lz: 40px; --lrx: 18deg; --lry: -22deg; --lrz: -16deg; --sx: 0px; --sy: 16px; --sz: 0px; --sr: -1deg; }
.o2 { --lx: 105px; --ly: -50px; --lz: -30px; --lrx: -14deg; --lry: 24deg; --lrz: 14deg; --sx: 2px; --sy: 12px; --sz: 1px; --sr: 1.5deg; }
.o3 { --lx: -60px; --ly: 40px; --lz: 30px; --lrx: 20deg; --lry: 10deg; --lrz: 20deg; --sx: -2px; --sy: 6px; --sz: 2px; --sr: -2deg; }
.o4 { --lx: 120px; --ly: 45px; --lz: 20px; --lrx: -20deg; --lry: -16deg; --lrz: -12deg; --sx: 0px; --sy: 2px; --sz: 3px; --sr: 1deg; }
.o5 { --lx: -125px; --ly: 40px; --lz: -40px; --lrx: 10deg; --lry: 30deg; --lrz: 24deg; --sx: -3px; --sy: -2px; --sz: 4px; --sr: -1.5deg; }
.o6 { --lx: 40px; --ly: -20px; --lz: -40px; --lrx: -22deg; --lry: -8deg; --lrz: -26deg; --sx: 2px; --sy: -6px; --sz: 5px; --sr: 2deg; }
.o7 { --lx: 20px; --ly: 40px; --lz: 30px; --lrx: 16deg; --lry: -24deg; --lrz: 10deg; --sx: 0px; --sy: -10px; --sz: 6px; --sr: -0.5deg; }
/* Printed letter: heading, text lines, a folded corner */
.o.sheet { width: 150px; height: 190px; background:
  linear-gradient(-45deg, #E6D7C0 0 12px, rgba(var(--sh),.22) 12px 13px, transparent 13px) right bottom / 26px 26px no-repeat,
  linear-gradient(118deg, rgba(255,255,255,.7), rgba(255,255,255,0) 38%),
  var(--grain), #FFFCF6; }
.o.sheet::before { content: ""; position: absolute; left: 16px; right: 16px; top: 34px; bottom: 34px; background:
  repeating-linear-gradient(180deg, transparent 0 11px, rgba(36,26,32,.16) 11px 12.5px); }
.o.sheet::after { content: ""; position: absolute; left: 16px; top: 16px; width: 64px; height: 7px; border-radius: 2px; background: rgba(36,26,32,.38); }
/* Printed table: header row and cells */
.o.sheet.tbl { background:
  linear-gradient(118deg, rgba(255,255,255,.6), rgba(255,255,255,0) 40%),
  var(--grain), #FBF5EA; }
.o.sheet.tbl::before { top: 36px; bottom: 22px; border: 1px solid rgba(36,26,32,.2); background:
  linear-gradient(180deg, rgba(163,77,44,.16) 0 16px, transparent 16px),
  linear-gradient(90deg, rgba(36,26,32,.16) 1px, transparent 1px) -1px 0 / 39px 100%,
  linear-gradient(180deg, rgba(36,26,32,.14) 1px, transparent 1px) 0 -1px / 100% 16px; }
.o.sheet.tbl::after { width: 52px; }
/* Envelope with a real flap and its shadow */
.o.env { width: 176px; height: 112px; overflow: hidden; background:
  linear-gradient(to top right, transparent calc(50% - 1px), rgba(var(--sh),.2) 50%, transparent calc(50% + 1px)) left bottom / 50% 58% no-repeat,
  linear-gradient(to top left, transparent calc(50% - 1px), rgba(var(--sh),.2) 50%, transparent calc(50% + 1px)) right bottom / 50% 58% no-repeat,
  var(--grain), #F2E8D9; }
.o.env::after { content: ""; position: absolute; inset: 0 0 auto; height: 66%; background: rgba(var(--sh),.16); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.o.env::before { content: ""; position: absolute; inset: 0 0 auto; height: 60%; z-index: 1; clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(180deg, #FAF3E8, #EADCC6); }
/* Calendar: binding strip with rings, dot grid, one marked day */
.o.cal { width: 104px; height: 112px; overflow: hidden; background:
  var(--grain), #FFFCF6; }
.o.cal::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 24px; background:
  radial-gradient(circle at 26px 12px, rgba(36,26,32,.5) 0 3px, rgba(255,250,243,.5) 3.5px 4.5px, transparent 5px),
  radial-gradient(circle at 78px 12px, rgba(36,26,32,.5) 0 3px, rgba(255,250,243,.5) 3.5px 4.5px, transparent 5px),
  linear-gradient(180deg, var(--cta-top), var(--cta-bottom)); }
.o.cal::after { content: ""; position: absolute; left: 12px; right: 12px; top: 34px; bottom: 10px; background:
  radial-gradient(circle, var(--cta) 0 4.5px, transparent 5px) 40px 20px / 20px 20px no-repeat,
  radial-gradient(circle, rgba(36,26,32,.26) 2.2px, transparent 2.7px) 0 0 / 20px 20px; }
/* Sticky note: adhesive band, handwriting, a lifted corner */
.o.note { width: 92px; height: 92px; border-radius: 2px; background:
  linear-gradient(180deg, rgba(var(--sh),.08) 0 14px, transparent 14px),
  linear-gradient(155deg, transparent 66%, rgba(var(--sh),.12)),
  var(--grain), #F4E5BE; }
.o.note::before { content: ""; position: absolute; left: 12px; right: 18px; top: 28px; height: 44px; background: repeating-linear-gradient(180deg, transparent 0 12px, rgba(135,59,32,.4) 12px 13.5px); border-radius: 2px; }
/* Finished document: tab, lines, a round "done" stamp */
.o.done { width: 150px; height: 190px; background:
  radial-gradient(circle at 40px calc(100% - 38px), transparent 0 13px, rgba(135,59,32,.6) 13px 15px, transparent 15.5px),
  radial-gradient(circle at 40px calc(100% - 38px), rgba(163,77,44,.14) 0 13px, transparent 13.5px),
  linear-gradient(118deg, rgba(255,255,255,.7), rgba(255,255,255,0) 38%),
  var(--grain), #FFFDF9; }
.o.done::before { content: ""; position: absolute; right: 18px; top: -14px; width: 44px; height: 16px; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--cta-top), var(--cta-bottom)); }
.o.done::after { content: ""; position: absolute; left: 16px; right: 40px; top: 24px; bottom: 76px; background:
  linear-gradient(rgba(36,26,32,.36), rgba(36,26,32,.36)) 0 0 / 70% 7px no-repeat,
  repeating-linear-gradient(180deg, transparent 0 11px, rgba(36,26,32,.16) 11px 12.5px) 0 18px / 100% calc(100% - 18px) no-repeat; }

/* 2 Workflow video on the dark band (6): autoplay loop, steps follow the video time */
.wf { display: grid; gap: 32px; }
@media (min-width: 782px) { .wf { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; } }
@media (min-width: 960px) { .wf { gap: 72px; } }
.wf-frame {
  position: relative; border-radius: var(--radius-l); aspect-ratio: 860 / 900; background: var(--dark-solid); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(244,237,226,.12), 0 40px 80px -40px rgba(0,0,0,.7);
}
@media (max-width: 781px) { .wf-frame { width: min(100%, 520px); margin-inline: auto; } }
.wf-frame img, .wf-frame video, .reorder-frame img, .reorder-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wf-frame video, .reorder-frame video, .reel video { opacity: 0; transition: opacity 0.2s ease; }
h3.ex-label { font: 700 0.78rem/1.4 var(--f-body); text-transform: uppercase; letter-spacing: 0.18em; color: var(--dark-label); margin-bottom: 20px; }
ol.wf-steps { list-style: none; display: flex; flex-direction: column; gap: 16px; }
ol.wf-steps > li { display: grid; }
.step {
  position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 16px; padding: 28px 28px 28px 20px;
  border-radius: var(--radius-m); background: rgba(244,237,226,.06); border: 1px solid rgba(244,237,226,.12);
}
.step::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: rgba(244,237,226,.05); border: 1px solid rgba(230,163,127,.55); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) { .step::before { transition: opacity var(--dur-base) var(--ease-out); } }
ol.wf-steps > li[aria-current="step"] .step::before { opacity: 1; }
.step > * { position: relative; }
.step .n { font: 700 var(--num)/0.9 var(--f-head); color: var(--dark-label); letter-spacing: -0.04em; }
.step h4 { margin-bottom: 6px; }
.step p { font-size: 0.98rem; max-width: 46ch; }
@media (max-width: 959px) { .step { grid-template-columns: 64px minmax(0, 1fr); padding: 20px; } }
.video-pause-btn {
  position: absolute; bottom: 12px; right: 12px; z-index: 5; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(244,237,226,.96); border: 1px solid rgba(var(--sh),.16); cursor: pointer; touch-action: manipulation;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(var(--sh),.2);
}
.video-pause-btn svg { width: 18px; height: 18px; fill: var(--ink); pointer-events: none; }

/* 3 Pains: bento */
.bento { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento .card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 190px; }
.bento .card p { font: 600 1.1rem/1.4 var(--f-head); letter-spacing: -0.005em; color: var(--ink); }
.bento .c1, .bento .c2 { grid-column: span 3; }
.bento .c1 p, .bento .c2 p { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; }
.bento .c3, .bento .c4, .bento .c5 { grid-column: span 2; }
.bento .c6 { grid-column: span 6; flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; min-height: 0; background: var(--ink); border-color: var(--ink); }
.bento .c6::before { display: none; }
.bento .c6 p { color: var(--cream); font-size: clamp(1.2rem, 2vw, 1.5rem); }
.bento .c6 .ico { background: rgba(244,237,226,.1); color: var(--dark-label); }
p.pain-out { margin-top: 96px; }
@media (max-width: 959px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .c1, .bento .c2, .bento .c6 { grid-column: span 2; }
  .bento .c3, .bento .c4, .bento .c5 { grid-column: span 1; }
  .bento .c5 { grid-column: span 2; }
  p.pain-out { margin-top: 56px; }
}
@media (max-width: 599px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bento > .card { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; min-height: 0; padding: 18px 20px; }
  .bento .card .ico { width: 44px; height: 44px; }
  .bento .card p, .bento .c1 p, .bento .c2 p, .bento .c6 p { font-size: 1.05rem; }
}

/* 4 Second example: media with plate, timeline */
.ex2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; align-items: center; }
.ex2-media { position: relative; }
.ex2-media::before { content: ""; position: absolute; inset: 40px -24px -24px 40px; border-radius: var(--radius-l); background: var(--tint-1); }
.reorder-frame {
  position: relative; border-radius: var(--radius-l); aspect-ratio: 860 / 1000; background: var(--tint-4); overflow: hidden;
  border: 1px solid rgba(var(--sh),.14); box-shadow: 0 30px 60px -30px rgba(var(--sh),.5);
}
.ex2-text h3 { margin-top: 24px; }
.ex2-text h3 + p { margin-top: 8px; color: var(--ink-muted); }
.ex2-text p.small { margin-top: 24px; }
.ex2-text p.statement { margin-top: 32px; }
ol.timeline { list-style: none; counter-reset: st; display: grid; gap: 16px; position: relative; margin-top: 32px; }
ol.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; border-left: 2px dashed rgba(var(--sh),.28); }
ol.timeline > li { counter-increment: st; position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: center; }
ol.timeline > li::before, ol.timeline > li::after {
  content: counter(st); grid-column: 1; grid-row: 1; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1.2rem/1 var(--f-head);
}
ol.timeline > li::before { position: relative; z-index: 1; color: #fff; background: linear-gradient(180deg, var(--cta-top), var(--cta-bottom)); box-shadow: 0 0 0 6px var(--bg); }
ol.timeline > li::after { position: absolute; left: 0; top: 50%; margin-top: -24px; z-index: 0; color: var(--label); background: var(--bg); border: 1.5px solid #A34D2C; }
.tl-card {
  grid-column: 2; grid-row: 1; display: block; padding: 18px 22px; border-radius: var(--radius-m); background: var(--paper);
  border: 1px solid rgba(var(--sh),.14); color: var(--card-text); font-size: 0.98rem; box-shadow: 0 10px 24px -18px rgba(var(--sh),.4);
}
@media (max-width: 959px) { .ex2 { grid-template-columns: minmax(0, 1fr); } .ex2-media { max-width: 520px; } .ex2-media::before { inset: 24px -12px -12px 24px; } }

/* 5 Offer: one wide free-call card, then four price cards with one structure (name, price, time, sentence, note) */
#oferta { overflow-x: clip; }
.offer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; perspective: 1200px; position: relative; }
.price-card { grid-row: span 5; display: grid; grid-template-rows: subgrid; row-gap: 0; padding: 26px 24px 22px; }
.price-card h3 { grid-row: 1; font-size: 1.22rem; line-height: 1.2; letter-spacing: -0.01em; }
.price-card .c-price { grid-row: 2; margin-top: 16px; font: 700 clamp(1.75rem, 2.2vw, 2rem)/1.1 var(--f-head); letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.price-card .c-from, .price-card .c-per { font-size: 0.5em; font-weight: 600; letter-spacing: 0; color: var(--ink-muted); }
.price-card .c-time { grid-row: 3; margin-top: 4px; min-height: 1.5em; font-size: 0.9rem; line-height: 1.5; font-weight: 600; color: var(--label); }
.price-card .c-text { grid-row: 4; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(var(--sh),.14); }
.price-card .c-foot { grid-row: 5; margin-top: 10px; align-self: end; }
.price-card .c-foot.small { margin-top: 14px; font-size: 0.88rem; line-height: 1.5; color: var(--ink-muted); }
@supports not (grid-template-rows: subgrid) {
  .price-card { display: flex; flex-direction: column; }
  .price-card h3 { min-height: 2.4em; }
  .price-card .c-foot { margin-top: auto; padding-top: 14px; }
}
/* The free call: one long card above the others */
.offer .start-card {
  grid-column: 1 / -1; grid-row: auto; grid-template-rows: auto auto;
  grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.5fr) auto; column-gap: 40px; align-items: center; padding: 24px 32px;
}
.start-card h3 { grid-row: 1 / 3; grid-column: 1; font-size: 1.4rem; }
.start-card .c-price { grid-row: 1; grid-column: 2; margin-top: 0; align-self: end; }
.start-card .c-time { grid-row: 2; grid-column: 2; align-self: start; min-height: 0; }
.start-card .c-text { grid-row: 1 / 3; grid-column: 3; margin-top: 0; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid rgba(var(--sh),.14); }
.start-card .c-foot { grid-row: 1 / 3; grid-column: 4; margin-top: 0; align-self: center; }
.btn-sec {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; white-space: nowrap;
  border: 1.5px solid var(--label); border-radius: var(--radius-s); background: var(--paper); color: var(--label);
  font: 600 16px/1.2 var(--f-body); text-decoration: none; touch-action: manipulation;
}
.card a.btn-sec { min-height: 48px; }
@media (hover: hover) and (pointer: fine) { .btn-sec:hover { background: var(--label); color: var(--paper); } }
@media (max-width: 1099px) {
  .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer .start-card { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 0; align-items: baseline; }
  .start-card h3 { grid-row: 1; grid-column: 1 / 3; }
  .start-card .c-price { grid-row: 2; grid-column: 1; margin-top: 10px; align-self: baseline; }
  .start-card .c-time { grid-row: 2; grid-column: 2; align-self: baseline; }
  .start-card .c-text { grid-row: 3; grid-column: 1 / 3; margin-top: 14px; padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(var(--sh),.14); }
  .start-card .c-foot { grid-row: 1 / 4; grid-column: 3; margin: 0 0 0 20px; align-self: center; }
}
@media (max-width: 599px) {
  .offer { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .price-card, .offer .start-card { grid-column: auto; grid-row: auto; display: grid; grid-template-rows: none; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 18px 20px; }
  .price-card > *, .start-card > * { grid-row: auto; grid-column: 1 / -1; }
  .price-card h3 { min-height: 0; font-size: 1.15rem; }
  .price-card .c-price, .start-card .c-price { grid-column: 1; grid-row: auto; margin-top: 8px; font-size: 1.75rem; align-self: baseline; }
  .price-card .c-time, .start-card .c-time { grid-column: 2; grid-row: auto; margin-top: 0; min-height: 0; justify-self: start; }
  .price-card div.c-time:empty { display: none; }
  .price-card .c-text, .start-card .c-text { margin-top: 12px; padding: 12px 0 0; border-left: 0; border-top: 1px solid rgba(var(--sh),.14); }
  .price-card .c-foot { margin-top: 6px; padding-top: 0; }
  .start-card h3, .start-card .c-text, .start-card .c-foot { grid-column: 1 / -1; grid-row: auto; }
  .start-card .c-foot { margin: 14px 0 0; }
  .start-card .btn-sec { width: 100%; }
  .price-card .c-foot.small { margin-top: 8px; }
}

/* 5b Portfolio: three cards, image slot first; a swipe row under 960 px */
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pf-grid:focus-visible { outline-offset: 6px; border-radius: var(--radius-m); }
.pf-card { padding: 0; display: flex; flex-direction: column; background: var(--bg); }
.pf-media { position: relative; aspect-ratio: 4 / 3; background: var(--tint-1); border-bottom: 1px solid rgba(var(--sh),.1); overflow: hidden; }
.pf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pf-body h3 { font-size: 1.35rem; }
.pf-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.pf-wide .pf-body { justify-content: center; }
.pf-media.pf-reels { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 28px; border-bottom: 0; border-right: 1px solid rgba(var(--sh),.1); }
.reel { position: relative; aspect-ratio: 540 / 676; border-radius: var(--radius-m); overflow: hidden; background: var(--tint-4); border: 1px solid rgba(var(--sh),.14); box-shadow: 0 20px 40px -24px rgba(var(--sh),.5); }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) {
  .pf-grid {
    display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 20px; scroll-padding-inline: var(--gut);
    scrollbar-width: thin; scrollbar-color: rgba(var(--sh),.35) transparent;
  }
  .pf-grid > .pf-card { flex: 0 0 min(84%, 330px); scroll-snap-align: start; }
  .pf-wide { display: flex; }
  .pf-wide .pf-body { justify-content: flex-start; }
  .pf-media.pf-reels { border-right: 0; border-bottom: 1px solid rgba(var(--sh),.1); padding: 16px; gap: 12px; }
  .pf-media:not(.pf-reels) { aspect-ratio: 16 / 9; }
  .pf-body { padding: 20px 20px 24px; gap: 10px; }
  .pf-body h3 { font-size: 1.2rem; }
  .pf-card ul.dots { gap: 4px; }
  .reel .video-pause-btn { bottom: 2px; right: 2px; width: 44px; height: 44px; background: none; border: 0; box-shadow: none; }
  .reel .video-pause-btn::before {
    content: ""; position: absolute; inset: 4px; border-radius: 50%; z-index: -1;
    background: rgba(244,237,226,.96); border: 1px solid rgba(var(--sh),.16); box-shadow: 0 2px 8px rgba(var(--sh),.2);
  }
  .reel .video-pause-btn svg { width: 14px; height: 14px; }
  .reel .video-pause-btn:focus-visible { outline-offset: -2px; border-radius: 50%; }
}

/* 6 Promises */
.promises { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.promises .ico { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px; }
.promises p { font: 600 1.1rem/1.4 var(--f-head); letter-spacing: -0.005em; color: var(--ink); }
.promises p { max-width: 24ch; }
@media (max-width: 959px) { .promises { gap: 32px 24px; } }
@media (max-width: 599px) {
  .promises { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .promises li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; }
  .promises .ico { margin: 0; width: 48px; height: 48px; }
  .promises p { font-size: 1.05rem; max-width: none; }
}

.data-card { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px 40px; align-items: center; padding: 28px 32px; background: var(--paper); }
.data-card h3 { font-size: 1.3rem; }
.data-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.data-list li { display: flex; align-items: center; gap: 14px; }
.data-list .ico { width: 40px; height: 40px; border-radius: 50%; }
.data-list .ico svg { width: 21px; height: 21px; }
.card.data-card .data-list p { font-size: 0.95rem; line-height: 1.45; color: var(--ink); }
@media (max-width: 1099px) { .data-card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 781px) { .data-card { margin-top: 32px; padding: 24px 20px; } .data-list { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* 7 Tools: Claude tile + two lines */
.toolbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 24px 40px; align-items: stretch; }
.claude { background: var(--ink); border-color: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 40px; }
.claude::before { display: none; }
.claude .name { font: 700 clamp(3rem, 6vw, 4.5rem)/1 var(--f-head); color: #fff; letter-spacing: -0.04em; }
.card.claude p { color: var(--dark-text); font-size: 1.05rem; }
.tools-side { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 8px 0; }
.tools-side p.tools-own { color: var(--ink-muted); max-width: 34em; padding-top: 20px; border-top: 1px solid rgba(var(--sh),.18); }
p.tools-out { margin-top: 64px; }
@media (max-width: 959px) { .toolbox { grid-template-columns: minmax(0, 1fr); } .claude { padding: 32px 24px; } p.tools-out { margin-top: 40px; } }
@media (max-width: 599px) {
  .claude { padding: 24px 20px; gap: 12px; } .claude .name { font-size: 2.5rem; }
}

/* 8 About: large photo + text */
.about { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px 80px; align-items: start; }
.photo { position: relative; width: 100%; max-width: 300px; margin-left: 20px; }
.photo::before { content: ""; position: absolute; inset: -20px 32px 32px -20px; border-radius: var(--radius-l); background: var(--tint-1); }
.photo img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: var(--radius-l); box-shadow: 0 30px 60px -30px rgba(var(--sh),.55); }
.photo figcaption { position: relative; font: italic 400 0.8rem/1.4 var(--f-body); color: var(--ink-muted); margin-top: 12px; }
.about-text h2 + .lead { margin-top: 24px; }
.about-text .lead + p { margin-top: 16px; color: var(--ink-muted); }
.about { align-items: center; }
@media (max-width: 959px) { .about { grid-template-columns: minmax(0, 1fr); } .photo { max-width: 280px; } }
@media (max-width: 599px) {
  .about { gap: 32px; }
  .photo { margin: 20px 12px 0 20px; max-width: 240px; } .photo::before { inset: -12px 20px 20px -12px; }
}

/* 9 FAQ: two questions side by side */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 24px; align-items: start; }
details.faq-item { background: var(--paper); border: 1px solid rgba(var(--sh),.14); border-radius: var(--radius-m); box-shadow: 0 10px 24px -18px rgba(var(--sh),.4); }
details.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; min-height: 48px; position: relative;
  font: 600 1.1rem/1.35 var(--f-head); letter-spacing: -0.01em; color: var(--ink);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; margin-top: -14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--tint-1); color: var(--label); font: 600 20px/28px var(--f-body); text-align: center;
}
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item summary:focus-visible { outline-offset: -3px; border-radius: var(--radius-m); }
details.faq-item > p { padding: 0 24px 22px; color: var(--ink-muted); font-size: 0.98rem; }
@media (max-width: 959px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* 10 Contact (dark band) */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.contact h2 { font-size: var(--display); line-height: 1.02; max-width: 8.65em; letter-spacing: -0.035em; }
.contact-text h2 + p { margin-top: 24px; font-size: 1.1rem; }
.contact p.contact-mail { margin-top: 32px; font: 600 clamp(1.15rem, 1.8vw, 1.35rem)/1.4 var(--f-head); color: #fff; overflow-wrap: anywhere; }
.contact p.contact-mail a { color: var(--cream); }
.contact-art svg { width: 100%; height: auto; max-width: 380px; margin-inline: auto; display: block; }
@media (max-width: 959px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact-art { order: -1; } .contact-art svg { max-width: 200px; margin: 0; } }

/* 11 Footer: full-width dark band */
.site-footer { background: var(--dark-b); padding: 64px 0 48px; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer-logo img { width: 240px; height: auto; }
.footer-lines { display: flex; flex-direction: column; gap: 4px; }
.footer-lines p { font-size: 0.92rem; color: var(--foot-text); line-height: 1.5; max-width: none; }
.footer-lines a { color: var(--cream); font-weight: 400; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer :focus-visible { outline-color: var(--cream); }
@media (max-width: 781px) { .site-footer { padding: 48px 0 40px; } .footer-logo img { width: 220px; } }

/* Privacy policy page: simple reading layout */
.legal { padding-top: 64px; }
.legal-wrap { max-width: calc(760px + 2 * var(--gut)); }
.legal h1 { max-width: none; font-size: var(--h2); }
.legal-block { margin-top: 48px; }
.legal-block h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; max-width: none; }
.legal-block h2 + * { margin-top: 16px; }
.legal-block p + p { margin-top: 12px; }
.legal-block ul.dots { gap: 12px; }
.legal-block li, .legal-block p { color: var(--ink-muted); }
.legal .small { margin-top: 48px; }
@media (max-width: 781px) { .legal { padding-top: 40px; } .legal-block { margin-top: 40px; } }

/* Phone tightening: shorter page under 600 px, same parts and type scale */
@media (max-width: 599px) {
  :root { --band-pad: 48px; }
  .divider { height: 28px; margin-bottom: 24px; }
  .head { margin-bottom: 28px; gap: 16px; }
  .hero-section { padding-bottom: 48px; }
  .stage { height: 160px; --st: 0.5; --sp: 0.7; }
  .wf { gap: 24px; }
  h3.ex-label { margin-bottom: 14px; }
  ol.wf-steps { gap: 10px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 16px; }
  .step .n { font-size: 2.6rem; }
  .split-out { margin-top: 40px; gap: 16px; }
  p.pain-out { margin-top: 40px; }
  .bento > .card { padding: 14px 16px; gap: 14px; }
  .bento .card .ico { width: 40px; height: 40px; }
  .bento .card .ico svg { width: 22px; height: 22px; }
  .ex2 { gap: 32px; }
  .ex2-media { max-width: 300px; }
  .ex2-text h3 { margin-top: 16px; }
  ol.timeline { margin-top: 24px; gap: 10px; }
  .tl-card { padding: 14px 16px; }
  .ex2-text p.small { margin-top: 16px; }
  .ex2-text p.statement { margin-top: 20px; }
  .photo { max-width: 220px; }
  .contact p.contact-mail { margin-top: 24px; }
  .contact-art svg { max-width: 140px; }
  .site-footer { padding: 40px 0 32px; }
  .footer-in { gap: 24px; }
  .footer-logo img { width: 180px; }
}

/* Motion system (7). Base CSS above is the finished state; start states only with JS and motion allowed. */
@media (prefers-reduced-motion: no-preference) {
  .motion-ready [data-reveal="head"],
  .motion-ready [data-reveal="text"],
  .motion-ready [data-reveal="item"] {
  opacity: 0;
  transform: perspective(1200px) translateY(24px) rotateX(6deg);
  transform-origin: 50% 0;
  }
  .motion-ready [data-reveal="fade"] { opacity: 0; }
  .motion-ready [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-reveal) var(--ease-out) var(--d, 0s), transform var(--dur-reveal) var(--ease-out) var(--d, 0s);
  }
  .motion-ready [data-reveal="fade"].is-in { transition: opacity var(--dur-base) var(--ease-out) var(--d, 0s); }
  .motion-ready [data-reveal].is-instant { transition: none; }
  /* Offer cards arrive from the sides (7.6): free call drops in first, the four price cards turn in like cubes */
  .motion-ready .offer[data-reveal] > .card { opacity: 0; transform: var(--from); }
  .motion-ready .offer[data-reveal].is-in > .card { opacity: 1; transform: none; transition: transform 0.62s var(--ease-out) var(--cd, 0s), opacity 0.3s linear var(--cd, 0s); }
  .motion-ready .offer[data-reveal].is-instant > .card { transition: none; }
  .offer > .start-card { --from: translateY(-56px) rotateX(16deg); }
  .offer > .card:nth-child(2) { --from: translateX(-56vw) rotateY(42deg); --cd: 0.08s; }
  .offer > .card:nth-child(3) { --from: translateX(-30vw) rotateY(26deg); --cd: 0.14s; }
  .offer > .card:nth-child(4) { --from: translateX(30vw) rotateY(-26deg); --cd: 0.2s; }
  .offer > .card:nth-child(5) { --from: translateX(56vw) rotateY(-42deg); --cd: 0.26s; }
  @media (max-width: 1099px) {
  .offer > .card:nth-child(2), .offer > .card:nth-child(4) { --from: translateX(-50vw) rotateY(32deg); }
  .offer > .card:nth-child(3), .offer > .card:nth-child(5) { --from: translateX(50vw) rotateY(-32deg); }
  }
  @media (max-width: 599px) {
  .offer > .card:nth-child(2), .offer > .card:nth-child(4) { --from: translateX(-60vw) rotateY(24deg); }
  .offer > .card:nth-child(3), .offer > .card:nth-child(5) { --from: translateX(60vw) rotateY(-24deg); }
  }
  /* Divider (7.4) */
  .motion-ready .divider[data-reveal] .line { transform: scaleX(0); }
  .motion-ready .divider[data-reveal] .tab { transform: rotateX(-88deg); opacity: 0; }
  .motion-ready .divider.is-in .line { transform: scaleX(1); transition: transform var(--dur-slow) var(--ease-out); }
  .motion-ready .divider.is-in .tab { transform: none; opacity: 1; transition: transform 0.6s var(--ease-out) 0.15s, opacity 0.2s linear 0.15s; }
  .motion-ready .divider.is-instant .line, .motion-ready .divider.is-instant .tab { transition: none; }
  /* Timeline badges fill (7.7) */
  .motion-ready ol.timeline > li[data-reveal]:not(.is-in)::before { opacity: 0; }
  .motion-ready ol.timeline > li[data-reveal].is-in::before { transition: opacity 0.4s var(--ease-out) calc(var(--d, 0s) + 0.2s); }
  .motion-ready ol.timeline > li[data-reveal].is-instant::before { transition: none; }
  /* Hero pile: loose at first paint, idle drift (7.5) */
  .js .stage .o { --e: 0; animation: drift 7s ease-in-out infinite alternate; }
  .js .stage .o1 { animation-duration: 7s; animation-delay: -1s; }
  .js .stage .o2 { animation-duration: 8.5s; animation-delay: -4s; }
  .js .stage .o3 { animation-duration: 6s; animation-delay: -2.5s; }
  .js .stage .o4 { animation-duration: 9s; animation-delay: -6s; }
  .js .stage .o5 { animation-duration: 7.5s; animation-delay: -3s; }
  .js .stage .o6 { animation-duration: 6.5s; animation-delay: -5s; }
  .js .stage .o7 { animation-duration: 8s; animation-delay: -0.5s; }
  .js .stage.pile-settled .o { animation-play-state: paused; }
  /* FAQ answer (7.8) */
  details.faq-item[open] > p { animation: faq-in 0.3s var(--ease-out) both; }
  /* Menu panel (5.6) */
  dialog.panel[open] .panel-in { animation: sheet-in 0.45s var(--ease-out) both; }
  dialog.panel[open] li { animation: item-in var(--dur-base) var(--ease-out) both; animation-delay: calc(0.12s + var(--i, 0) * var(--stagger)); }
  dialog.panel.is-closing { animation: sheet-out 0.25s var(--ease-in) both; }
  dialog.panel.is-closing::backdrop { animation: fade-out 0.25s var(--ease-in) both; }
}
.mo-fail [data-reveal], .mo-fail [data-reveal] * { opacity: 1 !important; transform: none !important; }
.mo-fail .stage .o { --e: 1; animation: none; }
dialog.panel li:nth-child(2) { --i: 1; }
dialog.panel li:nth-child(3) { --i: 2; }
dialog.panel li:nth-child(4) { --i: 3; }
dialog.panel li:nth-child(5) { --i: 4; }
@keyframes drift { to { translate: 0 -4px; } }
@keyframes faq-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes sheet-in { from { opacity: 0; transform: perspective(1200px) translateY(-16px) rotateX(-8deg); } }
@keyframes item-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes fade-out { to { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) and (max-width: 781px) {
  .motion-ready [data-reveal="head"], .motion-ready [data-reveal="text"], .motion-ready [data-reveal="item"] {
  transform: perspective(1200px) translateY(16px) rotateX(6deg);
  }
  .motion-ready [data-reveal].is-in { transition-duration: 0.6s; }
}
/* Light parallax, one element only (7.9) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .js .reorder-frame { animation: plx linear both; animation-timeline: view(); }
  }
}
@keyframes plx { from { translate: 0 0; } to { translate: 0 -24px; } }

/* Reduced-motion safety net (always last) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
