/* Display font (Samu 2026-10-09): Archivo, variable width + weight, self-hosted subset (OFL, assets/fonts/Archivo-OFL.txt) */
@font-face {
  font-family: "Archivo"; src: url("../assets/fonts/Archivo-Variable.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}

/* Avernora v8 (2026-10-09) · plan: plans/v8/index.html
   Work wall (FinerFox collage + Flow Ninja columns) and work rows on device scenes (Phenomenon, FinerFox).
   Colour comes from the concept brands; Avernora itself stays black and white. */

/* ---------- Work wall ---------- */
.ww { padding: var(--sec-y) 0 calc(var(--sec-y) + var(--arc)); overflow: hidden; }
.ww-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px; align-items: center;
}
.ww-side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.ww-side .v7-h { font-size: clamp(36px, 3.7vw, 58px); }
.ww-side .v7-lead { color: var(--on-dark-muted); }
.ww-trades { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ww-trades li {
  padding: 8px 13px; border-radius: 999px; border: 1px solid #2c2c31;
  font: 500 14px/1 var(--font-body); color: var(--white);
}
.ww-trades li.is-next { border-style: dashed; color: var(--on-dark-muted); }

.ww-wall {
  --h: min(820px, 92vh);
  height: var(--h); display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.ww-col { overflow: hidden; }
.ww-track { display: flex; flex-direction: column; gap: 16px; will-change: transform; }
.ww.is-live .ww-col.is-down .ww-track { animation: ww-down 70s linear infinite; }
.ww.is-live .ww-col.is-up .ww-track { animation: ww-up 70s linear infinite; }
.ww-wall:hover .ww-track { animation-play-state: paused !important; }
@keyframes ww-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(-50% - 8px), 0); } }
@keyframes ww-down { from { transform: translate3d(0, calc(-50% - 8px), 0); } to { transform: translate3d(0, 0, 0); } }

.ww-t {
  margin: 0; padding: 12px 12px 0; border-radius: 22px; background: var(--c);
  display: flex; flex-direction: column;
}
.ww-t img { width: 100%; height: auto; border-radius: 12px; }
.ww-t figcaption { padding: 11px 4px 12px; font: 500 13px/1.2 var(--font-body); color: var(--ci); }

/* ---------- Work rows ---------- */
.wr { padding: var(--sec-y) 0 calc(var(--sec-y) + var(--arc)); }
.wr-row {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4.5vw, 64px); align-items: center;
}
.wr-media {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius-card); background: #e9e3d8;
}
.wr-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 56% 50%; transition: transform 1s var(--v7-ease); }
.wr-media .concept { left: 18px; top: 18px; }
@media (hover: hover) and (pointer: fine) { .wr-row:hover .wr-media img { transform: scale(1.02); } }
.wr-info { display: flex; flex-direction: column; gap: 18px; }
.wr-info h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; font-weight: 700; }
.wr-info > p { color: var(--muted); font-size: 17px; max-width: 32em; }
.wr-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  border-top: 1px solid var(--border); padding-top: 20px; margin-top: 4px;
}
.wr-cols ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.wr-cols li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.4; color: var(--text); }
.wr-cols li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.wr-end {
  margin-top: clamp(56px, 7vw, 96px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 32px;
}
.wr-end-line { font: 700 clamp(22px, 2vw, 30px)/1.15 var(--font-display); color: var(--ink); max-width: 22em; }

.wr-row + .wr-row { margin-top: clamp(64px, 8vw, 120px); }
.wr-row.is-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.wr-row.is-flip .wr-media { order: 2; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 999px) {
  .ww-grid { grid-template-columns: 1fr; gap: 40px; }
  .wr-row, .wr-row.is-flip { grid-template-columns: 1fr; }
  .wr-row.is-flip .wr-media { order: 0; }
}
@media (max-width: 760px) {
  /* Columns turn into two sideways rails */
  .ww-wall {
    height: auto; grid-template-columns: 1fr; gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .ww-track { flex-direction: row; gap: 12px; width: max-content; align-items: flex-start; }
  .ww-t { width: 62vw; max-width: 300px; flex: none; }
  .ww-col.is-down .ww-t:has(img[height="534"]), .ww-col.is-up .ww-t:has(img[height="534"]) { width: 78vw; max-width: 380px; }
  .ww.is-live .ww-col.is-down .ww-track { animation-name: ww-right; animation-duration: 60s; }
  .ww.is-live .ww-col.is-up .ww-track { animation-name: ww-left; animation-duration: 60s; }
  .ww-col.is-down .ww-t img[height="1328"], .ww-col.is-up .ww-t img[height="1328"] { aspect-ratio: 740 / 900; object-fit: cover; object-position: top; }
  .wr-cols { grid-template-columns: 1fr; }
  .wr-media .concept { left: 12px; top: 12px; }
}
@keyframes ww-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - 6px), 0, 0); } }
@keyframes ww-right { from { transform: translate3d(calc(-50% - 6px), 0, 0); } to { transform: translate3d(0, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
  .ww-track { animation: none !important; }
  .wr-media img { transition: none; }
}

/* ---------- Where are you starting from? (situation tabs) ---------- */
.st { padding: var(--sec-y) 0 calc(var(--sec-y) + var(--arc)); }
.st .v7-lead { color: var(--on-dark-muted); }
.st-tabs {
  margin-top: clamp(32px, 4vw, 48px); display: flex; gap: 8px; flex-wrap: wrap;
}
.st-tab {
  font: 600 16px/1 var(--font-body); color: var(--on-dark); cursor: pointer;
  padding: 15px 22px; border-radius: 999px; border: 1px solid #2c2c31; background: transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.st-tab:hover { border-color: #55555c; color: var(--white); }
.st-tab[aria-selected="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.st-panel {
  margin-top: 16px; border-radius: var(--v7-r); background: var(--c); color: #e9eef7;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 56px); min-height: 640px; overflow: hidden; position: relative;
}
.st-panel[hidden] { display: none; }
.st-panel.is-in .st-copy > *, .st-panel.is-in .st-vis { animation: st-in .6s var(--v7-ease) both; }
.st-panel.is-in .st-copy > :nth-child(2) { animation-delay: .04s; }
.st-panel.is-in .st-copy > :nth-child(3) { animation-delay: .08s; }
.st-panel.is-in .st-copy > :nth-child(4) { animation-delay: .12s; }
.st-panel.is-in .st-vis { animation-delay: .1s; }
@keyframes st-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.st-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; align-self: center; }
.st-copy .mono { color: var(--accent); font-size: 13px; }
.st-copy h3 { color: var(--white); font-size: clamp(36px, 4vw, 64px); line-height: 1; font-weight: 700; max-width: 11em; }
.st-copy > p:not(.mono) { color: rgba(233, 238, 247, .78); font-size: 18px; max-width: 30em; }
.st-chips { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.st-chips li { padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font: 500 14px/1 var(--font-body); color: var(--white); }
.st-copy .link-arrow { color: var(--white); }
.st-vis { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.st-note { font: 400 12px/1.4 var(--font-mono); color: rgba(233, 238, 247, .62); text-align: center; }

/* Launch: the whole one-page site scrolls by once inside a phone-width window */
.st-strip-win {
  width: min(300px, 100%); height: 500px; overflow: hidden; border-radius: 22px;
  background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .08);
}
.st-strip-win img { width: 100%; height: auto; transform: translateY(0); }
.st-panel.is-in .st-strip-win img { transition: transform 16s cubic-bezier(.45, 0, .55, 1) .8s; transform: translateY(calc(-100% + 500px)); }

/* Signature: five pages */
.st-pages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-content: center; }
.st-page { margin: 0; grid-column: span 2; }
.st-page:nth-child(-n+2) { grid-column: span 3; }
.st-page img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .7); }
.st-page figcaption { font: 500 12px/1 var(--font-body); color: rgba(255, 255, 255, .78); padding: 8px 2px 0; }
.st-pages .st-note { grid-column: 1 / -1; margin-top: 6px; }

/* Signature + AI: the contact form where an inquiry starts */
.st-form img { width: min(300px, 100%); height: 500px; object-fit: cover; object-position: top; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .08); }

@media (max-width: 999px) {
  .st-panel { grid-template-columns: 1fr; min-height: 0; }
}
@media (max-width: 760px) {
  .st-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .st-tabs::-webkit-scrollbar { display: none; }
  .st-tab { flex: none; font-size: 15px; padding: 13px 18px; }
  .st-strip-win, .st-form img { height: 420px; }
  .st-panel.is-in .st-strip-win img { transform: translateY(calc(-100% + 420px)); }
  .st-pages { grid-template-columns: 1fr 1fr; }
  .st-page, .st-page:nth-child(-n+2) { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  .st-panel.is-in .st-copy > *, .st-panel.is-in .st-vis { animation: none; }
  .st-panel.is-in .st-strip-win img { transition: none; transform: none; }
}

/* Service wheel on Services: package tags are links */
.wheel-in a.tag { text-decoration: none; }
.wheel-in a.tag:hover { background: var(--white); color: var(--ink); }

/* ---------- Closing: teardown preview ---------- */
.tp { background: var(--night); color: var(--on-night); padding: var(--sec-y) 0 calc(var(--sec-y) + var(--arc)); overflow: hidden; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.tp-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.tp .mono { color: var(--on-night-muted); }
.tp .v7-h { color: var(--white); font-size: clamp(42px, 5vw, 80px); }
.tp-lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--on-night-muted); max-width: 30em; }
.tp-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tp-points li { position: relative; padding-left: 28px; color: var(--on-night); font-size: 16px; }
.tp-points li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.tp-points b { color: var(--white); font-weight: 600; }
.tp-pill {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--white);
}
.tp-pill-note { font: 500 14px/1.2 var(--font-body); color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.tp-pill-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22a06b; }
.tp .link-arrow { color: var(--white); }
.tp-doc { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tp-doc img {
  width: min(480px, 100%); height: auto; border-radius: 10px; background: #fff;
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
}
.tp-doc figcaption { font: 400 12px/1.4 var(--font-mono); color: var(--on-night-muted); text-align: center; max-width: 36em; }
@media (max-width: 999px) { .tp-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .tp-pill { border-radius: 24px; padding: 16px; flex-direction: column; align-items: stretch; }
  .tp-pill .btn { width: 100%; }
}

/* ---------- Packages: cards over a soft photo of real work (Dayos puts its cards on a photo) ---------- */
.pc-stage { background: #6b5640 url("../assets/v8/pc-stage.webp") center / cover no-repeat; }
.pc-card[id] { scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 24px); }

/* =========================================================
   v8.1 (2026-10-09 late) · Home modelled on the Dayos home:
   examples live in ONE card carousel, closing is a statement + two plain columns.
   ========================================================= */
.ex { --side: clamp(20px, 5vw, 72px); --cw: min(1400px, calc(100vw - 2 * var(--side))); --gap: clamp(12px, 1.6vw, 24px);
  padding: var(--sec-y) 0 calc(var(--sec-y) + var(--arc)); overflow: hidden; }
.ex-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 56px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.ex-head .v7-h { flex: 1 1 560px; }
.ex-head .v7-lead { flex: 0 1 400px; }
.ex-viewport { overflow: hidden; touch-action: pan-y; }
.ex-track {
  display: flex; gap: var(--gap); padding-inline: calc((100vw - var(--cw)) / 2);
  transition: transform .9s var(--v7-ease); will-change: transform;
}
.ex-card {
  flex: none; width: var(--cw); min-height: clamp(460px, 64vh, 640px);   /* min, not fixed: short screens cut the chips (Samu 14.10.) */
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  border-radius: clamp(28px, 3.4vw, 52px); overflow: hidden; background: #e8e8e6;
}
.ex-text { padding: clamp(32px, 5vw, 80px) clamp(32px, 6vw, 104px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.ex-name { font: 600 15px/1.2 var(--font-body); color: var(--text); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ex-concept { font: 500 12px/1 var(--font-body); padding: 6px 10px; border-radius: 999px; background: var(--white); color: var(--muted); }
.ex-text h3 { font: 700 clamp(34px, 3.8vw, 60px)/1 var(--font-display); color: var(--ink); max-width: 11em; }
.ex-text > p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: var(--text); max-width: 30em; }
.ex-meta { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ex-meta li { padding: 8px 12px; border-radius: 999px; background: rgba(0, 0, 0, .06); font: 500 13px/1 var(--font-body); color: var(--text); }
.ex-img { position: relative; min-height: 0; }
.ex-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ex-controls { margin-top: 22px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.ex-pause, .ex-dots { height: 44px; border-radius: 999px; background: #ececeb; border: 0; }
.ex-pause { width: 44px; cursor: pointer; display: grid; place-items: center; }
.ex-pause span { width: 12px; height: 14px; border-inline: 4px solid var(--ink); }
.ex.is-paused .ex-pause span { width: 0; height: 0; border-block: 7px solid transparent; border-inline: 0; border-left: 12px solid var(--ink); margin-left: 4px; }
.ex-dots { display: flex; align-items: center; gap: 4px; padding: 0 12px; }
.ex-dot { width: 22px; height: 30px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; transition: width .4s var(--v7-ease); }
.ex-dot i { display: block; width: 8px; height: 8px; border-radius: 999px; background: var(--ink); position: relative; overflow: hidden; transition: width .4s var(--v7-ease); }
.ex-dot.is-on { width: 52px; }
.ex-dot.is-on i { width: 44px; background: #b9b9b6; }
.ex-dot.is-on i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.ex.is-live .ex-dot.is-on i::after { animation: ex-prog var(--dur, 7s) linear forwards; }
.ex.is-paused .ex-dot.is-on i::after, .ex.is-away .ex-dot.is-on i::after { animation-play-state: paused; }
.ex:not(.is-live) .ex-dot.is-on i::after { transform: scaleX(1); }
@keyframes ex-prog { to { transform: scaleX(1); } }

@media (max-width: 899px) {
  .ex { --side: 20px; --cw: calc(100vw - 56px); }
  .ex-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; }
  .ex-img { order: -1; aspect-ratio: 4 / 3; }
  .ex-text { padding: 26px 24px 30px; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ex-track { transition: none; } }

/* ---------- Closing ---------- */
.cl { padding: var(--sec-y) 0 var(--arc); }
.cl-h { font-size: clamp(48px, 7.2vw, 116px); max-width: 11em; }
.cl-lead { margin-top: 24px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--text); max-width: 36em; }
.cl-split { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d9d9d6; }
.cl-col {
  --pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px); text-decoration: none; color: var(--ink);
  transition: background-color .3s;
}
.cl-col:first-child { padding-left: var(--pad); }
.cl-col + .cl-col { border-left: 1px solid #d9d9d6; }
.cl-big { font: 700 clamp(36px, 4.4vw, 72px)/1 var(--font-display); }
.cl-big span { display: inline-block; transition: transform .35s var(--v7-ease); }
.cl-small { font-size: 16px; color: var(--text); max-width: 26em; }
@media (hover: hover) and (pointer: fine) {
  .cl-col:hover { background: var(--white); }
  .cl-col:hover .cl-big span { transform: translateX(8px); }
}
@media (max-width: 760px) {
  .cl-split { grid-template-columns: 1fr; }
  .cl-col { min-height: 0; padding: 32px var(--gutter); }
  .cl-col:first-child { padding-left: var(--gutter); }
  .cl-col + .cl-col { border-left: 0; border-top: 1px solid #d9d9d6; }
}

/* ---------- v8.1 Dayos motion: headings brighten from grey as they slide in (js/v7.js sets --w per line) ---------- */
:root { --wipe-from: #b4b4b0; }
.bg-black, .dz, .tp { --wipe-from: #3a3a3d; }
[data-v7-split="dayos"] .v7s-i { color: color-mix(in srgb, currentColor calc(var(--w, 1) * 100%), var(--wipe-from)); }
/* body copy that inks in while it scrolls into view (js/v8.js sets --w) */
[data-ink] { color: color-mix(in srgb, var(--ink) calc(var(--w, 1) * 100%), #a9a9a6); }

/* ---------- Why it matters (black sheet) ---------- */
.dz { padding: clamp(72px, 9vw, 128px) 0 calc(var(--sec-y) + var(--arc)); }
.dz-words { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(32px, 4vw, 64px); }
.dz-word h3 { font: 700 clamp(44px, 4.6vw, 70px)/.95 var(--font-display); color: var(--white); }
.dz-word p { margin-top: 18px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: #d6d6d9; max-width: 24em; }
.dz-state { margin-top: clamp(96px, 12vw, 180px); }
.dz-state .v7-h { font-size: clamp(44px, 6vw, 96px); max-width: 12em; }
.dz-list { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 22px; max-width: 34em; }
.dz-list p { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; color: #d6d6d9; }
.dz-list .dz-need { color: var(--white); font-weight: 600; }
@media (max-width: 760px) { .dz-words { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Trades (department cards) ---------- */
.tr { padding: var(--sec-y) 0 calc(var(--sec-y) + var(--arc)); overflow: hidden; }
.tr-h { font-size: clamp(42px, 5.4vw, 88px); max-width: 12em; }
.tr-lead { margin-top: 28px; font: 500 clamp(20px, 2vw, 30px)/1.3 var(--font-body); max-width: 30em; }
.tr-track {
  margin-top: clamp(40px, 5vw, 64px); display: flex; gap: clamp(14px, 1.8vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.tr-track::-webkit-scrollbar { display: none; }
.tr-track:focus-visible { outline: none; }
.tr-card { flex: none; width: clamp(270px, 30vw, 420px); scroll-snap-align: start; border-radius: 24px; overflow: hidden; background: var(--white); }
.tr-img { aspect-ratio: 2 / 1.05; overflow: hidden; }
.tr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--v7-ease); }
.tr-body { padding: 24px 24px 30px; }
.tr-body h3 { font: 600 18px/1.2 var(--font-body); color: var(--ink); }
.tr-body p { margin-top: 10px; font-size: 16px; line-height: 1.45; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .tr-card:hover .tr-img img { transform: scale(1.04); } }
.tr-nav { margin-top: 28px; display: flex; justify-content: center; gap: 8px; }
.tr-arrow {
  width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--white); color: var(--ink);
  font: 500 18px/1 var(--font-body); cursor: pointer; transition: background-color .25s, color .25s, transform .25s var(--v7-ease);
}
.tr-arrow:hover { background: var(--ink); color: var(--white); }
.tr-arrow:active { transform: scale(.94); }
.tr-arrow:disabled { opacity: .4; cursor: default; background: var(--white); color: var(--ink); }

/* ---------- Closing split: square arrow, diagonal violet sweep on hover (Dayos) ---------- */
.cl-split { border-top-color: var(--border); }
.cl-col { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(260px, 30vw, 420px); }
.cl-col + .cl-col { border-left-color: var(--border); }
@media (hover: hover) and (pointer: fine) {
  .cl-col::before {
    content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -40%; width: 180%;
    background: var(--signal); transform: translateX(-125%) skewX(-28deg); transform-origin: 0 100%;
    transition: transform .6s cubic-bezier(.7, 0, .2, 1);
  }
}
.cl-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.cl-big { font: 700 clamp(40px, 5vw, 80px)/.95 var(--font-display); max-width: 7em; }
.cl-go {
  flex: none; width: 56px; height: 56px; border: 1.5px solid var(--ink); border-radius: 12px;
  display: grid; place-items: center; transition: background-color .35s, color .35s;
}
.cl-go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--v7-ease); }
@media (hover: hover) and (pointer: fine) {
  .cl-col:hover { background: transparent; }
  .cl-col:hover::before { transform: translateX(0) skewX(-28deg); }
  .cl-col:hover .cl-go { background: var(--ink); color: var(--white); }
  .cl-col:hover .cl-go svg { transform: translate(2px, -2px); }
}
.cl-col:focus-visible { outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) { .cl-col::before { transition: none; } }
/* phones: the later min-height above undid the 0 from the phone rule, leaving a big gap under each title (2026-10-12) */
@media (max-width: 760px) { .cl-col { min-height: 0; gap: 20px; } }
@media (max-width: 760px) { .cl-go { width: 44px; height: 44px; } }

/* =========================================================
   v8.2 (2026-10-09 night) · Samu's notes: hero button, inquiry loop, subtext placement, font test
   ========================================================= */

/* Hero: the copy sits above the film layers; invisible captions/tags never catch clicks
   (on 1280×720, 1366×680 and 1440×800 the hidden captions sat over the button) */
.hero-copy { z-index: 3; }
.captions:not(.is-on), .media-tag:not(.is-on) { pointer-events: none; }
.media { pointer-events: none; }

/* Hero CTA: dark pill with a violet arrow disc; on hover the pill lifts and the arrow flies out and back in */
.btn-cta {
  display: inline-flex; align-items: center; gap: 18px; padding: 7px 7px 7px 26px;
  border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none;
  font: 600 16px/1 var(--font-body); white-space: nowrap;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform .35s var(--v7-ease), box-shadow .35s var(--v7-ease), background-color .3s;
}
.btn-cta-go {
  position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--signal); color: var(--ink); overflow: hidden; display: grid; place-items: center;
  transition: transform .35s var(--v7-ease), background-color .3s;
}
.btn-cta-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.btn-cta-go .a1, .btn-cta-go .a2 { transition: transform .45s var(--v7-ease); }
.btn-cta-go .a2 { transform: translate(-22px, 22px); }
@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .55); background: #1d1d20; }
  .btn-cta:hover .btn-cta-go { transform: scale(1.06); background: #a99dff; }
  .btn-cta:hover .a1 { transform: translate(22px, -22px); }
  .btn-cta:hover .a2 { transform: translate(0, 0); }
}
.btn-cta:active { transform: translateY(0) scale(.98); }
.btn-cta:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
@media (max-width: 520px) { .btn-cta { font-size: 15px; gap: 14px; padding-left: 20px; } .btn-cta-go { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .btn-cta, .btn-cta-go, .btn-cta-go .a1, .btn-cta-go .a2 { transition: none; } }

/* Inquiry loop: fade out before it starts again */
.iq-panel > :not(.concept) { transition: opacity .45s ease; }
.iq-panel.is-resetting > :not(.concept) { opacity: 0; }

/* Subtexts: heading first, the lead directly under it, left aligned (Dayos) instead of floating top-right */
.v7-row-head, .iq-head, .pc-head, .ex-head { display: block; }
.v7-row-head .v7-lead, .iq-head .v7-lead, .pc-head .v7-lead, .ex-head .v7-lead { margin-top: clamp(16px, 1.6vw, 24px); max-width: 38em; }

/* ---------- Font test (localhost only, js/v8.js): html[data-font] ---------- */
html[data-font="dayos"], html[data-font="dayos-sc"] { --font-display: "Archivo", "Inter", system-ui, sans-serif; }
html[data-font] :is(h1, h2, h3, .v7-h, .hero-title, .cl-big, .dz-word h3, .ex-text h3, .tr-h, .cl-h, .pc-big, .st-copy h3) {
  font-family: "Archivo", "Inter", system-ui, sans-serif; font-variation-settings: "wdth" 62; font-stretch: 62%;
  font-weight: 700; letter-spacing: -0.02em; word-spacing: .1em; line-height: .92;
}
html[data-font="dayos"] :is(.v7-h, .hero-title, .cl-big, .dz-word h3, .ex-text h3, .cl-h, .pc-big) { text-transform: uppercase; }
html[data-font] .tr-body h3 { font-family: var(--font-body); font-variation-settings: normal; font-stretch: 100%; letter-spacing: 0; line-height: 1.2; font-weight: 600; text-transform: none; }
/* (font test switcher removed in v8.3) */

/* =========================================================
   v8.3 · Dayos font chosen (Samu 2026-10-09), CTA arrow, inquiry panel height, bigger hero title
   ========================================================= */
html[data-font] .hero-title { font-size: clamp(56px, 6.6vw, 104px); line-height: .9; }
html[data-font] .hero-title span { text-wrap: wrap; }
@media (max-width: 760px) { html[data-font] .hero-title { font-size: clamp(46px, 13.5vw, 64px); } }

/* the waiting arrow sits fully outside the disc */
.btn-cta-go .a2 { transform: translate(-36px, 36px); }
@media (hover: hover) and (pointer: fine) { .btn-cta:hover .a1 { transform: translate(36px, -36px); } }

/* Inquiry panel: a grid that grows with its content instead of a fixed-height stage (was cutting the last row) */
@media (min-width: 1000px) {
  .iq-panel, .iq-panel[class] {
    display: grid; height: auto; grid-template-columns: 30fr 35fr 21.5fr; grid-template-rows: auto 1fr;
    column-gap: 4%; row-gap: 28px; padding: 64px 3.5% 56px; align-items: start;
  }
  .iq-input, .iq-notif, .iq-flow, .iq-draft { position: relative; left: auto; top: auto; bottom: auto; width: auto; }
  .iq-input { grid-column: 1; grid-row: 1; }
  .iq-notif { grid-column: 1; grid-row: 2; align-self: end; }
  .iq-flow { grid-column: 2; grid-row: 1 / 3; }
  .iq-draft { grid-column: 3; grid-row: 1 / 3; margin-top: 56px; }
}

/* =========================================================
   r7 · Visual consistency, shared by every page (critic round 2, 13.10.)
   ========================================================= */

/* Section arcs: a section that overlaps the one above it must paint over it. A static section after a
   positioned one (e.g. .pc → .tr, .sec → .cl) was drawn underneath, so its rounded top read as a flat cut. */
main > section.arc-over, body > footer.arc-over { position: relative; }

/* No monospace in UI: footer bottom row in Inter, and up from 12 px */
.ft10-bottom { font-family: var(--font-body); font-size: 14px; color: #8a8a92; }
.ft10-up span { font-size: 13px; }

/* Services add-ons: group labels and card captions in Inter, at least 14 px */
.ad6-h { font: 600 14px/1 var(--font-body); }
.adc .when { font: 500 14px/1.35 var(--font-body); }
.wm-h { font: 600 14px/1 var(--font-body); }

/* Small text floor (nothing under 12 px, secondary copy 14 px+) */
.concept { font-size: 12px; }
.pc-ribbon { font-size: 12px; }
.pc-fit p { font-size: 14px; }
.form-note { font-size: 14px; }
.ex-meta li { font-size: 14px; }
.iq-notif-top { font-size: 12px; }

/* One CTA family: the closing tiles' arrow is a round badge like the hero CTA's (ink, not violet:
   violet stays the one marker per view) */
.cl-go { border: 0; border-radius: 50%; background: var(--ink); color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .cl-col:hover .cl-go { background: var(--ink); color: var(--white); transform: scale(1.06); }
}
.cl-go { transition: background-color .35s, color .35s, transform .35s var(--v7-ease); }

/* Trade cards on phones: swipe with dots like the showcase (js/v8.js adds .tr-dots); arrows stay on desktop */
.tr-dots { display: none; }
@media (max-width: 760px) {
  .tr-nav { display: none; }
  .tr-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
  .tr-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #cfcfcb; cursor: pointer; transition: width .3s var(--v7-ease), background-color .3s; }
  .tr-dots button[aria-current="true"] { width: 28px; background: var(--ink); }
  /* a bigger tap target without a bigger dot */
  .tr-dots button { position: relative; }
  .tr-dots button::after { content: ""; position: absolute; inset: -12px -4px; }
}

/* r7b · Leftovers from critic round 2 (13.10.): round arrow buttons, neutral decoration, no mono in the inquiry demo */
.tr-arrow { border-radius: 50%; }
.concept::before { background: currentColor; opacity: .55; }
.iq-src { font-family: var(--font-body, Inter, system-ui, sans-serif); }
.iq-rows em { font-family: var(--font-body, Inter, system-ui, sans-serif); }
.tl-art ul.is-check li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* r8 · Critic round 3 (13.10.): closing split aligns with the 1240 px container on both sides; nothing under 12 px */
.cl-col:last-child { padding-right: var(--pad); }
.ta-file i { font-size: 12px; }
.iq-notif-top { font-size: 12px; }
.pc-ribbon, .concept { font-size: 12px; }
@media (max-width: 999px) {
  .concept { font-size: 12px; }
  .ba-tag { font-size: 12px; }
  .iq-src { font-size: 12px; }
  .iq-rows em { font-size: 12px; }
}
.ba-tag { font: 600 12px/1 var(--font-body); }
.cursor-tag { font: 600 12px/1 var(--font-body); }

/* r9 · Phones: packages (Home, Services) and add-ons (Services) as horizontal swipe cards with dots (critic round 3, 13.10.)
   js/v8.js adds .sw-dots after each row. Desktop and tablet keep their grids. */
.sw-dots { display: none; }
@media (max-width: 760px) {
  .pc-stage, #addons .ad6-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .pc-stage::-webkit-scrollbar, #addons .ad6-grid::-webkit-scrollbar { display: none; }
  .pc-stage { padding: 14px; gap: 12px; scroll-padding-inline: 14px; }
  .pc-card, #addons .adc { scroll-snap-align: start; }
  /* cards in a row share one height; "What's included" and the button sit at the foot of each card.
     An opened list grows its card, and the row grows with it, so nothing is clipped. */
  .pc-more { margin-top: auto; }
  .pc-card > :is(.pc-key, .pc-fit) { margin-bottom: 8px; }
  #addons .ad6-grid { gap: 10px; }
  .sw-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .sw-dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #cfcfcb; cursor: pointer; transition: width .3s var(--v7-ease), background-color .3s; }
  .sw-dots button[aria-current="true"] { width: 28px; background: var(--ink); }
  .sw-dots button::after { content: ""; position: absolute; inset: -12px -4px; }
  .sw-dots button:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
  #addons .sw-dots button { background: rgba(255, 255, 255, .3); }
  #addons .sw-dots button[aria-current="true"] { background: #fff; }
}

/* r9b · One closing block (Samu 13.10., critic round 3): the heading is the statement, the split below is its two links */
.cl-split { margin-top: clamp(32px, 4vw, 56px); }
.cl-col { min-height: 0; gap: 20px; padding-top: clamp(24px, 2.6vw, 36px); padding-bottom: clamp(24px, 2.6vw, 36px); }
.cl-big { font-size: clamp(26px, 2.6vw, 40px); }

/* r10 · Package card buttons keep side padding; on narrow cards the label wraps centred instead of hitting the edges (Samu 13.10.) */
.pc-btn { padding: 0 18px; text-align: center; line-height: 1.2; }
@media (max-width: 400px) { .pc-btn { font-size: 14px; padding: 0 14px; } }
