/* The landing page: four styles side by side on a dark canvas. Each panel
   speaks in its own business's colours and type. */
:root {
  --bg: #0D0D10; --fg: #F2F1EE; --mute: #A3A2AA; --line: rgba(255,255,255,.1);
  --ui: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --focus: #fff; --sel: rgba(255,255,255,.2);
  --split-step: 90ms; --split-dur: 1.1s; --split-delay: 100ms;
  --intro-dur: 1.2s;
  --f-salon: "Bodoni Moda", Didot, Georgia, "Caladea", serif;
  --f-barber: Anton, Impact, "Arial Narrow", "TeX Gyre Heros Cn", sans-serif;
  --f-nails: "DM Serif Display", "Lora", Georgia, serif;
  --f-tattoo: "Pirata One", "UnifrakturMaguntia", "Lora", Georgia, serif;
}
body { background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--ui); font-synthesis: none; }
.wrap { width: min(1360px, 100% - 64px); margin-inline: auto; }

/* A slow mesh of the four colours behind everything */
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; opacity: .22; filter: blur(70px); }
.m1 { background: #0E7C7B; left: -10vw; top: -8vw; animation: drift 22s ease-in-out infinite; }
.m2 { background: #C33B2C; right: -12vw; top: 10vh; animation: drift 26s ease-in-out -6s infinite reverse; }
.m3 { background: #E0457B; left: 20vw; bottom: -22vw; animation: drift 24s ease-in-out -12s infinite; }
.m4 { background: #B89A5E; right: 6vw; bottom: -20vw; opacity: .14 !important; animation: drift 28s ease-in-out -3s infinite reverse; }
@keyframes drift { 50% { transform: translate(6vw, 4vw) scale(1.12); } }

.top-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; letter-spacing: .01em; text-decoration: none; color: var(--fg); }
.mark-dot { width: 10px; height: 10px; border-radius: 3px; background: conic-gradient(#0E7C7B 0 25%, #C33B2C 0 50%, #E0457B 0 75%, #E8E0CF 0); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lang { background: rgba(255,255,255,.06); border-radius: 999px; padding: 3px; }
.lang button { color: var(--fg); border-radius: 999px; padding: 6px 11px; }
.lang button[aria-pressed="true"] { background: rgba(255,255,255,.14); }

.intro { padding: 70px 0 54px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.title { font: 600 clamp(48px, 7.2vw, 112px)/1.1 var(--ui); letter-spacing: -.045em; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .28em; }
.rot { position: relative; display: inline-grid; align-items: center; height: 1.25em; overflow: hidden; min-width: 4.2em; }
.rot b { grid-area: 1 / 1; font-weight: 400; letter-spacing: 0; line-height: 1.25; transform: translateY(110%); opacity: 0; transition: transform .8s cubic-bezier(.7,0,.2,1), opacity .5s; white-space: nowrap; }
.rot b.is-on { transform: none; opacity: 1; }
.rot b.is-out { transform: translateY(-110%); opacity: 0; }
.r-salon { font-family: var(--f-salon) !important; font-style: italic; color: #5FD0CB; }
.r-barber { font-family: var(--f-barber) !important; text-transform: uppercase; color: #F0675A; font-weight: 700 !important; letter-spacing: .01em !important; }
.r-nails { font-family: var(--f-nails) !important; font-style: italic; color: #FF8FB4; }
.r-tattoo { font-family: var(--f-tattoo) !important; color: #E8E0CF; }
.lede { max-width: 700px; margin-top: 28px; font-size: 19px; color: var(--mute); }

/* ── The four panels: hover to open one up ── */
.styles { padding: 10px 0 120px; }
.panels { display: flex; gap: 14px; height: min(640px, 72vh); min-height: 520px; }
.panel { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px; border-radius: 26px; overflow: hidden; text-decoration: none; transition: flex-grow .8s cubic-bezier(.7,0,.2,1), transform .5s var(--ease), box-shadow .5s; isolation: isolate; box-shadow: 0 30px 60px -40px rgba(0,0,0,.9); }
.panels:hover .panel { flex-grow: .8; }
.panels .panel:hover, .panels .panel:focus-visible { flex-grow: 2.1; }
.panel:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.p-num { position: absolute; top: 24px; left: 28px; font: 600 13px/1 var(--ui); letter-spacing: .1em; opacity: .7; }
.p-art { position: absolute; z-index: -1; top: 8%; left: 50%; width: min(78%, 300px); aspect-ratio: 1; transform: translateX(-50%); transition: transform .9s var(--ease); }
.panel:hover .p-art { transform: translateX(-50%) scale(1.1) rotate(-3deg); }
.p-art svg { width: 100%; height: 100%; overflow: visible; }
.p-name { font-size: clamp(30px, 2.8vw, 46px); line-height: .95; }
.p-kind { font: 600 12.5px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.p-desc { font-size: 15px; line-height: 1.5; max-width: 400px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s; }
.panel:hover .p-desc, .panel:focus-visible .p-desc { max-height: 120px; opacity: .9; }
.p-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; align-self: flex-start; padding: 11px 18px; border-radius: 999px; font: 600 14px/1 var(--ui); background: var(--go-bg); color: var(--go-ink); white-space: nowrap; transition: transform .4s var(--ease); }
.p-go i { font-style: normal; transition: transform .4s var(--ease); }
.panel:hover .p-go i { transform: translateX(5px); }

.p-salon { background: linear-gradient(180deg, #F4FBFA, #DDF3F2); color: #17202A; --go-bg: #0E7C7B; --go-ink: #fff; }
.p-salon .p-name { font-family: var(--f-salon); font-style: italic; }
.p-barber { background: radial-gradient(circle at 50% 30%, #262320, #141311 70%); color: #EFE6D6; --go-bg: #C33B2C; --go-ink: #fff; }
.p-barber .p-name { font-family: var(--f-barber); text-transform: uppercase; font-weight: 700; }
.p-nails { background: linear-gradient(170deg, #FFF7F2, #F9DCD5 70%, #F4C1C9); color: #3B1235; --go-bg: #E0457B; --go-ink: #fff; }
.p-nails .p-name { font-family: var(--f-nails); }
.p-nails .p-name em { color: #E0457B; }
.p-tattoo { background: radial-gradient(circle at 50% 30%, #2A1A17, #0E0D0C 70%); color: #E8E0CF; --go-bg: #B8352B; --go-ink: #fff; }
.p-tattoo .p-name { font-family: var(--f-tattoo); }

/* the little previews */
.mini-air path { animation: air 1s linear infinite; }
@keyframes air { to { stroke-dashoffset: -36; } }
.mini-stripes { animation: stripes 1.8s linear infinite; }
@keyframes stripes { to { transform: translateY(40px); } }
.mini-clip { animation: buzzmini .09s steps(2) infinite; transform-origin: 153px 126px; }
@keyframes buzzmini { 50% { transform: translate(.8px, -.6px) rotate(.6deg); } }
.mini-paint { transform-box: fill-box; transform-origin: 50% 100%; animation: paint 4.8s cubic-bezier(.6,0,.3,1) infinite, polish 19.2s steps(1) infinite; }
@keyframes paint { 0% { transform: scaleY(0); } 45%, 85% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes polish { 0% { fill: #D7264F; } 25% { fill: #A98BE6; } 50% { fill: #4A1942; } 75% { fill: #9ED3A4; } }
.mini-spark path { transform-box: fill-box; transform-origin: center; animation: tw 2s ease-in-out infinite; }
.mini-spark path:nth-child(2) { animation-delay: -.7s; } .mini-spark path:nth-child(3) { animation-delay: -1.3s; }
@keyframes tw { 50% { transform: scale(.3) rotate(45deg); opacity: .3; } }
.mini-ink path { stroke-dasharray: 1; animation: ink 5s cubic-bezier(.6,0,.3,1) infinite; }
.mini-ink path:nth-child(2) { animation-delay: .25s; } .mini-ink path:nth-child(3) { animation-delay: .4s; } .mini-ink path:nth-child(4) { animation-delay: .5s; }
@keyframes ink { 0% { stroke-dashoffset: 1; } 50%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ── Behind them ── */
.behind { padding: 60px 0 130px; }
.h2 { font: 600 clamp(32px, 4vw, 56px)/1.05 var(--ui); letter-spacing: -.035em; max-width: 760px; margin-bottom: 50px; }
.facts3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.facts3 li { padding: 30px 28px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: background .4s, transform .5s var(--ease); }
.facts3 li:hover { background: rgba(255,255,255,.07); transform: translateY(-6px); }
.facts3 svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.facts3 h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.facts3 p { color: var(--mute); font-size: 15.5px; }
.cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 40px; padding: 30px 34px; border-radius: 26px; background: linear-gradient(110deg, rgba(14,124,123,.25), rgba(195,59,44,.22), rgba(224,69,123,.22), rgba(184,154,94,.18)); border: 1px solid var(--line); }
.cta p { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.btn-cta { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border-radius: 999px; background: #fff; color: #0D0D10; font-weight: 650; text-decoration: none; transition: transform .35s var(--ease), box-shadow .3s; }
.btn-cta:hover { box-shadow: 0 14px 30px -12px rgba(255,255,255,.4); }

.foot { border-top: 1px solid var(--line); padding: 30px 0; color: var(--mute); font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; gap: 30px; }
.foot a { color: var(--fg); }

@media (max-width: 1000px) {
  .panels { display: grid; grid-template-columns: 1fr 1fr; height: auto; min-height: 0; }
  .panel { min-height: 420px; }
  .panels:hover .panel, .panels .panel:hover { flex-grow: 1; }
  .p-desc { max-height: none; opacity: .85; }
  .facts3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .intro { padding: 30px 0 34px; }
  .title { font-size: clamp(44px, 13vw, 60px); }
  .lede { font-size: 16.5px; }
  .panels { grid-template-columns: 1fr; gap: 12px; }
  .panel { min-height: 410px; padding: 22px; }
  .p-art { width: 180px; top: 7%; }
  .behind { padding: 30px 0 90px; }
  .cta { padding: 24px; }
  .cta p { font-size: 19px; }
  .foot-row { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .rot b { transform: translateY(110%); }
  .rot b.is-on { transform: none; }
  .mini-paint { transform: none; fill: #D7264F; }
  .mini-ink path { stroke-dashoffset: 0; }
}
