
.x4 { --x-bg: #0b0908; --x-cream: #f2ece4; --x-ink: #f4efe9; --x-ink2: rgba(244,239,233,.66); --x-acc: var(--color-accent, #e2603f); --x-pad: max(24px, calc((100vw - 1320px) / 2)); background: var(--x-bg); }
.x4 main > section { position: relative; }
.x-in { padding-inline: var(--x-pad); }
.x-lab { margin: 0 0 18px; display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--x-acc); }
.x-lab::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.x-h2 { margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.035em; line-height: .92; font-size: clamp(2.4rem, 5.4vw, 5.6rem); }
.x-h2 em, .x-h1 em { font-style: normal; color: var(--x-acc); }
.x-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.x-link svg, .x-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.x-link:hover { color: var(--x-acc); }
.x-btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 28px; background: var(--x-acc); color: #140d0b; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; white-space: nowrap; transition: background 200ms ease; }
.x-btn:hover { background: #fff; }

/* hero */
.x-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 110px; color: var(--x-ink); overflow: hidden; background: radial-gradient(70% 60% at 85% 10%, rgba(226,96,63,.18), transparent 60%), var(--x-bg); }
.x-hero .x-in { padding-bottom: clamp(28px, 5vh, 56px); }
.x-kick { margin: 0 0 clamp(18px, 3vh, 32px); display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--x-ink2); }
.x-kick span { width: 8px; height: 8px; background: var(--x-acc); border-radius: 50%; box-shadow: 0 0 0 6px rgba(226,96,63,.18); }
.x-h1 { margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.045em; line-height: .86; font-size: clamp(3.6rem, 12.4vw, 13.5rem); }
.x-h1 > * { display: inline-block; opacity: 0; transform: translateY(40%); animation: xup 1000ms cubic-bezier(.2,.75,.25,1) forwards; }
.x-h1 > :nth-child(2) { animation-delay: 110ms; } .x-h1 > :nth-child(3) { animation-delay: 220ms; display: block; }
.x-row { margin-top: clamp(24px, 4vh, 44px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.14); padding-top: clamp(20px, 3vh, 32px); opacity: 0; animation: xfade 900ms ease 600ms forwards; }
.x-row p { margin: 0; max-width: 34ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--x-ink2); line-height: 1.45; }
.x-strip { position: relative; height: clamp(150px, 24vh, 240px); transform: rotate(-3deg) translateY(10px); margin: 0 -40px -20px; overflow: hidden; }
.x-strip-t { display: flex; gap: 10px; width: max-content; height: 100%; animation: xrun 60s linear infinite; }
.x-strip img { height: 100%; width: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.9); }

/* hero: collage revealed by the cursor */
.x-hero { position: relative; isolation: isolate; }
.x-clg { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 1fr; gap: 6px; padding: 6px; opacity: 0; transition: opacity 500ms ease;
  -webkit-mask-image: radial-gradient(circle var(--rr, 260px) at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
          mask-image: radial-gradient(circle var(--rr, 260px) at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%); }
.x-clg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.75); border-radius: 4px; }
.x-clg img:nth-child(3n) { grid-row: span 2; }
.x-clg img:nth-child(5n) { grid-column: span 2; }
.x-hero.lit .x-clg { opacity: 1; }
.x-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(11,9,8,.15) 0%, rgba(11,9,8,.35) 60%, var(--x-bg) 100%); }
.xf.lit .x-clg { opacity: 1; }
footer.xf > .x-clg { position: absolute !important; inset: 0 !important; z-index: -1 !important; padding: 6px !important;
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%) !important;
          mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%) !important; }
.xf::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(7,6,5,.2), rgba(7,6,5,.45)); }
.xf-bot { z-index: 1; }
.x-hero .x-h1, .x-hero .x-kick, .x-hero .x-row { position: relative; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
@media (hover: none) { .x-clg { --rr: 200px; } }
@keyframes xrun { to { transform: translateX(-50%); } }
@keyframes xup { to { opacity: 1; transform: none; } }
@keyframes xfade { to { opacity: 1; } }


/* hero reveal collage */
.x-hero { position: relative; }
.x-hero > .x-in, .x-hero > .x-strip { position: relative; z-index: 1; }
.x-clg { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 6px; padding: 6px; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle var(--r, 0px) at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.85) 45%, transparent 100%);
  mask-image: radial-gradient(circle var(--r, 0px) at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.85) 45%, transparent 100%); }
.x-clg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.62); }
.x-clg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle calc(var(--r, 0px) * .9) at var(--mx, 50%) var(--my, 50%), rgba(226,96,63,.18), transparent 70%); }
.xf.lit .x-clg { opacity: 1; }
footer.xf > .x-clg { position: absolute !important; inset: 0 !important; z-index: -1 !important; padding: 6px !important;
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%) !important;
          mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%) !important; }
.xf::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(7,6,5,.2), rgba(7,6,5,.45)); }
.xf-bot { z-index: 1; }
.x-hero .x-h1, .x-hero .x-kick, .x-hero .x-row { text-shadow: 0 2px 30px rgba(0,0,0,.55); }
@media (max-width: 40rem) { .x-clg { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .x-clg { display: none; } }

/* point of view (cream) */
.x-pov { background: var(--x-cream); color: #15100e; padding-block: clamp(80px, 14vh, 160px); }
.x-pov-g { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.x-pov .x-h2 { color: #15100e; }
.x-pov-t p { margin: 0 0 18px; font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.55; color: #4a403b; }
.x-pov-t p:first-child { color: #15100e; font-weight: 500; }
.x-pov .x-link { margin-top: 10px; color: #15100e; }

/* services: giant words */
.x-serv { background: var(--x-bg); color: var(--x-ink); padding-block: clamp(80px, 14vh, 150px); overflow: hidden; }
.x-words { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.x-words li { border-bottom: 1px solid rgba(255,255,255,.12); }
.x-words a { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: clamp(10px, 1.6vh, 18px) var(--x-pad); color: var(--x-ink); text-decoration: none; }
.x-words b { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.045em; line-height: .95; font-size: clamp(2.6rem, 8.2vw, 8.6rem); transition: color 300ms ease, transform 500ms cubic-bezier(.2,.75,.25,1); }
.x-words span { display: flex; align-items: center; gap: 14px; color: var(--x-ink2); text-align: right; max-width: 26ch; transition: color 300ms ease; }
.x-words span svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.x-words a:hover b { color: var(--x-acc); transform: translateX(16px); }
.x-words a:hover span { color: var(--x-ink); }
.x-words:hover a:not(:hover) b { color: rgba(244,239,233,.22); }
.x-peek { position: fixed; z-index: 1; left: 0; top: 0; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-3deg); transition: opacity 250ms ease, transform 350ms cubic-bezier(.2,.75,.25,1); border-radius: 6px; overflow: hidden; }
.x-peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.x-peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 250ms ease; }
.x-peek img.on { opacity: 1; }

/* numbers (accent) */
.x-num { background: var(--x-acc); color: #140d0b; padding-block: clamp(70px, 12vh, 130px); }
.x-num .x-lab { color: #140d0b; }
.x-num-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(20,13,11,.3); }
.x-num-g > div { padding: 28px 28px 0 0; display: grid; gap: 10px; }
.x-num-g > div + div { padding-left: 28px; border-left: 1px solid rgba(20,13,11,.3); }
.x-num-g b { font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em; line-height: .9; font-size: clamp(3rem, 6.4vw, 6.8rem); }
.x-num-g b i { font-style: normal; font-size: .38em; margin: 0 .18em; letter-spacing: 0; }
.x-num-g span { font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 22ch; }

/* method (cream) */
.x-met { background: var(--x-cream); color: #15100e; padding-block: clamp(80px, 14vh, 150px); }
.x-met .x-h2 { color: #15100e; }
.x-met-h { margin-bottom: clamp(40px, 7vh, 72px); }
.x-ph { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; border-top: 2px solid #15100e; }
.x-ph li { position: relative; padding: 26px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.x-ph li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; background: var(--x-acc); transform: rotate(45deg) scale(0); transition: transform 500ms cubic-bezier(.3,1.4,.5,1) var(--d, 0ms); }
.x-met.on .x-ph li::before { transform: rotate(45deg) scale(1); }
.x-ph h3 { margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.3rem, 1.9vw, 1.9rem); }
.x-ph p { margin: 0; color: #4a403b; max-width: 26ch; }

/* 8 su 10 */
.x4 .stay .stay-p { opacity: 1 !important; transform: none !important; margin-top: 22px; max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--x-ink2); }
.x4 .stay .stay-p b { color: var(--x-ink); font-weight: 500; }

/* cases */
.x-cases { background: var(--x-bg); color: var(--x-ink); padding-block: clamp(80px, 14vh, 150px); }
.x-cases-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vh, 56px); }
.x-cases-g { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.x-case { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; text-decoration: none; }
.x-case:first-child { aspect-ratio: auto; }
.x-case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 900ms cubic-bezier(.2,.75,.25,1); }
.x-case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,6,5,.85)); }
.x-case div { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: grid; gap: 4px; }
.x-case small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.x-case b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.6rem); text-transform: uppercase; letter-spacing: -.02em; }
.x-case:hover img { transform: scale(1.1); }

/* team */
.x-team { background: var(--x-bg); color: var(--x-ink); padding-block: clamp(80px, 14vh, 150px); overflow: hidden; }
.x-team-t { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(40px, 7vh, 72px); }
.x-team-t p { margin: 0; color: var(--x-ink2); max-width: 30ch; }
.x-ppl { list-style: none; margin: 0; padding: 0 var(--x-pad); display: flex; gap: 10px; height: clamp(360px, 58vh, 560px); }
.x-ppl li { position: relative; flex: 1 1 0; min-width: 0; transition: flex 700ms cubic-bezier(.2,.75,.25,1); opacity: 0; transform: translateY(calc(60px + (var(--k) % 2) * 40px)); }
.x-team.in .x-ppl li { opacity: 1; transform: translateY(var(--py, 0px)); transition: flex 700ms cubic-bezier(.2,.75,.25,1), opacity 700ms ease calc(var(--k) * 90ms), transform 900ms cubic-bezier(.2,.75,.25,1) calc(var(--k) * 90ms); }
.x-ppl a { position: absolute; inset: 0; overflow: hidden; color: #fff; text-decoration: none; background: #1a1513; }
.x-ppl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.05); transform: scale(1.06); transition: filter 600ms ease, transform 900ms cubic-bezier(.2,.75,.25,1); }
.x-ppl a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8,6,5,.88)); opacity: .6; transition: opacity 400ms ease; }
.x-ppl a::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 4px; background: var(--x-acc); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms cubic-bezier(.2,.75,.25,1); }
.x-ppl span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 4px; opacity: 0; transform: translateY(14px); transition: opacity 400ms ease, transform 500ms cubic-bezier(.2,.75,.25,1); white-space: nowrap; }
.x-ppl b { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.1rem, 1.5vw, 1.5rem); }
.x-ppl small { font-size: 13px; color: rgba(255,255,255,.75); }
.x-ppl li:hover { flex: 2.6 1 0; }
.x-ppl li:hover img { filter: none; transform: scale(1); }
.x-ppl li:hover a::after { opacity: 1; }
.x-ppl li:hover a::before { transform: scaleX(1); }
.x-ppl li:hover span { opacity: 1; transform: none; transition-delay: 200ms; }
@media (max-width: 64rem) {
  .x-pov-g, .x-team-t { grid-template-columns: minmax(0, 1fr); }
  .x-ppl { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .x-ppl::-webkit-scrollbar { display: none; }
  .x-ppl li, .x-ppl li:hover { flex: 0 0 62vw; height: 82vw; max-height: 440px; scroll-snap-align: start; }
  .x-ppl img { filter: grayscale(1); transform: scale(1.04); }
  .x-ppl span { opacity: .0; transform: translateY(10px); }
  .x-ppl li.act img { filter: none; transform: none; }
  .x-ppl li.act span { opacity: 1; transform: none; }
  .x-ppl li.act a::before { transform: scaleX(1); }
  .x-ppl li.act a::after { opacity: 1; }
  .x-words a { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .x-words span { text-align: left; }
  .x-num-g { grid-template-columns: minmax(0, 1fr); }
  .x-num-g > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(20,13,11,.3); }
  .x-num-g > div { padding: 24px 0; }
  .x-ph { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; border-top: 0; }
  .x-ph li { border-top: 2px solid #15100e; }
  .x-cases-g { grid-template-columns: minmax(0, 1fr); }
  .x-case, .x-case:first-child { aspect-ratio: 4 / 3; }
  .x-cases-h { flex-direction: column; align-items: flex-start; }
  .x-peek { display: none; }
  .xf.in .xf-word { color: var(--x-ink); -webkit-text-stroke-color: transparent; transition: color 1200ms ease 600ms, -webkit-text-stroke-color 1200ms ease 600ms; }
  .xf.in .xf-word em { color: var(--x-acc); transition: color 1200ms ease 900ms; }
}
@media (max-width: 40rem) { .x-ph { grid-template-columns: minmax(0, 1fr); } .x-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .x-h1 > *, .x-row { animation: none; opacity: 1; transform: none; } .x-strip-t { animation: none; } }

/* footer */
.xf { position: relative; isolation: isolate; background: #070605; color: var(--x-ink); padding-top: clamp(80px, 12vh, 130px); overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); }
.xf-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(56px, 9vh, 96px); border-bottom: 1px solid rgba(255,255,255,.1); }
.xf-news h3 { margin: 0 0 22px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.12; letter-spacing: -.02em; max-width: 22ch; }
.xf-form { display: flex; flex-wrap: wrap; max-width: 520px; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color 300ms ease; }
.xf-form:focus-within { border-color: var(--x-acc); }
.xf-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--x-ink); font: inherit; font-size: 1.1rem; padding: 14px 0; }
.xf-form input::placeholder { color: rgba(244,239,233,.4); }
.xf-form button { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--x-acc); font: inherit; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; cursor: pointer; }
.xf-form button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 300ms ease; }
.xf-form button:hover svg { transform: translate(3px, -3px); }
.xf-msg { flex-basis: 100%; margin: 8px 0 0; font-size: 13px; color: var(--x-ink2); }
.xf-talk { display: grid; align-content: start; gap: 6px; }
.xf-big { color: var(--x-ink); text-decoration: none; font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; font-size: clamp(1.6rem, 2.8vw, 2.6rem); line-height: 1.15; background: linear-gradient(var(--x-acc), var(--x-acc)) 0 100% / 0 2px no-repeat; transition: background-size 400ms ease, color 300ms ease; justify-self: start; }
.xf-big:hover { color: var(--x-acc); background-size: 100% 2px; }
.xf-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: clamp(48px, 8vh, 80px); }
.xf-h { margin: 0 0 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--x-acc); }
.xf-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xf-cols a { color: var(--x-ink2); text-decoration: none; transition: color 200ms ease, padding 300ms ease; }
.xf-cols a:hover { color: var(--x-ink); padding-left: 6px; }
.xf-cols p { margin: 0 0 14px; color: var(--x-ink2); line-height: 1.55; }
.xf-cols p b { color: var(--x-ink); font-weight: 500; }
.xf-word { display: block; padding: 0 var(--x-pad); white-space: nowrap; text-decoration: none; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.05em; line-height: .8; font-size: clamp(2rem, 6.6vw, 8.2rem); color: transparent; -webkit-text-stroke: 1px rgba(244,239,233,.28); transform: translateY(10%); transition: color 600ms ease, -webkit-text-stroke-color 600ms ease; }
.xf-word em { font-style: normal; }
.xf-word:hover { color: var(--x-ink); -webkit-text-stroke-color: transparent; }
.xf-word:hover em { color: var(--x-acc); }
.xf.in .xf-word { animation: xfword 1200ms cubic-bezier(.2,.75,.25,1) both; }
@keyframes xfword { from { transform: translateY(60%); opacity: 0; } to { transform: translateY(10%); opacity: 1; } }
.xf-bot { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); background: #070605; font-size: 13px; color: rgba(244,239,233,.45); }
.xf-bot p { margin: 0; }
.xf-bot a { color: var(--x-ink2); text-decoration: none; }
.xf-bot a:hover { color: var(--x-acc); }
@media (max-width: 64rem) { .xf-top { grid-template-columns: minmax(0, 1fr); } .xf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .xf-word { white-space: normal; font-size: 12.5vw; line-height: .9; padding-bottom: 6px; } }
.lt { --color-paper: oklch(95.6% 0.012 70); --color-paper-2: oklch(98.6% 0.006 70); --color-paper-3: oklch(91.5% 0.016 65);
      --color-ink: oklch(21% 0.01 34); --color-ink-2: oklch(38% 0.012 34); --color-muted: oklch(50% 0.012 34);
      --color-rule: oklch(86% 0.014 60); --color-line-soft: oklch(21% 0.01 34 / 0.12); --color-shadow: oklch(30% 0.02 40 / 0.14);
      --color-clear: oklch(95.6% 0.012 70 / 0); --color-mask: oklch(95.6% 0.012 70); --color-mask-clear: oklch(95.6% 0.012 70 / 0);
      background: var(--color-paper); color: var(--color-ink); }

/* ===== inner pages, x4 mood ===== */
.x4.inner main { background: var(--x-bg); }
.xi-hero { min-height: 82svh; }
.xi-hero .x-h1 { font-size: clamp(2.6rem, 6.4vw, 6.8rem); line-height: .9; max-width: 16ch; }
.xi-hero .x-h1 > * { display: inline-block !important; }
.xi-hero .x-h1 em { font-style: normal; color: var(--x-acc); }
.xi-hero .x-row p { max-width: 52ch; }
.xi-hero .x-acts { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.xi-hero .x-acts .link { color: var(--x-ink); }
.xi-hero .x-clg { display: block !important; padding: 0 !important; gap: 0; }
.xi-hero .x-clg img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; filter: saturate(.95) brightness(.78); grid-row: auto !important; grid-column: auto !important; }
.xi-hero .crumb { display: none; }

/* headings and labels */
.x4.inner main h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; font-size: clamp(2rem, 4.2vw, 4.2rem); }
.x4.inner main .head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 6vh, 64px); }
.x4.inner main .head p { color: var(--color-ink-2); font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 42ch; }
.x4.inner main .head h2::before { content: ""; display: block; width: 28px; height: 1px; background: var(--x-acc); margin-bottom: 22px; }
.x4.inner main section.block { padding-block: clamp(80px, 13vh, 140px); }

/* cream band for the intro */
.xi-cream { background: var(--x-cream) !important; }
.xi-cream h2 { color: #15100e; }
.xi-cream .v2-intro h2 em, .x4.inner main h2 em { font-style: normal; color: var(--x-acc); }
.xi-cream .v2-intro .tx p:first-child { color: #15100e; font-weight: 500; }

/* buttons */
.x4 .btn { border-radius: 0 !important; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: 13px; padding: 18px 28px; }
.x4 .btn:hover { background: #fff; color: #140d0b; }

/* cta band -> orange */
.x4.inner .ctaband-wrap { background: var(--x-acc); padding-block: clamp(56px, 9vh, 96px); }
.x4.inner .ctaband { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; color: #140d0b; }
.x4.inner .ctaband p { margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: 1.05; max-width: 28ch; color: #140d0b; }
.x4.inner .ctaband .btn { background: #140d0b; color: var(--x-ink); }
.x4.inner .ctaband .btn:hover { background: #fff; color: #140d0b; }

/* cards: sharper */
.x4.inner main .steps3 li, .x4.inner main .vs > div, .x4.inner main .cg, .x4.inner main .s-card, .x4.inner main .vbox, .x4.inner main .p3-c, .x4.inner main .flip, .x4.inner main .pan { border-radius: 6px; }
.x4.inner main .cg h3, .x4.inner main .steps3 h3, .x4.inner main .s-txt h3 { text-transform: uppercase; letter-spacing: -.02em; }

/* reveal on scroll for every block */
.x4.inner .xi-in { opacity: 0; transform: translateY(40px); transition: opacity 900ms ease, transform 1000ms cubic-bezier(.2,.75,.25,1); }
.x4.inner .xi-in.on { opacity: 1; transform: none; }

@media (max-width: 64rem) { .x4.inner main .head { grid-template-columns: minmax(0, 1fr); } .xi-hero { min-height: 0; } }
@media (max-width: 40rem) { .nav-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; } .nav-steps .count { white-space: nowrap; } .nav-steps .actions { display: flex; gap: 10px; flex: 1 1 100%; } .nav-steps .actions .btn { flex: 1 1 0; padding-inline: 12px; white-space: nowrap; } .nav-steps .actions .btn[hidden] { display: none; } }@media (prefers-reduced-motion: reduce) { .x4.inner .xi-in
 { opacity: 1; transform: none; } }

/* ===== phase blocks (x4) ===== */
.xp-sec { color: var(--x-ink); }
.xp-cream { background: var(--x-cream) !important; color: #15100e; }
.xp-cream .head h2 { color: #15100e; }
.xp-cream .head p { color: rgba(21,16,14,.7) !important; }
.xp ol, ol.xp, .xp-chips { list-style: none; margin: 0; padding: 0; }
.xp h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin: 0; }
.xp p { margin: 0; line-height: 1.55; }
.xp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.xp-chips li { color: inherit; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border: 1px solid currentColor; opacity: .75; }

/* metodo: timeline */
.xp-time { position: relative; }
.xp-time .xp-line { position: relative; height: 1px; background: rgba(21,16,14,.18); margin-bottom: 38px; }
.xp-time .xp-line i { position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--x-acc); }
.xp-time ol { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.xp-time .xp-c { position: relative; display: flex; flex-direction: column; gap: 18px; }
.xp-time .xp-c > :not(.xp-dot) { opacity: .28; transform: translateY(24px); transition: opacity 700ms ease, transform 800ms cubic-bezier(.2,.75,.25,1); }
.xp-time .xp-c.on > :not(.xp-dot) { opacity: 1; transform: none; }
.xp-time .xp-dot { position: absolute; top: -45px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--x-cream); border: 2px solid rgba(21,16,14,.3); transition: background 400ms, border-color 400ms, box-shadow 400ms; }
.xp-time .xp-c.on .xp-dot { background: var(--x-acc); border-color: var(--x-acc); box-shadow: 0 0 0 7px rgba(226,96,63,.18); }
.xp-time h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
.xp-time .xp-c > p { font-size: .98rem; color: rgba(21,16,14,.74); flex: 1; }
.xp-out { background: #15100e; color: var(--x-ink); padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.xp-out b { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--x-acc); font-weight: 600; }
.xp-out span { font-size: 1rem; line-height: 1.4; }

/* consulenza: rows */
.xp-rows { border-top: 1px solid rgba(244,239,233,.16); }
.xp-rows .xp-r { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; padding: clamp(28px, 4.4vh, 48px) 0; border-bottom: 1px solid rgba(244,239,233,.16); transition: background 300ms ease, padding 300ms ease; }
.xp-rows .xp-r::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--x-acc); transition: width 1100ms cubic-bezier(.2,.75,.25,1) calc(var(--i) * 120ms); }
.xp-rows .xp-r.on::before { width: 100%; }
.xp-rows h3 { font-size: clamp(1.6rem, 2.9vw, 2.9rem); word-break: keep-all; overflow-wrap: normal; transform: translateX(-24px); opacity: 0; transition: transform 900ms cubic-bezier(.2,.75,.25,1) calc(var(--i) * 120ms), opacity 700ms ease calc(var(--i) * 120ms), color 250ms; }
.xp-rows p { font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--x-ink2); opacity: 0; transition: opacity 800ms ease calc(var(--i) * 120ms + 200ms); }
.xp-rows .xp-chips { justify-content: flex-end; opacity: 0; transition: opacity 800ms ease calc(var(--i) * 120ms + 350ms); color: var(--x-ink); }
.xp-rows .xp-r.on h3 { transform: none; opacity: 1; }
.xp-rows .xp-r.on p, .xp-rows .xp-r.on .xp-chips { opacity: 1; }
.xp-rows .xp-r:hover { background: rgba(244,239,233,.04); padding-inline: 18px; }
.xp-rows .xp-r:hover h3 { color: var(--x-acc); }

/* revenue: cycle */
.xp-cyc ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.xp-cyc .xp-k { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px 26px; background: #15100e; border: 1px solid rgba(244,239,233,.12); min-height: 300px; transition: background 500ms ease, color 500ms ease, transform 500ms ease; outline: none; }
.xp-cyc .xp-k h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
.xp-cyc .xp-k p { color: var(--x-ink2); flex: 1; transition: color 500ms; }
.xp-cyc .xp-tag { width: 10px; height: 10px; background: var(--x-acc); transition: background 500ms; }
.xp-cyc .xp-k.act { background: var(--x-acc); color: #140d0b; transform: translateY(-8px); }
.xp-cyc .xp-k.act p { color: rgba(20,13,11,.82); }
.xp-cyc .xp-k.act .xp-tag { background: #140d0b; }
.xp-cyc .xp-k.act .xp-chips li { color: #140d0b; opacity: .85; }
.xp-cyc .xp-ar { position: absolute; right: -19px; top: 50%; z-index: 2; width: 24px; height: 24px; margin-top: -12px; background: var(--x-bg); display: grid; place-items: center; }
.xp-cyc .xp-ar svg { width: 18px; height: 18px; fill: none; stroke: var(--x-acc); stroke-width: 2; }
.xp-loop { position: relative; margin-top: 10px; }
.xp-loop svg { display: block; width: calc(100% - 24px); margin-inline: 12px; height: 58px; overflow: visible; }
.xp-loop path { fill: none; stroke: var(--x-acc); stroke-width: 2; vector-effect: non-scaling-stroke; }
.xp-lp { stroke-dasharray: 6 8; animation: xpdash 1.4s linear infinite; }
.xp-loop span { position: absolute; left: 50%; top: 30px; transform: translate(-50%, -50%); background: var(--x-bg); padding: 0 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--x-ink); white-space: nowrap; }
@keyframes xpdash { to { stroke-dashoffset: 14; } }

/* destination: route with sticky map */
.xp-route { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.xp-route .head { display: block !important; margin-bottom: 40px !important; }
.xp-side { position: sticky; top: 110px; }
.xp .xp-map { position: relative; display: flex; flex-direction: column; gap: 26px; padding-left: 34px; }
.xp-map::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; border-left: 2px dashed rgba(21,16,14,.25); }
.xp-map::after { content: ""; position: absolute; left: 5px; top: 8px; width: 4px; height: calc(var(--p, 0) * (100% - 16px)); background: var(--x-acc); transition: height 500ms ease; }
.xp-map li { position: relative; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1.1rem, 1.6vw, 1.5rem); color: rgba(21,16,14,.35); transition: color 400ms; }
.xp-map li i { position: absolute; left: -34px; top: 50%; margin-top: -8px; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--x-cream); border: 2px solid rgba(21,16,14,.3); z-index: 1; transition: background 400ms, border-color 400ms; }
.xp-map li.on { color: #15100e; }
.xp-map li.on i { background: var(--x-acc); border-color: var(--x-acc); }
.xp-stops { display: flex; flex-direction: column; gap: 18px; }
.xp-s { position: relative; background: #15100e; color: var(--x-ink); padding: clamp(28px, 3.6vw, 44px); display: flex; flex-direction: column; gap: 18px; min-height: 34vh; justify-content: flex-end; transform: scale(.97); transition: transform 700ms cubic-bezier(.2,.75,.25,1); }
.xp-s > * { opacity: .3; transition: opacity 600ms ease; }
.xp-s.on { transform: none; }
.xp-s.on > * { opacity: 1; }
.xp-s h3 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
.xp-s p { color: var(--x-ink2); font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 46ch; }
.xp-s .xp-pin { position: absolute; top: 28px; right: 28px; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--x-acc); }

@media (max-width: 64rem) {
  .xp-time .xp-line { display: none; }
  .xp-time ol { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-left: 28px; border-left: 1px solid rgba(21,16,14,.18); }
  .xp-time .xp-dot { top: 4px; left: -35px; }
  .xp-rows .xp-r { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .xp-rows .xp-chips { justify-content: flex-start; }
  .xp-rows .xp-r:hover { padding-inline: 0; }
  .xp-cyc ol { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .xp-cyc .xp-k { min-height: 0; }
  .xp-cyc .xp-k.act { transform: none; }
  .xp-cyc .xp-ar { right: auto; left: 50%; top: auto; bottom: -26px; margin: 0 0 0 -12px; transform: rotate(90deg); }
  .xp-loop svg { height: 46px; }
  .xp-loop span { white-space: normal; text-align: center; width: max-content; max-width: 80%; font-size: 11px; top: 24px; }
  .xp-route { grid-template-columns: minmax(0, 1fr); }
  .xp-side { position: static; }
  .xp .xp-map { display: none; }
  .xp-s { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .xp-time .xp-c > *, .xp-s, .xp-s > *, .xp-rows h3, .xp-rows p, .xp-rows .xp-chips { opacity: 1 !important; transform: none !important; }
  .xp-lp { animation: none; }
}
