/* Ariva brand-site layout: agencies, venues, studios, portfolios. Loads after ariva.css + saas.css; colours come from the theme. */

/* ---------- Art made in code (no stock photos) ---------- */
.art2 { position: relative; overflow: hidden; width: 100%; height: 100%; min-height: 240px; background: var(--a3, var(--bg3)); isolation: isolate; }
.art2 > i { position: absolute; display: block; }
.art2.is-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--ph) center / cover no-repeat; }
.art2.face.is-photo::after { background-position: center 30%; }
/* Landscape: sky, sun, layered hills */
.art2.land { background: linear-gradient(180deg, var(--sky1, color-mix(in srgb, var(--acc2) 30%, #fff)), var(--sky2, color-mix(in srgb, var(--acc2) 12%, #fff)) 60%); }
.art2.land i:nth-child(1) { width: 26%; aspect-ratio: 1; border-radius: 50%; left: 62%; top: 14%; background: var(--sun, var(--acc3)); box-shadow: 0 0 80px color-mix(in srgb, var(--sun, var(--acc3)) 60%, transparent); }
.art2.land i:nth-child(2) { width: 150%; height: 70%; left: -30%; top: 52%; border-radius: 50%; background: color-mix(in srgb, var(--acc) 55%, #fff); }
.art2.land i:nth-child(3) { width: 130%; height: 70%; left: 10%; top: 62%; border-radius: 50%; background: color-mix(in srgb, var(--acc) 80%, #000 0%); }
.art2.land i:nth-child(4) { width: 140%; height: 60%; left: -50%; top: 74%; border-radius: 50%; background: color-mix(in srgb, var(--acc) 70%, var(--ink)); }
.art2.land i:nth-child(5) { width: 4%; height: 22%; left: 30%; top: 50%; border-radius: 4px; background: color-mix(in srgb, var(--acc) 60%, var(--ink)); }
.art2.land i:nth-child(5)::after { content: ''; position: absolute; left: -110%; top: -40%; width: 320%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--acc) 85%, var(--ink)); }
/* Plate: top-down dish */
.art2.plate { background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--acc3) 30%, transparent), transparent 50%), var(--a3, #2B1D16); }
.art2.plate i:nth-child(1) { width: 70%; aspect-ratio: 1; left: 15%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: #F6F1E9; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5), inset 0 0 0 14px #ECE4D8; }
.art2.plate i:nth-child(2) { width: 38%; aspect-ratio: 1; left: 31%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--acc), color-mix(in srgb, var(--acc) 60%, #000)); }
.art2.plate i:nth-child(3), .art2.plate i:nth-child(4), .art2.plate i:nth-child(5) { width: 7%; aspect-ratio: 1; border-radius: 50% 50% 50% 0; background: var(--acc2); transform: rotate(-30deg); }
.art2.plate i:nth-child(3) { left: 40%; top: 36%; } .art2.plate i:nth-child(4) { left: 55%; top: 46%; transform: rotate(60deg); } .art2.plate i:nth-child(5) { left: 44%; top: 58%; transform: rotate(150deg); }
.art2.plate i:nth-child(6) { width: 6%; height: 46%; left: 88%; top: 27%; border-radius: 99px; background: linear-gradient(#D9D2C6, #A9A196); }
/* Geometric composition */
.art2.geo { background: var(--a3, var(--bg3)); }
.art2.geo i:nth-child(1) { width: 56%; aspect-ratio: 1; left: -8%; top: 30%; border-radius: 50%; background: var(--acc); }
.art2.geo i:nth-child(2) { width: 44%; aspect-ratio: 1; right: 6%; top: 10%; background: var(--acc2); border-radius: 0 0 50% 50%; }
.art2.geo i:nth-child(3) { width: 30%; height: 30%; left: 48%; bottom: 8%; background: var(--ink); }
.art2.geo i:nth-child(4) { width: 18%; aspect-ratio: 1; left: 38%; top: 14%; border-radius: 50%; border: 6px solid var(--ink); }
/* Arch: architecture / calm */
.art2.arch { background: var(--a3, var(--bg3)); }
.art2.arch i:nth-child(1) { width: 44%; height: 78%; left: 28%; bottom: 0; border-radius: 999px 999px 0 0; background: var(--acc); }
.art2.arch i:nth-child(2) { width: 24%; height: 50%; left: 38%; bottom: 0; border-radius: 999px 999px 0 0; background: var(--a3, var(--bg3)); }
.art2.arch i:nth-child(3) { width: 14%; aspect-ratio: 1; left: 70%; top: 12%; border-radius: 50%; background: var(--acc2); }
.art2.arch i:nth-child(4) { left: 0; right: 0; bottom: 0; height: 10%; background: color-mix(in srgb, var(--ink) 85%, transparent); }
/* Stripes: energetic / sport */
.art2.stripes { background: repeating-linear-gradient(-55deg, var(--acc) 0 22px, transparent 22px 52px), var(--a3, var(--ink)); }
.art2.stripes i:nth-child(1) { width: 60%; aspect-ratio: 1; left: 20%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: var(--a3, var(--ink)); border: 3px solid var(--acc); }
.art2.stripes i:nth-child(2) { left: 50%; top: 50%; transform: translate(-50%, -50%); font-style: normal; font: 400 clamp(40px, 6vw, 88px)/1 var(--f-head); color: var(--acc); }
/* Blob: soft organic */
.art2.blob { background: var(--a3, var(--bg3)); }
.art2.blob i:nth-child(1) { width: 70%; aspect-ratio: 1; left: 15%; top: 12%; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; background: linear-gradient(135deg, var(--acc), var(--acc2)); animation: b-morph 12s ease-in-out infinite; }
.art2.blob i:nth-child(2) { width: 22%; aspect-ratio: 1; left: 66%; top: 62%; border-radius: 50%; background: var(--acc3); }
@keyframes b-morph { 50% { border-radius: 58% 42% 37% 63% / 55% 60% 40% 45%; transform: rotate(12deg); } }
/* Portrait: abstract person for team cards */
.art2.face { background: linear-gradient(160deg, color-mix(in srgb, var(--acc) 22%, var(--bg2)), color-mix(in srgb, var(--acc2) 18%, var(--bg2))); }
.art2.face i:nth-child(1) { width: 34%; aspect-ratio: 1; left: 33%; top: 22%; border-radius: 50%; background: var(--skin, #E6B48F); }
.art2.face i:nth-child(2) { width: 64%; height: 40%; left: 18%; bottom: -6%; border-radius: 999px 999px 0 0; background: var(--shirt, var(--acc)); }
.art2.face i:nth-child(3) { width: 38%; height: 18%; left: 31%; top: 18%; border-radius: 999px 999px 40% 40%; background: var(--hair, #2B1B14); }
/* Grid: technical / data */
.art2.grid { background: linear-gradient(var(--line) 1px, transparent 1px) 0 0/32px 32px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/32px 32px, var(--a3, var(--bg3)); }
.art2.grid i:nth-child(1) { left: 12%; right: 12%; top: 22%; height: 2px; background: var(--acc); transform-origin: left; transform: rotate(-12deg) scaleX(1); box-shadow: 0 0 0 1px var(--acc); }
.art2.grid i:nth-child(2) { width: 16px; height: 16px; border-radius: 50%; left: 30%; top: 44%; background: var(--acc); box-shadow: 120px -40px 0 var(--acc2), 240px -70px 0 var(--acc); }
.art2.grid i:nth-child(3) { width: 40%; height: 26%; right: 10%; bottom: 12%; border-radius: 14px; background: var(--bg2); box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); }

/* ---------- Heroes ---------- */
.bh { position: relative; overflow: hidden; isolation: isolate; }
/* Big type */
.bh-type { padding: 160px 0 0; }
.bh-type .bh-title { font-size: clamp(56px, 11.5vw, 184px); line-height: .88; letter-spacing: -0.055em; font-weight: var(--h-w, 600); }
.bh-type .bh-title em { font-style: italic; font-family: var(--f-head2, var(--f-head)); font-weight: 400; color: var(--acc); }
.bh-type .bh-row { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: end; margin-top: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.bh-type .bh-row p { font-size: 19px; color: var(--ink2); max-width: 30em; }
.bh-type .bh-meta { display: grid; gap: 6px; font: 500 13px/1.4 var(--f-mono); color: var(--ink2); text-transform: uppercase; letter-spacing: .08em; }
.bh-type .bh-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 16px; height: 380px; }
.bh-type .bh-strip > div { border-radius: var(--r-lg); overflow: hidden; }
/* Split */
.bh-split { padding: 150px 0 90px; }
.bh-split .bh-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bh-split .bh-title { margin-top: 22px; font-size: clamp(44px, 5.8vw, 82px); line-height: .98; letter-spacing: -0.045em; font-weight: var(--h-w, 600); text-wrap: balance; }
.bh-split .bh-title em { font-style: italic; color: var(--acc); font-family: var(--f-head2, var(--f-head)); font-weight: 400; }
.bh-split p.bh-sub { margin-top: 22px; font-size: 19px; color: var(--ink2); max-width: 32em; }
.bh-split .hero-btns { justify-content: flex-start; }
.bh-split .bh-art { position: relative; height: 560px; }
.bh-split .bh-art > .a-frame { height: 100%; }
.bh-split .bh-art > .a-frame > div { height: 100%; }
.bh-badge { position: absolute; left: -28px; bottom: 40px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: var(--bg2); box-shadow: 0 24px 50px -20px rgba(0,0,0,.3); font-size: 14px; animation: l-bob 7s ease-in-out infinite; }
.bh-badge b { display: block; font: 600 22px/1 var(--f-head); }
.bh-badge small { color: var(--ink2); }
@keyframes l-bob { 50% { transform: translateY(-10px); } }
/* Full bleed */
.bh-full { min-height: 100vh; display: flex; align-items: flex-end; padding: 160px 0 72px; color: var(--hero-ink, #fff); }
.bh-full .bh-bg { position: absolute; inset: 0; z-index: -1; }
.bh-full .bh-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
.bh-full .bh-bg .art2.plate i:nth-child(1) { left: 60%; width: 48%; }
.bh-full .bh-bg .art2.plate i:nth-child(2) { left: 70.5%; width: 27%; }
.bh-full .bh-bg .art2.plate i:nth-child(3) { left: 76%; } .bh-full .bh-bg .art2.plate i:nth-child(4) { left: 86%; } .bh-full .bh-bg .art2.plate i:nth-child(5) { left: 79%; }
.bh-full .bh-bg .art2.plate i:nth-child(6) { left: 92%; width: 3.5%; }
.bh-full .bh-bg::after { background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.15) 65%), linear-gradient(180deg, transparent 50%, rgba(0,0,0,.4)); }
.bh-full .bh-bg .art2 { height: 100%; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.bh-full.in-view .bh-bg .art2 { transform: scale(1); }
.bh-full .bh-title { font-size: clamp(54px, 9vw, 150px); line-height: .9; letter-spacing: -0.045em; font-weight: var(--h-w, 600); max-width: 12ch; color: inherit; }
.bh-full .bh-title em { font-style: italic; font-family: var(--f-head2, var(--f-head)); font-weight: 400; color: var(--acc2); }
.bh-full .bh-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 32px; }
.bh-full .bh-row p { max-width: 30em; font-size: 19px; color: color-mix(in srgb, var(--hero-ink, #fff) 82%, transparent); }
.bh-full .a-btn.ghost { color: var(--hero-ink, #fff); border-color: color-mix(in srgb, var(--hero-ink, #fff) 40%, transparent); }
.bh-full .a-eye { color: color-mix(in srgb, var(--hero-ink, #fff) 80%, transparent); }
.nav.on-dark:not(.scrolled) { color: #fff; }
.nav.on-dark:not(.scrolled) .nav-links { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.nav.on-dark:not(.scrolled) .nav-links a, .nav.on-dark:not(.scrolled) .nav-login { color: rgba(255,255,255,.8); }
.nav.on-dark:not(.scrolled) .nav-burger span { background: #fff; }

/* ---------- Intro statement ---------- */
.b-intro p { font: var(--h-w, 500) clamp(28px, 3.6vw, 50px)/1.18 var(--f-head); letter-spacing: -0.03em; max-width: 46ch; }
.b-intro p span { color: var(--ink2); }
.b-intro p em { font-style: italic; font-family: var(--f-head2, var(--f-head)); color: var(--acc); font-weight: 400; }
.b-intro .a-eye { margin-bottom: 28px; }

/* ---------- Services: numbered rows ---------- */
.b-services { border-top: 1px solid var(--line); }
.b-svc { display: grid; grid-template-columns: 80px 1.1fr 1.4fr 40px; gap: 24px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; transition: padding .4s var(--ease); }
.b-svc::before { content: ''; position: absolute; inset: 0 -24px; z-index: -1; border-radius: var(--r-md); background: var(--acc); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.b-svc:hover::before { transform: scaleY(1); }
.b-svc:hover { color: var(--acc-ink); }
.b-svc:hover p, .b-svc:hover .b-svc-n { color: color-mix(in srgb, var(--acc-ink) 80%, transparent); }
.b-svc-n { font: 500 13px/1 var(--f-mono); color: var(--ink2); }
.b-svc h3 { font-size: clamp(26px, 2.8vw, 38px); font-weight: var(--h-w, 600); }
.b-svc p { color: var(--ink2); }
.b-svc .b-arr { width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: transform .4s var(--ease); }
.b-svc:hover .b-arr { transform: rotate(-45deg); }

/* ---------- Work grid ---------- */
.b-work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 20px; }
.b-tile { grid-column: span 6; text-decoration: none; }
.b-tile.w7 { grid-column: span 7; } .b-tile.w5 { grid-column: span 5; } .b-tile.w12 { grid-column: span 12; }
.b-tile.dn { margin-top: 90px; }
.b-tile-img { border-radius: var(--r-lg); overflow: hidden; height: 460px; position: relative; }
.b-tile.w12 .b-tile-img { height: 560px; }
.b-tile-img .art2 { transition: transform 1s var(--ease); }
.b-tile:hover .b-tile-img .art2 { transform: scale(1.05); }
.b-tile-img .b-view { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); color: var(--ink); font-size: 14px; font-weight: 600; transform: scale(0); transition: transform .45s var(--ease); }
.b-tile:hover .b-view { transform: scale(1); }
.b-tile-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.b-tile-cap h3 { font-size: 26px; font-weight: var(--h-w, 600); letter-spacing: -0.02em; }
.b-tile-cap span { color: var(--ink2); font-size: 14px; white-space: nowrap; }

/* ---------- Menu / schedule ---------- */
.b-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.b-tabs button { height: 44px; padding: 0 22px; border-radius: var(--btn-r); border: 1px solid var(--line); background: none; color: var(--ink2); cursor: pointer; font: 500 15px/1 var(--f-body); transition: all .25s; }
.b-tabs button[aria-selected="true"] { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.b-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.b-menu[hidden] { display: none; }
.b-dish { padding: 22px 0; border-bottom: 1px dashed var(--line); }
.b-dish-h { display: flex; align-items: baseline; gap: 12px; }
.b-dish-h h4 { font: var(--h-w, 600) 22px/1.2 var(--f-head); letter-spacing: -0.01em; }
.b-dish-h i { flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--ink) 30%, transparent); transform: translateY(-5px); }
.b-dish-h b { font: 600 18px/1 var(--f-body); color: var(--acc); }
.b-dish p { margin-top: 6px; color: var(--ink2); font-size: 15px; }
.b-dish em { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--acc2) 18%, transparent); color: color-mix(in srgb, var(--acc2) 60%, var(--ink)); font: 600 11px/1.4 var(--f-body); font-style: normal; vertical-align: 3px; }

/* ---------- Cards (benefits) ---------- */
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.b-card { padding: 32px; border-radius: var(--r-lg); background: var(--bg2); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
.b-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
.b-card-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--acc) 14%, transparent); color: var(--acc); font-size: 22px; }
.b-card h3 { margin-top: 28px; font-size: 24px; font-weight: var(--h-w, 600); }
.b-card p { margin-top: 10px; color: var(--ink2); }

/* ---------- Split story ---------- */
.b-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.b-split.flip > :first-child { order: 2; }
.b-split-img { height: 540px; }
.b-split-img > div { height: 100%; }
.b-split h2 { margin-top: 20px; font-size: clamp(34px, 4vw, 56px); font-weight: var(--h-w, 600); }
.b-split h2 em { font-style: italic; font-family: var(--f-head2, var(--f-head)); color: var(--acc); font-weight: 400; }
.b-split p { margin-top: 20px; color: var(--ink2); font-size: 18px; }

/* ---------- Gallery marquee ---------- */
.b-gallery { overflow: hidden; }
.b-gallery .a-marq { overflow: hidden; }
.b-gallery .a-marq-track { gap: 16px; animation-duration: 50s; }
.b-gallery .g-it { width: 340px; height: 420px; border-radius: var(--r-lg); overflow: hidden; flex: none; }
.b-gallery .g-it:nth-child(even) { height: 340px; margin-top: 40px; }

/* ---------- Team ---------- */
.b-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
.b-mate .b-ph { aspect-ratio: 4/5; border-radius: var(--r-md); overflow: hidden; }
.b-mate .b-ph .art2 { transition: transform .8s var(--ease); }
.b-mate:hover .b-ph .art2 { transform: scale(1.05); }
.b-mate b { display: block; margin-top: 14px; font-weight: 600; font-size: 17px; }
.b-mate small { color: var(--ink2); }

/* ---------- Info strip (hours, address) ---------- */
.b-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.b-info > div { padding: 28px; border-radius: var(--r-lg); background: var(--bg2); border: 1px solid var(--line); }
.b-info h4 { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.b-info p { margin-top: 14px; font: var(--h-w, 600) 22px/1.35 var(--f-head); }
.b-info small { display: block; margin-top: 8px; color: var(--ink2); }

@media (max-width: 1080px) { .bh-type .bh-row { grid-template-columns: 1fr; } .b-team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .bh-full .bh-bg .art2.plate i:nth-child(1) { left: 20%; width: 90%; } .bh-full .bh-bg .art2.plate i:nth-child(2) { left: 46%; width: 38%; } .bh-full .bh-bg .art2.plate i:nth-child(6) { display: none; }
  .bh-split .bh-in, .b-split, .b-menu, .b-cards, .b-info { grid-template-columns: 1fr; }
  .bh-split .bh-art { height: 400px; } .bh-badge { left: 12px; }
  .bh-type .bh-strip { grid-template-columns: 1fr 1fr; height: 260px; } .bh-type .bh-strip > div:first-child { grid-column: 1 / -1; }
  .bh-full { min-height: 88vh; } .bh-full .bh-row { flex-direction: column; align-items: flex-start; }
  .b-svc { grid-template-columns: 44px 1fr 32px; } .b-svc p { grid-column: 2 / 3; } .b-svc .b-arr { grid-row: 1; grid-column: 3; width: 32px; height: 32px; }
  .b-work { grid-template-columns: 1fr; gap: 32px; } .b-tile, .b-tile.w7, .b-tile.w5, .b-tile.w12 { grid-column: auto; } .b-tile.dn { margin-top: 0; } .b-tile-img, .b-tile.w12 .b-tile-img { height: 320px; }
  .b-split.flip > :first-child { order: 0; } .b-split-img { height: 360px; }
  .b-gallery .g-it { width: 240px; height: 300px; } .b-gallery .g-it:nth-child(even) { height: 240px; }
}

/* Mini app UI (used as hero art) */
.ui-app { height: 100%; padding: 22px; background: var(--bg2); display: grid; grid-template-rows: auto auto 1fr; gap: 14px; font-size: 13px; }
.ui-top { display: flex; justify-content: space-between; align-items: center; }
.ui-top b { font: 600 16px/1 var(--f-head); }
.ui-top span { padding: 5px 10px; border-radius: 99px; background: color-mix(in srgb, var(--acc2) 18%, transparent); color: var(--acc); font-weight: 600; font-size: 12px; }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-stats div { padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); }
.ui-stats small { display: block; color: var(--ink2); font-size: 11px; }
.ui-stats b { font: 600 22px/1.2 var(--f-head); }
.ui-list { display: grid; gap: 8px; align-content: start; }
.ui-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); }
.ui-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 12px; }
.ui-row b { display: block; font-weight: 600; } .ui-row small { color: var(--ink2); font-size: 12px; }
.ui-bar { width: 110px; height: 6px; border-radius: 6px; background: var(--bg3); overflow: hidden; }
.ui-bar i { display: block; height: 100%; width: var(--w); background: var(--acc); border-radius: 6px; transform-origin: left; animation: ui-grow 1.4s .6s var(--ease) both; }
@keyframes ui-grow { from { transform: scaleX(0); } }
