/* Creator Kit core: layout primitives + shared modules. Each template's theme.css sets the tokens and the look. */
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Anton"; src: url("fonts/anton.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Sora"; src: url("fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #fff; --bg-2: #f4f4f4; --fg: #111; --muted: #666; --line: #e5e5e5; --card: #fff;
  --accent: #111; --accent-fg: #fff;
  --head: "Manrope", system-ui, sans-serif; --body: "Manrope", system-ui, sans-serif;
  --radius: 16px; --wrap: 1180px; --gut: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0 0 .4em; line-height: 1.05; font-weight: 600; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--fg); color: var(--bg); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.kicker { font: 600 .74rem/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2em; }
.lede { font-size: 1.12rem; max-width: 58ch; color: var(--muted); }
.demo-ribbon { background: #1b1a17; color: #d9b25e; text-align: center; font: 600 .7rem/1.3 "Manrope", sans-serif; letter-spacing: .08em; padding: 6px 12px; position: relative; z-index: 60; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: 650 .95rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-main { background: var(--accent); color: var(--accent-fg); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-line { background: transparent; border-color: var(--line); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 12px var(--gut); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hdr-brand { text-decoration: none; font: 600 1rem/1 var(--head); letter-spacing: .02em; margin-right: auto; }
.hdr-nav { display: flex; gap: 22px; }
.hdr-nav a { text-decoration: none; font-size: .9rem; color: var(--muted); }
.hdr-nav a:hover { color: var(--fg); }
.hdr-cta { min-height: 40px; padding: 0 18px; font-size: .85rem; }
@media (max-width: 760px) { .hdr-nav { display: none; } }

/* sections */
.sec { scroll-margin-top: 56px; padding: clamp(64px, 10vw, 128px) 0; }
.sec-head { margin-bottom: clamp(28px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(2rem, 6vw, 3.6rem); max-width: 18ch; }

/* stats */
.stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.stats li { display: flex; flex-direction: column; }
.stats b { font: 600 1.6rem/1.1 var(--head); }
.stats span { font-size: .82rem; color: var(--muted); }
.stats-note { font-size: .72rem; color: var(--muted); opacity: .8; margin: 10px 0 0; }

/* services */
.svcs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.svc { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease); }
.svc:hover { transform: translateY(-4px); }
.svc-media { aspect-ratio: 4 / 5; overflow: hidden; }
.svc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc-img { transform: scale(1.05); }
.svc-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-n { font-size: .75rem; color: var(--muted); letter-spacing: .12em; }
.svc h3 { font-size: 1.5rem; margin: 6px 0 8px; }
.svc p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-go { font-weight: 650; font-size: .9rem; }
.svc-go i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.svc:hover .svc-go i { transform: translateX(4px); }

/* gallery */
.gal { columns: 2 160px; column-gap: 10px; }
@media (min-width: 900px) { .gal { columns: 4; column-gap: 14px; } }
.g-tile { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 10px; background: none; cursor: zoom-in; border-radius: calc(var(--radius) * .6); overflow: hidden; break-inside: avoid; }
.g-tile img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.g-tile:hover img { transform: scale(1.04); }

/* table */
.table-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0; }
@media (min-width: 900px) { .table-strip { grid-template-columns: repeat(6, 1fr); } }
.t-tile { margin: 0; aspect-ratio: 9 / 14; overflow: hidden; border-radius: calc(var(--radius) * .6); }
.t-tile img { width: 100%; height: 100%; object-fit: cover; }
.table-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.rg { font-size: .75rem; color: var(--muted); margin: 0; }

/* family */
.fams { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.fam { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--card); }
.fam-media { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--bg-2); }
.fam-media img { width: 100%; height: 100%; object-fit: cover; }
.fam-mono { font: 600 1.6rem/1 var(--head); color: var(--muted); }
.fam h3 { font-size: 1.15rem; margin: 0 0 2px; }
.fam p { margin: 0; color: var(--muted); font-size: .88rem; }
.fam > i { position: absolute; right: 16px; top: 14px; font-style: normal; color: var(--muted); }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: mq 40s linear infinite; font: italic 400 clamp(1.4rem, 4vw, 2.4rem)/1 var(--head); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--accent); }
@keyframes mq { to { transform: translateX(-50%); } }

/* faq */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; font-weight: 300; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 18px; margin: 0; max-width: 62ch; }

/* funnel */
.funnel { scroll-margin-top: 84px; max-width: 680px; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.25); padding: clamp(20px, 4vw, 36px); }
.hp { position: absolute; left: -9999px; }
.fx-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.fx-count { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.fx-prog { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.fx-prog i { display: block; height: 100%; width: 33.3%; background: var(--accent); transition: width .5s var(--ease); }
.fx-step { border: 0; padding: 0; margin: 0; display: none; }
.fx-step.is-on { display: block; animation: fxin .45s var(--ease); }
@keyframes fxin { from { opacity: 0; transform: translateY(10px); } }
.fx-step legend { font: 600 clamp(1.5rem, 4vw, 2rem)/1.1 var(--head); margin-bottom: 18px; padding: 0; }
.fx-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fx-card { position: relative; cursor: pointer; }
.fx-card input { position: absolute; opacity: 0; inset: 0; }
.fx-card span { display: flex; flex-direction: column; gap: 4px; padding: 16px; height: 100%; border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background .2s, transform .2s; }
.fx-card b { font-size: 1.02rem; }
.fx-card small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.fx-card:hover span { transform: translateY(-2px); }
.fx-card input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.fx-card input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fx-group { display: none; }
.fx-group.is-on { display: block; }
.funnel label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 14px; }
.funnel label small { font-weight: 400; color: var(--muted); }
.funnel input:not([type=radio]):not([type=checkbox]), .funnel select, .funnel textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: 400 16px/1.3 var(--body); color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: calc(var(--radius) * .6); transition: border-color .2s; }
.funnel input:focus, .funnel select:focus, .funnel textarea:focus { outline: none; border-color: var(--accent); }
.funnel .bad { border-color: #d0443a !important; }
.fx-row { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .fx-row { grid-template-columns: 1fr; } }
.fx-check { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; }
.fx-check input { width: 20px; height: 20px; accent-color: var(--accent); }
.fx-legal { font-size: .78rem; color: var(--muted); }
.fx-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.fx-nav .fx-next { margin-left: auto; }
.fx-err { color: #d0443a; font-size: .88rem; margin: 10px 0 0; }
.fx-done { text-align: center; padding: 24px 0; animation: fxin .5s var(--ease); }
.fx-done-k { color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.fx-done h3 { font-size: 1.5rem; max-width: 24ch; margin: 0 auto 12px; }
.funnel.is-done .fx-head, .funnel.is-done .fx-nav { display: none; }

/* footer */
.foot { padding: 96px 0 48px; text-align: center; }
.foot-big { font: 600 clamp(2.6rem, 10vw, 6rem)/1 var(--head); margin-bottom: 28px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 40px 0 20px; }
.foot-links a { text-decoration: none; color: var(--muted); }
.foot-links a:hover { color: var(--fg); }
.foot-small { font-size: .74rem; color: var(--muted); margin-top: 20px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 20px; animation: fxin .3s; }
.lb[hidden] { display: none; }
.lb img { max-height: 90vh; max-width: 100%; border-radius: 8px; }
.lb-x { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border: 0; background: none; color: #fff; font-size: 2rem; cursor: pointer; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .marquee-track { animation: none; } html { scroll-behavior: auto; } }
