/* Tomchu Tattoo – site styles. RTL, Rubik (headings) + Heebo (body). Dark default, light boutique theme. */
:root {
  --bg: #0B0A0D; --surface: #141218; --surface2: #1C1922; --ink: #F6F3F7; --muted: #BAB2C0; --line: #2A2631; --fline: #4A4253;
  --overlay: rgba(11,10,13,.78); --hdr: rgba(11,10,13,.82);
  --iri: linear-gradient(120deg, #0F8A66 0%, #0E8E99 28%, #2A5FC4 52%, #7A36B3 76%, #C82464 100%);
  --iri-btn: linear-gradient(120deg, #0B7556 0%, #0B7680 28%, #2553B0 52%, #6A2E9E 76%, #AE1E57 100%);
  --acc: #3FCFD9; --acc2: #F26A97; --em: #22C08F; --bl: #6FA2F0; --vi: #B07EEB; --ma: #F0457F;
  --chip: rgba(63,207,217,.12);
  --f-d: "Rubik", "Heebo", system-ui, sans-serif; --f-b: "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  --gut: max(16px, env(safe-area-inset-left, 0px)); --maxw: 1180px; --r: 22px;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: dark;
}
html.light {
  --bg: #F7F3EE; --surface: #FFFFFF; --surface2: #F0E9E1; --ink: #1A1418; --muted: #574D53; --line: #E2D9CF; --fline: #C9BEB3;
  --overlay: rgba(247,243,238,.86); --hdr: rgba(247,243,238,.88);
  --acc: #0A6870; --acc2: #A3184B; --em: #0B6F51; --bl: #2553B0; --vi: #6A2E9E; --ma: #A3184B; --chip: rgba(10,104,112,.09);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { direction: rtl; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--f-b); overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p a, li a, .prose a { color: var(--acc); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-d); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -.01em; }
h2 { font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-weight: 700; font-size: 1.25rem; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: max(var(--gut), 20px); }
@media (max-width: 520px) { .wrap { padding-inline: 16px; } }
.iri-text { background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.label { display: inline-flex; align-items: center; gap: 10px; font: 600 .95rem var(--f-b); color: var(--muted); }
.label::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--iri); flex: none; }
section { padding-block: clamp(48px, 7vw, 96px); }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 16px; font: 700 1.02rem var(--f-b); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); text-align: center; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-iri { background: var(--iri-btn); color: #fff; box-shadow: 0 10px 30px -14px rgba(130,64,196,.9); }
.btn-ghost { background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--iri) border-box; border: 1.5px solid transparent; color: var(--ink); }
.btn-soft { background: var(--surface2); color: var(--ink); border: 1px solid var(--line); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .95rem; border-radius: 14px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }

/* ---- skip / live ---- */
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 200; background: #fff; color: #000; padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- header ---- */
.hdr { position: sticky; top: 0; z-index: 60; background: var(--hdr); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.08rem var(--f-d); text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #0B0A0D; }
.brand span { direction: ltr; unicode-bidi: isolate; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.mainnav a { display: block; padding: 8px 11px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .98rem; position: relative; white-space: nowrap; }
.mainnav a:hover { color: var(--ink); background: var(--surface2); }
.mainnav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.mainnav a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 11px 0; height: 3px; border-radius: 3px; background: var(--iri); }
.hdr-act { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn svg { width: 22px; height: 22px; }
.theme-btn .sun { display: none; } html.light .theme-btn .sun { display: block; } html.light .theme-btn .moon { display: none; }
.menu-btn { display: none; }
@media (max-width: 1180px) { .mainnav { display: none; } .menu-btn { display: grid; } }
@media (max-width: 520px) { .hdr .wrap { gap: 10px; min-height: 64px; } .brand img { width: 40px; height: 40px; } .hdr-act .btn { padding: 0 14px; font-size: .92rem; min-height: 44px; } }
.hdr-act .btn { white-space: nowrap; }
@media (max-width: 860px) { .hdr-act .btn-iri { display: none; } }
@media (max-width: 380px) { .brand span { display: none; } }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(360px, 88vw); background: var(--bg); border-inline-start: 1px solid var(--line); padding: 18px 20px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; animation: dr-in .35s var(--ease); }
@keyframes dr-in { from { transform: translateX(-30px); opacity: 0; } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer-top b { font: 700 1.1rem var(--f-d); }
.drawer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 12px; border-radius: 12px; text-decoration: none; font: 600 1.1rem var(--f-d); }
.drawer nav a:hover, .drawer nav a[aria-current="page"] { background: var(--surface2); }
.drawer nav a[aria-current="page"] { box-shadow: inset -3px 0 0 var(--acc); }
.drawer nav small { color: var(--muted); font: 400 .85rem var(--f-b); }

/* mobile tabs */
.tabs { display: none; }
@media (max-width: 860px) {
  .tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0 0; z-index: 55; background: var(--hdr); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabs a, .tabs button { display: flex; flex-direction: column; align-items: center; gap: 2px; font: 500 .74rem var(--f-b); color: var(--muted); text-decoration: none; padding: 4px 0; background: none; border: 0; cursor: pointer; min-height: 52px; }
  .tabs i { width: 46px; height: 28px; border-radius: 999px; display: grid; place-items: center; }
  .tabs svg { width: 21px; height: 21px; }
  .tabs [aria-current="page"] { color: var(--ink); font-weight: 700; }
  .tabs [aria-current="page"] i { background: var(--iri-btn); color: #fff; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ---- breadcrumbs / page head ---- */
.crumbs { font-size: .92rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "‹"; margin-inline-end: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.phead { padding-block: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 36px); position: relative; overflow: hidden; }
.phead::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-start: -160px; top: -300px; background: radial-gradient(circle, rgba(122,54,179,.28), transparent 65%); pointer-events: none; }
.phead .wrap { position: relative; display: flex; flex-direction: column; gap: 14px; }
.phead h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.phead + section { padding-top: clamp(16px, 2vw, 28px); }

/* ---- home hero ---- */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero picture, .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; }
@media (prefers-reduced-motion: no-preference) { .hero-bg { animation: kb 18s ease-out both; } @keyframes kb { from { transform: scale(1.06); } } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(11,10,13,.9) 0%, rgba(11,10,13,.6) 42%, rgba(11,10,13,.05) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 38%); }
html.light .hero::before { background: linear-gradient(270deg, rgba(247,243,238,.92) 0%, rgba(247,243,238,.6) 42%, rgba(247,243,238,0) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 38%); }
.hero-in { padding-block: 110px 36px; }
.hero-card { max-width: 610px; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--overlay); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); line-height: 1.02; }
.hero .lead { color: var(--ink); opacity: .92; }
.trust { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 auto 36px; padding: 0; background: var(--line); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); width: calc(100% - 2 * max(var(--gut), 20px)); max-width: calc(var(--maxw) - 40px); }
.trust li { background: var(--overlay); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.trust b { font: 700 1.05rem var(--f-d); } .trust span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero-in { padding-block: 64vw 20px; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 6%, rgba(11,10,13,.55) 60%, rgba(11,10,13,.1) 100%); }
  html.light .hero::before { background: linear-gradient(0deg, var(--bg) 6%, rgba(247,243,238,.5) 60%, rgba(247,243,238,0) 100%); }
  .trust { grid-template-columns: 1fr 1fr; width: calc(100% - 32px); }
}

/* marquee */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding-block: 16px; }
.marquee .track { display: flex; gap: 44px; width: max-content; font: 700 clamp(1.4rem, 3vw, 2.2rem) var(--f-d); white-space: nowrap; padding-inline-end: 140px; }
@media (prefers-reduced-motion: no-preference) { .marquee .track { animation: mq 36s linear infinite; } }
.marquee .track span:nth-child(odd) { color: var(--muted); }
.marquee .track span:nth-child(even) { background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee.paused .track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(50%); } }
.mq-pause { position: absolute; inset-inline-end: 10px; top: 50%; transform: translateY(-50%); z-index: 2; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--fline); background: var(--bg); color: var(--ink); font: 600 .85rem var(--f-b); cursor: pointer; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 168px; padding: 18px; border-radius: var(--r); text-decoration: none; overflow: hidden; isolation: isolate;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--iri) border-box; border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile::before { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; inset-inline-end: -50px; top: -60px; background: var(--c, #7A36B3); opacity: .15; filter: blur(14px); z-index: -1; transition: opacity .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px var(--c, #7A36B3); }
.tile:hover::before { opacity: .32; }
.tile-top { display: flex; justify-content: space-between; align-items: center; }
.tile-n { font: 800 1rem var(--f-d); padding: 3px 11px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line); }
.tile-go { font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.tile:hover .tile-go { transform: translateX(-5px); }
.tile b { display: block; font: 800 1.35rem var(--f-d); }
.tile small { display: block; color: var(--muted); font-size: .93rem; margin-top: 4px; }
.tile.big { grid-column: span 2; grid-row: span 2; min-height: 352px; }
.tile.big b { font-size: 2rem; }
.tile.wide { grid-column: span 2; }
.tile.photo { color: #fff; }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile.photo:hover img { transform: scale(1.05); }
.tile.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,10,13,.15) 0%, rgba(11,10,13,.25) 40%, rgba(11,10,13,.9) 100%); }
.tile.photo small { color: #E6E0EA; }
.tile.photo .tile-n { background: rgba(11,10,13,.6); border-color: rgba(255,255,255,.25); color: #fff; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile.big { grid-row: auto; min-height: 260px; } }
@media (max-width: 420px) { .tile { padding: 15px; min-height: 150px; } .tile b { font-size: 1.15rem; } .tile small { font-size: .85rem; } }

/* split */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } }
.frame { border-radius: 28px; overflow: hidden; border: 2px solid transparent; background: var(--iri) border-box; }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.quote { font: 700 clamp(1.35rem, 2.6vw, 1.9rem)/1.4 var(--f-d); margin: 0; padding-inline-start: 18px; border-inline-start: 4px solid; border-image: var(--iri) 1; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .93rem; }

/* facts */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.facts b { font: 800 2rem/1 var(--f-d); }
.facts span { color: var(--muted); font-size: .92rem; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--muted); }

/* reviews */
.rev { position: relative; }
.rev p { color: var(--ink); }
.rev footer { display: flex; flex-direction: column; color: var(--muted); font-size: .9rem; border: 0; padding: 0; margin-top: auto; }
.rev footer b { color: var(--ink); font: 700 1rem var(--f-d); }
.rev .mark { font: 800 3rem/1 var(--f-d); height: 26px; }

/* steps (journey) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--iri); }
.step .n { font: 800 1.05rem var(--f-d); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--iri-btn); color: #fff; }
.step p { color: var(--muted); }
.step .btn { margin-top: auto; align-self: flex-start; }

/* gallery */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--fline); background: var(--surface); color: var(--ink); font: 600 .95rem var(--f-b); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--iri-btn); border-color: transparent; color: #fff; }
.filters button .c { opacity: .8; font-weight: 400; margin-inline-start: 4px; }
.masonry { list-style: none; margin: 24px 0 0; padding: 0; columns: 4 230px; column-gap: 14px; }
.masonry li { break-inside: avoid; margin-bottom: 14px; }
.masonry li[hidden] { display: none; }
.masonry button { all: unset; display: block; width: 100%; position: relative; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--surface); }
.masonry button:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.masonry img { width: 100%; transition: transform .6s var(--ease); }
.masonry button:hover img { transform: scale(1.04); }
.masonry .cap { position: absolute; inset: auto 10px 10px auto; font: 600 .8rem var(--f-b); color: #fff; background: rgba(11,10,13,.72); padding: 4px 10px; border-radius: 999px; }
.count { color: var(--muted); font-size: .95rem; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(5,4,7,.94); display: none; flex-direction: column; color: #fff; }
.lb.open { display: flex; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; gap: 12px; }
.lb-top p { color: #E6E0EA; font-size: .95rem; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 64px 24px; min-height: 0; touch-action: pan-y; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 14px; }
.lb button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(20,18,24,.8); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 1.4rem; }
.lb button:focus-visible { outline: 3px solid #3FCFD9; outline-offset: 2px; }
.lb .prev, .lb .next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb .prev { right: 10px; } .lb .next { left: 10px; }
@media (max-width: 600px) { .lb-stage { padding: 0 8px 80px; } .lb .prev, .lb .next { top: auto; bottom: 18px; transform: none; } .lb .prev { right: calc(50% + 8px); } .lb .next { left: calc(50% + 8px); } }

/* before/after */
.compare { position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; user-select: none; max-width: 460px; width: 100%; justify-self: center; border: 2px solid transparent; background: var(--iri) border-box; --x: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--x)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 18px rgba(0,0,0,.6); pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; background: var(--iri-btn); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.5); border: 2px solid #fff; }
.compare .knob svg { width: 26px; height: 26px; }
.compare .tag { position: absolute; top: 14px; font: 700 .85rem var(--f-b); background: rgba(11,10,13,.75); color: #fff; padding: 5px 12px; border-radius: 999px; pointer-events: none; }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:has(input:focus-visible) { outline: 3px solid var(--acc); outline-offset: 4px; }

/* studio tour */
.tour { position: relative; }
.tour-track { list-style: none; margin: 0; padding: 4px 2px 12px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-padding-inline: 2px; }
.tour-track li { flex: none; width: min(560px, 84vw); scroll-snap-align: start; }
.tour-track figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; }
.tour-track img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.tour-track figcaption { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.tour-track figcaption b { font: 700 1.15rem var(--f-d); }
.tour-track figcaption span { color: var(--muted); font-size: .95rem; }
.tour-ctl { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.tour-ctl .pos { color: var(--muted); font-size: .95rem; margin-inline-start: 6px; }

/* guide */
.guide { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 960px) { .guide { grid-template-columns: 1fr; } }
.q { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.q legend { font: 700 1.2rem var(--f-d); margin-bottom: 4px; padding: 0; display: flex; gap: 10px; align-items: center; }
.q legend .n { width: 32px; height: 32px; border-radius: 50%; background: var(--iri-btn); color: #fff; display: grid; place-items: center; font-size: .95rem; flex: none; }
.q .hint { color: var(--muted); font-size: .93rem; margin: 0 0 12px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt label { display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; height: 100%; }
.opt label b { font: 700 1rem var(--f-d); }
.opt label small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.opt input:checked + label { border-color: var(--acc); background: var(--chip); box-shadow: inset 0 0 0 1px var(--acc); }
.opt input:focus-visible + label { outline: 3px solid var(--acc); outline-offset: 2px; }
.pain { display: inline-flex; gap: 3px; vertical-align: middle; }
.pain i { width: 8px; height: 8px; border-radius: 50%; background: var(--fline); }
.pain i.on { background: var(--acc2); }
.result { position: sticky; top: 90px; border-radius: 26px; padding: clamp(20px, 3vw, 28px); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--iri) border-box; border: 2px solid transparent; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 960px) { .result { position: static; } }
.result h2 { font-size: 1.5rem; }
.result dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.result dt { color: var(--muted); }
.result dd { margin: 0; font-weight: 600; }
.result .empty { color: var(--muted); }
.result .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.result .thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; width: 100%; }
.note { font-size: .88rem; color: var(--muted); }
.body-fig { width: 100%; margin: 0; padding: 14px 10px 10px; border-radius: 22px; background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--surface2) 80%, #7A36B3 20%), var(--surface) 70%); border: 1px solid var(--line); }
.body-fig figcaption { display: flex; justify-content: space-around; color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: 2px; }
.body-map { display: block; width: 100%; max-width: 360px; margin: 0 auto; --sk1: #3A3341; --sk2: #231F28; }
html.light .body-map { --sk1: #EBDFD4; --sk2: #D6C6B8; }
.body-map .sil { fill: url(#skin); stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 1.1; }
.body-map .det { fill: none; stroke: color-mix(in srgb, var(--ink) 14%, transparent); stroke-width: .9; stroke-linecap: round; }
.body-map .det circle { fill: color-mix(in srgb, var(--ink) 18%, transparent); stroke: none; }
.body-map .shadow { fill: rgba(0,0,0,.35); }
.body-map .zone { fill: color-mix(in srgb, var(--ink) 7%, transparent); stroke: color-mix(in srgb, var(--ink) 30%, transparent); stroke-width: .8; stroke-dasharray: 2 2; cursor: pointer; transition: fill .3s, stroke .3s; }
.body-map .zone:hover { fill: color-mix(in srgb, #E8467F 30%, transparent); stroke: #E8467F; }
.body-map .zone.on { fill: url(#zon); stroke: #fff; stroke-width: 1; stroke-dasharray: none; filter: url(#zglow); }
@media (prefers-reduced-motion: no-preference) { .body-map .zone.on { animation: zpulse 2.2s ease-in-out infinite; } @keyframes zpulse { 0%, 100% { opacity: 1; } 50% { opacity: .78; } } }

/* forms */
.form { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--fline); border-radius: 14px; padding: 12px 14px; min-height: 50px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
.field .hint { color: var(--muted); font-size: .88rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.preview { background: var(--surface2); border: 1px dashed var(--fline); border-radius: 16px; padding: 14px 16px; white-space: pre-wrap; font-size: .95rem; color: var(--ink); }

/* contact */
.channels { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.channels a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.channels a:hover { border-color: var(--fline); }
.channels .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--chip); color: var(--acc); }
.channels .ic svg { width: 24px; height: 24px; }
.channels b { display: block; font: 700 1.05rem var(--f-d); }
.channels small { color: var(--muted); font-size: .9rem; }
.place-card { border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.place-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.place-card .in { padding: 20px; display: flex; flex-direction: column; gap: 8px; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font: 700 1.15rem var(--f-d); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--acc); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 4px 22px; color: var(--muted); max-width: 70ch; }

/* journal */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.post { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .25s var(--ease), border-color .25s; }
.post:hover { transform: translateY(-3px); border-color: var(--fline); }
.post .tag { align-self: flex-start; font: 600 .82rem var(--f-b); padding: 4px 12px; border-radius: 999px; background: var(--chip); color: var(--acc); }
.post h2 { font-size: 1.3rem; }
.post p { color: var(--muted); }
.post .more { margin-top: auto; font-weight: 700; color: var(--acc); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.45rem; margin: 34px 0 10px; }
.prose p { margin: 0 0 14px; color: var(--muted); }
.prose ul { color: var(--muted); padding-inline-start: 22px; margin: 0 0 14px; display: grid; gap: 6px; }

/* app */
.app-card { border-radius: 32px; padding: clamp(24px, 5vw, 52px); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--iri) border-box; border: 2px solid transparent; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 36px; align-items: center; }
@media (max-width: 900px) { .app-card { grid-template-columns: 1fr; } }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.feats a { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--surface2); border: 1px solid var(--line); text-decoration: none; height: 100%; }
.feats .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.feats .ic svg { width: 24px; height: 24px; }
.feats b { display: block; font: 700 1.02rem var(--f-d); }
.feats small { color: var(--muted); font-size: .88rem; }
.phone { width: 250px; max-width: 72vw; aspect-ratio: 9/19; border-radius: 38px; border: 9px solid #26222B; background: #0B0A0D; color: #F6F3F7; justify-self: center; padding: 18px 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 40px 80px -30px rgba(130,64,196,.6); }
.phone .pt { display: flex; align-items: center; gap: 6px; font: 700 .7rem var(--f-d); justify-content: flex-start; }
.phone .pt img { width: 22px; height: 22px; border-radius: 50%; }
.phone .ph { border-radius: 14px; overflow: hidden; aspect-ratio: 1.3; }
.phone .ph img { width: 100%; height: 100%; object-fit: cover; }
.phone .g { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.phone .g span { border-radius: 10px; min-height: 50px; border: 1px solid transparent; background: linear-gradient(#15131A, #15131A) padding-box, var(--iri) border-box; font-size: .62rem; display: grid; place-items: center; text-align: center; padding: 4px; }
.phone .g span.w { grid-column: span 2; min-height: 36px; }

/* CTA band */
.band { border-radius: 30px; padding: clamp(26px, 5vw, 56px); background: var(--iri-btn); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.band h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); max-width: 22ch; }
.band p { color: #F2EEF5; max-width: 52ch; margin-top: 8px; }
.band .btn-light { background: #fff; color: #1A1418; }
.band .btn-line { border: 1.5px solid rgba(255,255,255,.85); color: #fff; background: transparent; }

/* footer */
.ftr { border-top: 1px solid var(--line); padding-block: 48px 40px; color: var(--muted); margin-top: clamp(32px, 5vw, 64px); }
.ftr .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .ftr .cols { grid-template-columns: 1fr 1fr; } .ftr .cols > :first-child { grid-column: span 2; } }
.ftr h2 { color: var(--ink); font: 700 1rem var(--f-d); margin-bottom: 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ftr a { text-decoration: none; display: inline-block; padding: 5px 0; }
.ftr a:hover { color: var(--ink); text-decoration: underline; }
.ftr .brand { color: var(--ink); margin-bottom: 10px; }
.ftr .legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }

/* a11y widget */
.a11y-btn { position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 70; width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff; background: #1D4ED8; color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.a11y-btn svg { width: 30px; height: 30px; }
.a11y-btn:focus-visible { outline: 3px solid #F59E0B; outline-offset: 3px; }
@media (max-width: 860px) { .a11y-btn { width: 48px; height: 48px; bottom: calc(80px + env(safe-area-inset-bottom)); inset-inline-start: 12px; } }
.a11y-panel { position: fixed; inset-inline-start: 16px; bottom: 82px; z-index: 71; width: min(330px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow-y: auto; background: #fff; color: #111; border-radius: 20px; padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
.a11y-panel[hidden] { display: none; }
@media (max-width: 860px) { .a11y-panel { bottom: calc(140px + env(safe-area-inset-bottom)); max-height: calc(100vh - 220px); } }
.a11y-panel .hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.a11y-panel h2 { font: 800 1.15rem var(--f-b); color: #111; }
.a11y-panel .x { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #d4d4d8; background: #fff; color: #111; cursor: pointer; font-size: 1.2rem; }
.a11y-panel .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-panel .grid button { min-height: 54px; border-radius: 12px; border: 2px solid #d4d4d8; background: #f4f4f5; color: #111; font: 700 .92rem var(--f-b); cursor: pointer; padding: 6px; }
.a11y-panel .grid button[aria-pressed="true"] { border-color: #1D4ED8; background: #DBEAFE; }
.a11y-panel .grid .reset { grid-column: span 2; background: #fff; }
.a11y-panel a { color: #1D4ED8; display: inline-block; margin-top: 12px; font-weight: 700; }
.a11y-panel button:focus-visible, .a11y-panel a:focus-visible { outline: 3px solid #B45309; outline-offset: 2px; }
html.a-big { font-size: 118%; }
html.a-contrast { --muted: var(--ink); --line: #7a7084; --fline: #9a90a4; }
html.a-contrast.light { --line: #6b6066; --fline: #4d4449; }
html.a-contrast .iri-text, html.a-contrast .marquee .track span { background: none !important; -webkit-background-clip: initial; background-clip: initial; color: var(--ink) !important; }
html.a-contrast .tile.photo::after { background: rgba(11,10,13,.82); }
html.a-links a:not(.btn):not(.tile):not(.brand) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a-links a:not(.btn):not(.tile):not(.brand):not(.channels a) { color: var(--acc) !important; }
html.a-font body, html.a-font h1, html.a-font h2, html.a-font h3, html.a-font button, html.a-font .tile b { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .01em; }
html.a-still *, html.a-still *::before, html.a-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* reveal */
.rise { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
.rise.in { opacity: 1; transform: none; }
html.no-js .rise, html.a-still .rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rise { opacity: 1; transform: none; } }
@media print { .hdr, .tabs, .a11y-btn, .a11y-panel, .marquee, .drawer { display: none !important; } body { background: #fff; color: #000; } }
.compare .after { position: absolute; inset: 0; }
.compare picture { position: absolute; inset: 0; }
.opt label b .pain { display: flex; margin-top: 6px; }
@media (max-width: 960px) { .body-map { max-width: 300px; } }
.split.artgrid { align-items: start; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
@media (max-width: 900px) { .split.artgrid { grid-template-columns: 1fr; } }

/* ---------- tile art (animated, decorative) ---------- */
.tart { display: block; align-self: center; width: min(78%, 190px); margin-block: -4px; color: var(--ink); pointer-events: none; }
.tart svg { display: block; width: 100%; height: auto; overflow: visible; }
.tart .faint { opacity: .28; } .tart .faint-s { opacity: .42; }
.tart .ln { stroke-dasharray: 1; stroke-dashoffset: 0; }
.tart .tw { transform-box: fill-box; transform-origin: center; }
.tile.photo .tart { color: #fff; }
.tile.big .tart { width: min(86%, 300px); }
@media (min-width: 901px) { .tart { width: min(70%, 170px); } }

@media (prefers-reduced-motion: no-preference) {
  /* 02 – style guide: three fine-line motifs draw in turn */
  .tart-guide .mo { animation: tg-draw 9s var(--ease) infinite backwards; }
  .tart-guide .mo2 { animation-delay: 3s; } .tart-guide .mo3 { animation-delay: 6s; }
  @keyframes tg-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 20% { stroke-dashoffset: 0; } 29% { opacity: 1; } 34%, 100% { stroke-dashoffset: 0; opacity: 0; } }
  .tart .tw { animation: twinkle 3s ease-in-out infinite; } .tart .tw2 { animation-delay: 1s; } .tart .tw3 { animation-delay: 2s; }
  @keyframes twinkle { 0%, 100% { transform: scale(.2) rotate(0); opacity: 0; } 45% { transform: scale(1) rotate(45deg); opacity: 1; } 70% { opacity: .2; } }
  /* 03 – appointment: a date gets circled and confirmed */
  .tart-contact .cal-ring { animation: tc-ring 5s var(--ease) infinite backwards; }
  .tart-contact .cal-ok { animation: tc-ok 5s var(--ease) infinite backwards; }
  @keyframes tc-ring { 0% { stroke-dashoffset: 1; opacity: 1; } 28% { stroke-dashoffset: 0; } 86% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes tc-ok { 0%, 30% { stroke-dashoffset: 1; opacity: 1; } 44% { stroke-dashoffset: 0; } 86% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  /* 06 – process: the journey line travels through four stages */
  .tart-process .pr-line { animation: tp-line 8s cubic-bezier(.45,0,.25,1) infinite backwards; }
  @keyframes tp-line { 0% { stroke-dashoffset: 1; opacity: 1; } 70% { stroke-dashoffset: 0; } 90% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  .tart-process .pr-dot { transform-box: fill-box; transform-origin: center; animation: 8s var(--ease) infinite; }
  .tart-process .pr-d0 { animation-name: tp-d0; }
  @keyframes tp-d0 { 0% { transform: scale(0); opacity: 1; } 3% { transform: scale(1.3); } 6%, 88% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
  .tart-process .pr-d1 { animation-name: tp-d1; }
  @keyframes tp-d1 { 0%, 22% { transform: scale(0); opacity: 1; } 25% { transform: scale(1.3); } 28%, 88% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
  .tart-process .pr-d2 { animation-name: tp-d2; }
  @keyframes tp-d2 { 0%, 46% { transform: scale(0); opacity: 1; } 49% { transform: scale(1.3); } 52%, 88% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
  .tart-process .pr-d3 { animation-name: tp-d3; }
  @keyframes tp-d3 { 0%, 70% { transform: scale(0); opacity: 1; } 73% { transform: scale(1.3); } 76%, 88% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
  .tart-process .pr-ping { transform-box: fill-box; transform-origin: center; animation: tp-ping 8s ease-out infinite backwards; }
  @keyframes tp-ping { 0%, 70% { transform: scale(1); opacity: 0; } 72% { opacity: .9; } 88%, 100% { transform: scale(2.8); opacity: 0; } }
  /* 07 – FAQ: a question, a typing reply, an answer */
  .tart-faq .fq-b1, .tart-faq .fq-b2 { transform-box: fill-box; animation: fq-pop 6s var(--ease) infinite backwards; }
  .tart-faq .fq-b1 { transform-origin: 90% 100%; } .tart-faq .fq-b2 { transform-origin: 10% 100%; animation-delay: .9s; }
  @keyframes fq-pop { 0% { transform: scale(.4); opacity: 0; } 9% { transform: scale(1.04); opacity: 1; } 13%, 84% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(1); opacity: 0; } }
  .tart-faq .fq-dots { animation: fq-dots 6s linear infinite backwards; animation-delay: .9s; }
  @keyframes fq-dots { 0%, 46% { opacity: .7; } 52%, 100% { opacity: 0; } }
  .tart-faq .fd { animation: fq-bounce .9s ease-in-out infinite; } .tart-faq .fd2 { animation-delay: .15s; } .tart-faq .fd3 { animation-delay: .3s; }
  @keyframes fq-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-3px); } }
  .tart-faq .fq-ok { animation: fq-ok 6s var(--ease) infinite backwards; animation-delay: .9s; }
  @keyframes fq-ok { 0%, 50% { stroke-dashoffset: 1; } 62% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
  /* 08 – app: a live feed scrolls inside the phone */
  .tart-app .ap-feed { animation: ap-feed 8s cubic-bezier(.6,0,.2,1) infinite; }
  @keyframes ap-feed { 0%, 18% { transform: translateY(0); } 25%, 43% { transform: translateY(-14px); } 50%, 68% { transform: translateY(-28px); } 75%, 93% { transform: translateY(-42px); } 100% { transform: translateY(-56px); } }
  .tart-app .ap-ping { transform-box: fill-box; transform-origin: center; animation: tp-ping2 2.4s ease-out infinite; }
  @keyframes tp-ping2 { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
  /* 09 – journal: lines write themselves, then the page turns */
  .tart-journal .jl { animation: jl-write 8s var(--ease) infinite backwards; }
  .tart-journal .jl2 { animation-delay: .5s; } .tart-journal .jl3 { animation-delay: 1s; } .tart-journal .jl4 { animation-delay: 1.5s; }
  @keyframes jl-write { 0% { stroke-dashoffset: 1; opacity: 1; } 12% { stroke-dashoffset: 0; } 58% { opacity: 1; } 62%, 100% { stroke-dashoffset: 0; opacity: 0; } }
  .tart-journal .jl-page { transform-box: view-box; transform-origin: 60px 36px; animation: jl-flip 8s cubic-bezier(.55,0,.3,1) infinite; }
  @keyframes jl-flip { 0%, 58% { transform: scaleX(0); opacity: 0; } 59% { transform: scaleX(1); opacity: 1; } 76% { transform: scaleX(-1); opacity: 1; } 84%, 100% { transform: scaleX(-1); opacity: 0; } }
  /* 05 – Tom: a fine line becomes a heart */
  .tart-tom .tm-line { animation: tm-line 7s var(--ease) infinite backwards; }
  .tart-tom .tm-heart { animation: tm-heart 7s var(--ease) infinite backwards; }
  @keyframes tm-line { 0% { stroke-dashoffset: 1; opacity: 1; } 30% { stroke-dashoffset: 0; } 40% { opacity: 1; } 50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes tm-heart { 0%, 35% { stroke-dashoffset: 1; opacity: 1; } 62% { stroke-dashoffset: 0; } 88% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  .tile.t-tom img { animation: kb-tom 14s ease-in-out infinite alternate; transform-origin: 30% 35%; }
  @keyframes kb-tom { from { transform: scale(1); } to { transform: scale(1.12); } }
  /* 01 – works: the wall of works cross-fades */
  .tile.t-works img { animation: kb-works 15s ease-in-out infinite alternate; }
  @keyframes kb-works { from { transform: scale(1.02); } to { transform: scale(1.1); } }
  .tile .xf img { opacity: 0; animation: xf 15s ease-in-out infinite, kb-works 15s ease-in-out infinite alternate; }
  .tile .xf1 img { animation-delay: 5s, 0s; } .tile .xf2 img { animation-delay: 10s, 0s; }
  @keyframes xf { 0% { opacity: 0; } 7% { opacity: 1; } 33% { opacity: 1; } 40%, 100% { opacity: 0; } }
  /* 04 – studio: a slow tour across the room */
  .tile.t-studio img { animation: pan 18s ease-in-out infinite alternate; }
  @keyframes pan { from { object-position: 15% 50%; transform: scale(1.08); } to { object-position: 85% 50%; transform: scale(1.08); } }
}
.tile .xf img { opacity: 0; }
.tile > picture, .tile > .xf { position: absolute; inset: 0; z-index: -2; }

/* ---------- home hero: ink ---------- */
.hero-ink { position: relative; overflow: hidden; isolation: isolate; padding: 0; }
.hero-ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 26%, rgba(122,54,179,.24), transparent 55%), radial-gradient(circle at 80% 90%, rgba(15,138,102,.12), transparent 50%); }
.hi-in { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 28px 34px; }
.hi-orb { position: relative; width: 300px; height: 300px; display: grid; place-items: center; margin-bottom: 6px; }
.hi-goo { position: absolute; inset: 0; filter: url(#goo); }
.hi-goo i { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2); border-radius: 50%; background: var(--c); transform: rotate(var(--a)) translateX(var(--r)); }
.hi-core { position: absolute; left: 50%; top: 50%; width: 196px; height: 196px; margin: -98px; border-radius: 50%; background: conic-gradient(#18B58A, #16B3C2, #4C82E6, #9B5BD6, #E8467F, #18B58A); }
.hi-logo { position: relative; z-index: 2; width: 250px; height: 250px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(11,10,13,.45)) drop-shadow(0 0 2px rgba(11,10,13,.5)); }
.hi-text { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hi-eye { font: 500 .92rem var(--f-b); color: var(--muted); }
.hero-ink h1 { font-size: clamp(2.6rem, 11vw, 4.8rem); line-height: 1.04; }
.hi-w { display: inline-block; }
.iri-flow { background: linear-gradient(90deg, #18B58A, #16B3C2, #4C82E6, #9B5BD6, #E8467F, #9B5BD6, #4C82E6, #16B3C2, #18B58A); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-ink .ctas { display: flex; flex-direction: column; gap: 10px; width: min(100%, 340px); margin-top: 8px; }
.hero-ink .ctas .btn { justify-content: center; }
html.a-contrast .iri-flow { background: none; color: var(--ink); }
@media (min-width: 900px) {
  .hi-in { flex-direction: row-reverse; justify-content: space-between; text-align: start; padding-block: 120px 56px; min-height: min(78vh, 720px); }
  .hi-orb { width: 420px; height: 420px; transform: scale(1.25); margin-inline-end: 40px; }
  .hi-text { align-items: flex-start; }
  .hero-ink .ctas { flex-direction: row; width: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .hi-core { transform: scale(0); animation: hi-pop .9s cubic-bezier(.2,1.5,.3,1) .15s forwards, hi-spin 9s linear 1s infinite; }
  .hi-goo i { transform: rotate(var(--a)) translateX(0) scale(0); animation: hi-burst 1.3s cubic-bezier(.2,1.4,.3,1) var(--d) forwards, hi-orbit var(--t) linear calc(var(--d) + 1.3s) infinite; }
  .hi-logo { opacity: 0; transform: scale(.6); animation: hi-lpop .9s cubic-bezier(.2,1.4,.3,1) .7s forwards; }
  .hi-eye, .hi-rv { opacity: 0; animation: hi-rise .8s var(--ease) forwards; animation-delay: var(--d, 1.6s); }
  .hi-w { opacity: 0; animation: hi-ink 1s var(--ease) forwards; animation-delay: var(--d); }
  .iri-flow { animation: hi-ink 1s var(--ease) var(--d) forwards, hi-flow 7s linear infinite; }
  @keyframes hi-pop { to { transform: scale(1); } }
  @keyframes hi-spin { to { transform: rotate(360deg); } }
  @keyframes hi-burst { to { transform: rotate(var(--a)) translateX(var(--r)) scale(1); } }
  @keyframes hi-orbit { from { transform: rotate(var(--a)) translateX(var(--r)); } to { transform: rotate(calc(var(--a) + 360deg)) translateX(var(--r)); } }
  @keyframes hi-lpop { to { opacity: 1; transform: none; } }
  @keyframes hi-rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes hi-ink { from { opacity: 0; filter: blur(10px); transform: scale(1.15); } to { opacity: 1; filter: none; transform: none; } }
  @keyframes hi-flow { to { background-position: -300% 0; } }
}

@media (prefers-reduced-motion: no-preference) {
  /* 01 – works: three framed pieces draw in turn */
  .tart-works .wk { animation: wk-draw 9s var(--ease) infinite backwards; }
  .tart-works .wk2 { animation-delay: 1.4s; } .tart-works .wk3 { animation-delay: 2.8s; }
  @keyframes wk-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 18% { stroke-dashoffset: 0; } 72% { opacity: 1; } 82%, 100% { stroke-dashoffset: 0; opacity: 0; } }
  /* 04 – my studio: a swaying lamp and a neon heart flickering on */
  .tart-studio .st-lamp { transform-box: view-box; transform-origin: 26px 0; animation: st-sway 6s ease-in-out infinite alternate; }
  @keyframes st-sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
  .tart-studio .st-cone { animation: st-glow 6s ease-in-out infinite alternate; }
  @keyframes st-glow { from { opacity: .1; } to { opacity: .24; } }
  .tart-studio .st-neon { animation: st-neon 7s linear infinite backwards; filter: drop-shadow(0 0 3px #F0457F); }
  @keyframes st-neon { 0% { stroke-dashoffset: 1; opacity: 1; } 22% { stroke-dashoffset: 0; opacity: 1; } 25% { opacity: .2; } 27% { opacity: 1; } 29% { opacity: .35; } 32%, 86% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  .tart-studio .st-leaf { animation: wk-draw 7s var(--ease) infinite backwards; animation-delay: .8s; }
}

/* ---------- external apps in their own brand colours ---------- */
:root { --ig: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); --fb: #1877F2; --tt: #000000; --wa: #25D366; --wz: #33CCFF; }
.btn.brand-ig { background: var(--ig) !important; color: #fff !important; border: 0 !important; box-shadow: 0 10px 26px -14px #DD2A7B; }
.btn.brand-fb { background: var(--fb) !important; color: #fff !important; border: 0 !important; box-shadow: 0 10px 26px -14px #1877F2; }
.btn.brand-tt { background: var(--tt) !important; color: #fff !important; border: 1px solid #2a2a2a !important; box-shadow: -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55; }
.btn.brand-wa { background: var(--wa) !important; color: #06240F !important; border: 0 !important; box-shadow: 0 10px 26px -14px #25D366; }
.btn.brand-wz { background: var(--wz) !important; color: #04222B !important; border: 0 !important; }
.btn[class*="brand-"] svg { stroke: currentColor; }
/* contact cards: the icon tile takes the brand colour */
.channels a.brand-ig .ic { background: var(--ig); color: #fff; }
.channels a.brand-fb .ic { background: var(--fb); color: #fff; }
.channels a.brand-tt .ic { background: #000; color: #fff; box-shadow: -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55; }
.channels a.brand-wa .ic { background: var(--wa); color: #06240F; }
.channels a.brand-wz .ic { background: var(--wz); color: #04222B; }
/* footer: small brand pills */
.ftr .socials { display: flex; flex-wrap: wrap; gap: 8px; }
.ftr .socials a, .ftr a.soc-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 700; color: #fff; text-decoration: none; }
.ftr a.soc-pill { margin-block: 2px; }
.ftr .socials a:hover, .ftr a.soc-pill:hover { text-decoration: none; filter: brightness(1.08); }
.ftr .socials svg, .ftr a.soc-pill svg { width: 18px; height: 18px; }
.ftr a.brand-ig { background: var(--ig); } .ftr a.brand-fb { background: var(--fb); }
.ftr a.brand-tt { background: #000; border: 1px solid #333; box-shadow: -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55; }
.ftr a.brand-wa { background: var(--wa); color: #06240F; } .ftr a.brand-wz { background: var(--wz); color: #04222B; }
html.a-links .ftr a[class*="brand-"] { color: inherit !important; }

/* ---------- Tom strip in the hero ---------- */
.tom-strip { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: center; width: min(100%, 560px); margin: 22px auto 30px; text-align: start; }
.tom-strip .ph { border-radius: 18px; padding: 2px; background: var(--iri); }
.tom-strip .ph img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 35%; border-radius: 16px; }
.tom-strip h2 { font: 800 1.18rem/1.2 var(--f-d); }
.tom-strip h2 .iri-text { display: block; }
.tom-strip .q { border-inline-start: 3px solid #C82464; padding-inline-start: 10px; font-weight: 600; font-size: .92rem; margin-top: 8px; }
.tom-strip .btn { margin-top: 10px; min-height: 44px; padding: 0 14px; font-size: .9rem; }
@media (min-width: 900px) { .tom-strip { width: min(100%, 760px); grid-template-columns: 260px 1fr; gap: 28px; } .tom-strip h2 { font-size: 1.8rem; } .tom-strip .q { font-size: 1.1rem; } }


/* ---------- gift voucher (same card + flow as the app) ---------- */
.gift-prog { display: flex; gap: 4px; }
.gift-prog i { flex: 1; height: 5px; border-radius: 5px; background: var(--line); }
.gift-prog i.on { background: var(--iri); }
.gift-amt { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--fline); border-radius: 18px; padding: 12px; }
.gift-amt:focus-within { border-color: var(--pri); box-shadow: 0 0 0 3px var(--pri-soft); }
.gift-amt.bad { border-color: var(--danger); }
.gift-step { width: 48px; height: 48px; flex: none; border-radius: 14px; border: 1.5px solid var(--fline); background: var(--bg); font: 800 1.4rem Rubik, sans-serif; cursor: pointer; }
.gift-amt-in { flex: 1; min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 4px; direction: ltr; }
.gift-amt-in > span { font: 800 1.7rem Rubik, sans-serif; color: var(--muted); }
.gift-amt-in input { width: 100%; min-width: 0; max-width: 6ch; border: 0; background: none; font: 800 2.5rem Rubik, sans-serif; text-align: center; padding: 0; }
.gift-amt-in input:focus { outline: none; }
.gift-designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gift-designs button { border: 2px solid transparent; border-radius: 14px; background: none; padding: 0 0 6px; display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; cursor: pointer; overflow: hidden; }
.gift-designs button[aria-pressed="true"] { border-color: var(--ink); }
.gift-opt { text-align: start; padding: 12px; border-radius: 14px; border: 1.5px solid var(--fline); background: var(--surface); cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.gift-opt small { color: var(--muted); font-size: .8rem; }
.gift-opt[aria-pressed="true"], .gift-pay button[aria-pressed="true"] { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--iri) border-box; border-color: transparent; }
.gift-rows { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 2px 16px; }
.gift-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.gift-rows > div:first-child { border-top: 0; }
.gift-rows span { color: var(--muted); }
.gift-rows .tot b { font: 800 1.3rem Rubik, sans-serif; }
.gift-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gift-pay button { border-radius: 18px; border: 2px solid var(--fline); background: var(--surface); padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.gp-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font: 800 1rem Rubik, sans-serif; }
.gp-bit { background: #1FB6C9; color: #04262b; } .gp-pbx { background: #2C3BE0; color: #fff; font-size: .78rem; }
.gift-how ol { margin: 6px 0 0; padding-inline-start: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.gift-status { display: flex; align-items: center; gap: 10px; border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.gift-status .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.gift-status.wait { background: #2A2210; color: #F3C969; border: 1px solid #5A4718; }
.gift-status.wait .dot { animation: g-pulse 1.2s ease-in-out infinite; }
.gift-status.ok { background: #0F2A1E; color: #5BE3A4; border: 1px solid #1D5A3E; }
[data-theme="light"] .gift-status.wait { background: #FFF6DC; color: #6B4E00; border-color: #E9CF7E; }
[data-theme="light"] .gift-status.ok { background: #E3F7EC; color: #0E5A35; border-color: #9ED9B8; }
@keyframes g-pulse { 50% { opacity: .3; } }
.gift-paybox { display: flex; flex-direction: column; gap: 10px; }
.gift-num { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gift-num b { font: 800 1.5rem Rubik, sans-serif; }
.gift-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 60px 0; }

.gv { position: relative; aspect-ratio: 1.6; border-radius: 20px; padding: 16px 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; color: #fff; isolation: isolate; box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); background: var(--iri); }
.gv-1 { background: radial-gradient(circle at 20% 90%, #1BC48F 0, transparent 55%), linear-gradient(135deg, #063B33, #0C6F78 60%, #1856A8); }
.gv-2 { background: radial-gradient(circle at 15% 85%, #FF4D86 0, transparent 50%), linear-gradient(135deg, #3A0E55, #8A2BB8 55%, #D12E6E); }
.gv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.2) 45%, transparent 60%); background-size: 250% 100%; animation: gv-shine 3.4s ease-in-out infinite; }
@keyframes gv-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.gv-bird { position: absolute; width: 56%; inset-inline-start: -6%; bottom: -16%; z-index: -1; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); max-width: none; }
.gv-top { display: flex; flex-direction: column; align-items: flex-end; text-align: end; }
.gv-brand { font: 700 .82rem Rubik, sans-serif; letter-spacing: .05em; text-transform: uppercase; opacity: .9; direction: ltr; }
.gv-kind { font-size: .74rem; opacity: .85; }
.gv-main { text-align: end; text-shadow: 0 2px 10px rgba(0,0,0,.3); display: flex; flex-direction: column; align-items: flex-end; }
.gv-to { font: 700 1.3rem Rubik, sans-serif; line-height: 1.1; }
.gv-for { font: 500 .85rem Heebo, sans-serif; opacity: .85; }
.gv-amt { font: 800 2.4rem Rubik, sans-serif; line-height: 1.05; }
.gv-msg { font-size: .8rem; opacity: .92; line-height: 1.35; max-width: 62%; max-height: 2.7em; overflow: hidden; }
.gv-foot { display: flex; justify-content: flex-end; gap: 10px; align-items: center; font-size: .74rem; flex-wrap: wrap; }
.gv-code { font: 700 .82rem ui-monospace, Menlo, monospace; letter-spacing: .08em; background: rgba(0,0,0,.28); padding: 3px 8px; border-radius: 6px; }
.gv-pending, .gv-off { filter: saturate(.35) brightness(.8); }
.gv-stamp { position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%) rotate(-10deg); border: 2px solid #F3C969; color: #F3C969; font: 800 .95rem Rubik, sans-serif; padding: 4px 12px; border-radius: 8px; background: rgba(0,0,0,.5); white-space: nowrap; }
.gv-mini { aspect-ratio: 1.6; padding: 0; border-radius: 12px; box-shadow: none; width: 100%; }
.gv-mini .gv-bird { width: 70%; bottom: -20%; }
@keyframes gv-reveal { from { transform: rotateY(80deg) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.gv-reveal .gv { animation: gv-reveal .8s cubic-bezier(.2,.8,.2,1) both; }
.gift-conf { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 60; }
.gift-conf i { position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px; animation: g-fall 1.8s ease-in forwards; }
@keyframes g-fall { to { transform: translateY(105vh) rotate(600deg); opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .gv::before, .gv-reveal .gv, .gift-status.wait .dot { animation: none !important; } .gift-conf { display: none; } }

.gift-page{--danger:#FF8A80;--pri:#E0457B;--pri-soft:#3A1226;max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
html.light .gift-page{--danger:#A3261F;--pri:#A0179C;--pri-soft:#F3E3F2}
.gift-page h2{font-size:1.4rem}
.gift-page .lbl{font-weight:700;font-size:.95rem}
.gift-page .hint{font-size:.85rem;color:var(--muted)}
.gift-page .err{color:var(--danger);font-size:.88rem;font-weight:500}.gift-page .err:empty{display:none}
.gift-page .fld{width:100%;min-height:48px;font-size:16px;padding:12px 14px;border:1.5px solid var(--fline);border-radius:12px;background:var(--surface);color:var(--ink);font-family:inherit}
.gift-page .fld[aria-invalid="true"]{border-color:var(--danger)}
.gift-page .fld:focus,.gift-amt:focus-within{border-color:#8240C4;outline:none;box-shadow:0 0 0 3px rgba(130,64,196,.25)}
.gift-page .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gift-page .stack{display:flex;flex-direction:column}
.gift-page .btn-gift{display:flex;align-items:center;justify-content:center;text-decoration:none;background:var(--iri);color:#fff;border:0;width:100%;font-size:1.05rem;min-height:56px;font-weight:800;border-radius:16px;box-shadow:0 6px 22px -10px rgba(130,64,196,.8);cursor:pointer;font-family:inherit}
.gift-page .btn-out{display:flex;align-items:center;justify-content:center;text-decoration:none;width:100%;min-height:50px;border-radius:16px;border:1.5px solid var(--fline);background:var(--surface);color:var(--ink);font:600 1rem var(--f-b);cursor:pointer}
.gift-page .btn-out.sm{width:auto;min-height:44px;padding:0 16px;border-radius:999px;font-size:.9rem}
.gift-page [hidden]{display:none!important}
.gift-step,.gift-designs button,.gift-opt,.gift-pay button,.gift-amt-in input{color:var(--ink)}
.gift-how,.gift-paybox{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px 16px}
.gift-paybox p{margin:0}
.gift-demo{font-size:.8rem;color:var(--muted);text-align:center;border:1px dashed var(--fline);border-radius:12px;padding:8px}
.tart-gift .gf-lid{transform-box:view-box;transform-origin:39px 35px}
@media (prefers-reduced-motion:no-preference){.tart-gift .gf-lid{animation:gf-lid 4s cubic-bezier(.3,1.4,.4,1) infinite}@keyframes gf-lid{0%,55%,100%{transform:none}65%,85%{transform:translateY(-7px) rotate(-12deg)}}}
.ftr a.brand-mv{background:#FF5A1F;color:#fff}
.btn.brand-mv{background:#FF5A1F!important;color:#fff!important;border:0!important}

/* ---------- menu: always closed, opens as a side panel from the right ---------- */
.mainnav { display: none !important; }
.hdr .menu-btn { display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 700 .95rem var(--f-b); cursor: pointer; }
.hdr .menu-btn:hover { border-color: var(--fline); }
.hdr .menu-btn svg { width: 20px; height: 20px; }
.hdr .wrap { gap: 14px; }
.drawer-panel { inset-inline-end: auto !important; inset-inline-start: 0; border-inline-start: 0 !important; border-inline-end: 1px solid var(--line); width: min(380px, 88vw); background: radial-gradient(circle at 0 0, rgba(122,54,179,.22), transparent 45%), var(--bg); }
@keyframes dr-in { from { transform: translateX(30px); opacity: 0; } }
.drawer nav ul { counter-reset: m; }
.drawer nav li { counter-increment: m; }
.drawer nav a { justify-content: flex-start; gap: 12px; padding: 14px 12px; }
.drawer nav a::before { content: counter(m, decimal-leading-zero); font: 700 .78rem var(--f-b); color: var(--muted); letter-spacing: .04em; min-width: 1.8em; }
.drawer nav a[aria-current="page"] { box-shadow: none; background: linear-gradient(var(--surface2), var(--surface2)) padding-box, var(--iri) border-box; border: 1.5px solid transparent; }
.drawer-cta { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; background: var(--iri-btn); color: #fff; font-weight: 800; text-decoration: none; margin-top: 14px; }
.drawer-soc { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; }
.drawer-soc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; color: #fff; font-weight: 700; font-size: .85rem; text-decoration: none; }
.drawer-soc .brand-ig { background: var(--ig); } .drawer-soc .brand-fb { background: var(--fb); } .drawer-soc .brand-tt { background: #000; border: 1px solid #333; } .drawer-soc .brand-wa { background: var(--wa); color: #06240F; }

/* ---------- menu colours: aurora glass (option F) ---------- */
.drawer-bg { background: rgba(11,10,13,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.drawer-panel { background: rgba(14,12,18,.55) !important; backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); overflow: hidden auto; isolation: isolate; color: #fff; }
.drawer-panel::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(circle at 30% 20%, rgba(24,181,138,.55), transparent 35%), radial-gradient(circle at 70% 55%, rgba(76,130,230,.5), transparent 35%), radial-gradient(circle at 35% 85%, rgba(232,70,127,.55), transparent 35%); filter: blur(30px); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .drawer-panel::before { animation: aurora 14s ease-in-out infinite alternate; } @keyframes aurora { to { transform: rotate(25deg) scale(1.15); } } }
.drawer-top b, .drawer nav a { color: #fff; }
.drawer-close { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.drawer nav a::before { color: rgba(255,255,255,.6); }
.drawer nav a:hover { background: rgba(255,255,255,.1); }
.drawer nav a[aria-current="page"] { background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.35) !important; }
html.a-contrast .drawer-panel { background: #000 !important; backdrop-filter: none; } html.a-contrast .drawer-panel::before { display: none; }

/* ---------- bottom bar: just the two actions that bring clients ---------- */
@media (max-width: 860px) {
  .tabs { grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .tabs a.tb-book, .tabs a.tb-wa { flex-direction: row; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font: 800 1rem var(--f-b); }
  .tabs a.tb-book { background: var(--iri-btn); color: #fff; box-shadow: 0 8px 22px -12px rgba(200,36,100,.8); }
  .tabs a.tb-wa { background: #25D366; color: #06240F; }
  .tabs a svg { width: 20px; height: 20px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
#studio, #faq, #care { scroll-margin-top: 84px; } .anchor { display: block; height: 0; }
@media (max-width: 860px) {
  .a11y-btn { inset-inline-start: auto; inset-inline-end: 10px; bottom: calc(82px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  .a11y-btn svg { width: 26px; height: 26px; }
}
@media (max-width: 860px) { .a11y-panel { inset-inline-start: auto; inset-inline-end: 10px; } }

/* ---------- brand colours tuned to pass WCAG AA contrast (4.5:1) ---------- */
:root { --ig: linear-gradient(45deg, #B93A12 0%, #C13584 40%, #8134AF 72%, #515BD4 100%); --fb: #0866FF; }
.ftr a.brand-mv, .btn.brand-mv { background: #FF5A1F !important; color: #1A0E08 !important; }
/* voucher: scrim so small white text stays above 4.5:1 on the light parts of every design */
.gv::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.4), transparent 46%), linear-gradient(to bottom, rgba(0,0,0,.28), transparent 32%); }
.gv-code { background: rgba(0,0,0,.45); }
/* before/after: frame matches the photos so the whole tattoo is visible and the two layers line up */
.compare { aspect-ratio: 484 / 1000; max-width: 380px; }

/* menu: more see-through glass (text stays readable) */
.drawer-bg { background: rgba(11,10,13,.12); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.drawer-panel { background: rgba(14,12,18,.28) !important; backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3); }
.drawer-panel::before { opacity: .6; }
.drawer nav a, .drawer-top b { text-shadow: 0 1px 8px rgba(0,0,0,.55); }
html.light .drawer-panel { background: rgba(14,12,18,.62) !important; }

/* ---------- in-app browsers (Instagram/Facebook/TikTok) & large system font ---------- */
html, body { overflow-x: clip; }
.hdr .wrap > * { min-width: 0; }
@media (max-width: 440px) { .brand span:not(.sr) { display: none; } }
@media (max-width: 860px) {
  /* accessibility button sits in the bottom bar, so it never covers page buttons */
  .tabs { padding-left: calc(12px + 50px + 8px); }
  .a11y-btn { inset-inline-start: auto; inset-inline-end: auto; left: 12px; bottom: calc(8px + env(safe-area-inset-bottom)); width: 50px; height: 50px; z-index: 75; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
  .a11y-panel { bottom: calc(72px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- health declaration page ---------- */
.hgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
@media (max-width: 960px) { .hgrid { grid-template-columns: 1fr; } .hside { order: 2; } }
.hmain { min-width: 0; }
#health-form { display: flex; flex-direction: column; gap: 18px; }
.hstep { display: flex; flex-direction: column; gap: 14px; }
.hsteps { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hsteps li { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font: 600 .86rem var(--f-b); padding: 9px 6px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); color: var(--muted); }
.hsteps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .75rem; }
.hsteps li.on { background: var(--iri-btn); color: #fff; border-color: transparent; }
.hsteps li.ok { color: var(--ink); }
.hsteps li.ok span::before { content: "✓"; } .hsteps li.ok span { font-size: 0; } .hsteps li.ok span::before { font-size: .75rem; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .g2 { grid-template-columns: 1fr; } .hsteps li { font-size: .76rem; flex-direction: column; gap: 3px; } }
.field .err, .err { color: #ff8fb0; font-size: .86rem; min-height: 0; }
html.light .field .err, html.light .err { color: #B3123F; }
.req { color: #ff8fb0; } html.light .req { color: #B3123F; }
.field input[aria-invalid="true"] { border-color: #ff8fb0; }
.hgroup { border: 0; padding: 0; margin: 0; } .hgroup legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.hnote { font-size: .9rem; background: var(--surface2); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; color: var(--muted); margin: 0; line-height: 1.6; }
.hqs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
@media (max-width: 760px) { .hqs { grid-template-columns: 1fr; } }
.hq { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 14px; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hq legend { float: inline-start; width: 100%; padding: 0; font-weight: 600; line-height: 1.55; font-size: .97rem; }
.hq.invalid { border-color: #ff8fb0; }
.yn { display: flex; gap: 10px; }
.yn label { flex: 1; position: relative; }
.yn input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.yn span { display: block; text-align: center; padding: 10px; border-radius: 999px; border: 1.5px solid var(--fline); font-weight: 700; }
.yn input:checked + span { background: var(--iri-btn); color: #fff; border-color: transparent; }
.yn input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.qn { margin: 0; font-size: .88rem; padding: 10px 12px; border-radius: 12px; line-height: 1.55; }
.qn-check { background: rgba(255,196,0,.12); border: 1px solid rgba(255,196,0,.4); color: #FFD978; }
.qn-stop { background: rgba(255,80,110,.12); border: 1px solid rgba(255,80,110,.45); color: #FFB3C4; }
html.light .qn-check { color: #6B4A00; background: #FFF3CC; } html.light .qn-stop { color: #8A0F33; background: #FFE3EA; }
.hchks { display: flex; flex-direction: column; gap: 12px; }
.hchk { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; font-size: .95rem; cursor: pointer; }
.hchk input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; accent-color: #7A36B3; }
#parent-block { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; } #parent-block[hidden] { display: none; }
.flabel { font-weight: 600; }
.sig-wrap { position: relative; height: 180px; border-radius: 16px; border: 1.5px solid var(--fline); overflow: hidden; background: #fff; touch-action: none; }
.sig-wrap canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.sig-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #6E6474; pointer-events: none; font-size: .95rem; }
.sig-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.link-btn { background: none; border: 0; color: var(--ink); text-decoration: underline; font: 600 .9rem var(--f-b); cursor: pointer; padding: 6px; }
.hlock { font-size: .86rem; color: var(--muted); margin: 0; } .hlock a { color: var(--ink); }
.hacts { display: flex; gap: 12px; flex-wrap: wrap; } .hacts .btn { flex: 1 1 160px; }
.hside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.hside h2 { margin: 0; font: 800 1.2rem var(--f-d); }
.hside ol { margin: 0; padding-inline-start: 20px; color: var(--muted); line-height: 1.9; }
.hdone { display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; padding: 10px 0 20px; outline: none; }
.hdone h2 { margin: 0; font: 800 1.8rem var(--f-d); } .hdone p { margin: 0; max-width: 520px; } .hdone .hacts { width: 100%; max-width: 520px; }
.hdone .qn, .hdone .hnote { text-align: start; max-width: 520px; }
.hdone-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--iri-btn); color: #fff; display: grid; place-items: center; font-size: 2.3rem; font-weight: 800; }
.hdone-ic.bad { background: #B3123F; }

/* ---------- promo of the month ---------- */
.promo-bar { background: linear-gradient(90deg, #AE1E57, #6A2E9E 55%, #2553B0); color: #fff; font-size: .92rem; }
.promo-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; flex-wrap: wrap; position: relative; padding-inline-end: 44px; }
.promo-bar a { color: #fff; font-weight: 800; }
.pb-x { position: absolute; inset-inline-end: 8px; background: none; border: 0; color: #fff; font-size: 1rem; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.pb-x:hover { background: rgba(255,255,255,.15); }
.promo-card { margin: 26px 0 6px; border-radius: 22px; padding: 2px; background: var(--iri); }
.promo-card[hidden] { display: none; }
.pc-in { border-radius: 20px; background: radial-gradient(circle at 100% 0, rgba(200,36,100,.3), transparent 55%), var(--surface); padding: 18px 22px; display: flex; align-items: center; gap: 22px; }
.pc-img { flex: 0 0 120px; height: 110px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 30% 30%, #2A5FC4, transparent 60%), radial-gradient(circle at 75% 70%, #C82464, transparent 55%), #1b1622; display: grid; place-items: center; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; } .pc-img img.pc-logo { width: 78%; height: auto; object-fit: contain; }
.pc-txt { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pc-badge { align-self: flex-start; font: 800 .78rem var(--f-b); padding: 5px 11px; border-radius: 999px; background: #AE1E57; color: #fff; }
.pc-txt h2 { margin: 0; font: 800 1.5rem/1.2 var(--f-d); } .pc-txt p { margin: 0; color: var(--muted); line-height: 1.6; }
.pc-act { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pc-wa { background: #25D366; color: #06210f !important; white-space: nowrap; }
.pc-until { font-size: .82rem; color: var(--muted); }
@media (max-width: 720px) { .pc-in { flex-direction: column; align-items: stretch; text-align: start; padding: 16px; gap: 14px; } .pc-img { flex: 0 0 auto; height: 140px; } .pc-act { align-items: stretch; } }
.hstep[hidden], .hq [hidden], .hdone[hidden], #health-form[hidden], .promo-bar[hidden] { display: none !important; }
@media (max-width: 600px) { .promo-bar { font-size: .84rem; } .promo-bar .wrap { gap: 8px; min-height: 40px; padding-block: 6px; } .pb-until { display: none; } }
.hdone, #health-form { scroll-margin-top: 90px; }

/* ---------- hidden hummingbird (background) ---------- */
.hb-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: .5; }
html.light .hb-fx { opacity: .6; }
.hb { position: absolute; left: 0; top: 0; width: 46px; aspect-ratio: 390 / 330; will-change: transform; }
@media (max-width: 600px) { .hb { width: 36px; } }
.hb-in { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.hb.left .hb-in { transform: scaleX(-1); }
.hb img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hb .w { transform-origin: 53% 29%; animation: hbflap .045s linear infinite alternate; }
.hb .w.g { opacity: .45; filter: blur(1.2px); animation-delay: -.0225s; }
@keyframes hbflap { from { transform: rotate(-22deg) scaleY(1.04); } to { transform: rotate(30deg) scaleY(.72); } }
html.a-still .hb-fx { display: none; }
@media (prefers-reduced-motion: reduce) { .hb-fx { display: none; } }

/* ---------- hummingbirds feeding from the hero logo (home) ---------- */
.feed-fx{position:fixed;inset:0;pointer-events:none;z-index:6;overflow:hidden}
.fb{position:absolute;left:0;top:0;width:44px;aspect-ratio:390/330;will-change:transform;opacity:.92}
@media (max-width:600px){.fb{width:34px}}
.fb .in{position:relative;width:100%;height:100%;filter:drop-shadow(0 5px 8px rgba(0,0,0,.45))}
.fb.left .in{transform:scaleX(-1)}
.fb img{position:absolute;inset:0;width:100%;height:100%}
.fb .w{transform-origin:53% 29%;animation:fbf .045s linear infinite alternate}
.fb .w.g{opacity:.45;filter:blur(1.2px);animation-delay:-.0225s}
@keyframes fbf{from{transform:rotate(-22deg) scaleY(1.04)}to{transform:rotate(30deg) scaleY(.72)}}
.nectar{position:absolute;width:4px;height:4px;border-radius:50%;pointer-events:none;box-shadow:0 0 6px currentColor;animation:nd 1s ease-out forwards}
@keyframes nd{0%{opacity:0;transform:scale(.4)}25%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.3)}}
@media (prefers-reduced-motion: reduce){.feed-fx{display:none}}
html.a-still .feed-fx{display:none}

/* ---------- light theme: transparent logo with dark lettering ---------- */
.lg-l { display: none !important; }
html.light .lg-d { display: none !important; }
html.light .lg-l { display: block !important; }
html.light .brand img.lg-l { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
.seo-links{font-size:.8rem;opacity:.6;line-height:1.9;margin:1.2rem 0 .4rem;text-align:center}
.seo-links a{color:inherit;text-decoration:none}.seo-links a:hover{text-decoration:underline}
.motto{width:min(100%,560px);margin:4px auto 30px;padding:30px 18px;border-radius:22px;box-shadow:0 10px 30px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,.18);background:linear-gradient(90deg,#0F8A66,#0E8E99,#2A5FC4,#7A36B3,#C82464,#2A5FC4,#0F8A66);background-size:300% 100%;animation:motto-flow 12s linear infinite;text-align:center;overflow:hidden}
@keyframes motto-flow{to{background-position:300% 0}}
.motto p{white-space:nowrap;margin:0;font:700 clamp(1.9rem,8.5vw,3.4rem)/1.1 "Amatic SC",cursive;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.25)}
.motto .w{display:inline-block;opacity:0;transform:translateY(14px);filter:blur(4px)}
.motto.on .w{animation:motto-in .7s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--i)*.35s)}
.motto .sig{display:block;margin-top:10px;color:rgba(255,255,255,.9);font:600 .9rem var(--f-d);opacity:0}
.motto.on .sig{animation:motto-in .7s 2.6s forwards}
@keyframes motto-in{to{opacity:1;transform:none;filter:none}}
@media (prefers-reduced-motion:reduce){.motto{animation:none}.motto .w,.motto .sig{opacity:1!important;transform:none!important;filter:none!important;animation:none!important}}
@media (min-width:900px){.motto{width:min(100%,760px);padding:40px 24px}}
.reel{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:min(100%,1000px);margin:0 auto 34px}
.reel figure{margin:0;padding:2px;border-radius:18px;background:var(--iri);box-shadow:0 10px 26px rgba(0,0,0,.35)}
.reel video{display:block;width:100%;aspect-ratio:372/464;object-fit:cover;border-radius:16px;background:var(--surface)}
@media (min-width:700px){.reel{gap:20px}.reel figure{border-radius:22px}.reel video{border-radius:20px}}
.hero-reel{width:100%;margin:18px 0 6px;gap:8px}
@media (min-width:700px){.hero-reel{gap:14px}}
.hero-ink h1{font-size:clamp(1.9rem,8.4vw,3.6rem);white-space:nowrap}
