/* Catfxnk Creative — site styles (rebuilt from the Wix site) */
:root {
  --cream: #edeae0;
  --wine-dark: #3b1923;
  --wine: #763246;
  --wine-card: #4a1c27;
  --blue: #b2c3e6;
  --ink: #3b1923;
  --muted: #6b6862;
  --wrap: 980px;
  --display: "Anton", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--cream); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 20;
  background: #1a0d10 url("/img/87c670c9bf22.jpg") center / cover no-repeat;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: 112px; gap: 24px; }
.logo img { height: 72px; width: auto; }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav li { position: relative; }
.nav a, .nav button.sub {
  display: block; padding: 10px 18px; font: 400 16px/1 var(--body); color: #fff; text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.sub:hover, .nav a[aria-current="page"], .nav li.current > button.sub { color: var(--blue); }
.nav .dropdown {
  list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--wine-dark); box-shadow: 0 10px 24px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown, .nav li.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav .dropdown a { padding: 12px 18px; font-size: 15px; }

/* ---------- Floating social bar ---------- */
.social-float { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 15; display: grid; gap: 10px; }
.social-float a, .social-row a { display: block; width: 26px; height: 26px; transition: transform .15s; }
.social-float a:hover, .social-row a:hover { transform: scale(1.12); }
.social-float svg, .social-row svg { width: 100%; height: 100%; display: block; }
.social-row { display: flex; gap: 12px; justify-content: center; }

/* ---------- Shared bits ---------- */
.sky { background: #d9d6e3 url("/img/0366e8fdb40c.jpg") center / cover no-repeat; }
.cream { background: var(--cream); }
.rule { width: 30px; height: 2px; background: currentColor; border: 0; margin: 18px auto; }
.btn {
  display: inline-block; padding: 12px 22px; font: 500 13px/1 var(--body); letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer; transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn-cream { background: var(--cream); color: var(--wine-dark); }
.btn-dark { background: var(--wine-dark); color: var(--cream); }
.page-title { font-size: clamp(44px, 7vw, 72px); text-transform: uppercase; color: var(--wine-dark); }
.section-title { font-size: clamp(32px, 4.5vw, 40px); text-transform: uppercase; color: var(--wine-dark); }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 900px); display: grid; place-items: center; overflow: hidden;
  background: var(--wine-dark) url("/img/7c8254496807.jpg") center top / cover no-repeat;
  padding: 60px 20px;
}
.hero .inner { text-align: center; display: grid; justify-items: center; gap: 22px; }
.tagline { font: 400 16px/1.2 var(--mono); letter-spacing: .05em; color: var(--blue); background: var(--wine-dark); padding: 4px 8px; }
.hero .wordmark { width: min(620px, 88vw); }

/* ---------- Home: roster ---------- */
.roster { padding: 110px 0 120px; text-align: center; }
.roster h2 { font-size: clamp(40px, 6vw, 56px); color: var(--wine-dark); }
.roster .rule { color: var(--wine-dark); }
.roster .intro { font-size: 18px; margin-bottom: 50px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 46px; text-align: left; }
.card { background: var(--wine-dark); color: var(--cream); display: flex; flex-direction: column; }
.card .photo { aspect-ratio: 1 / .82; overflow: hidden; background: #fff; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .photo img { transform: scale(1.03); }
.card .photo.contain img { object-fit: contain; }
.card .body { padding: 24px 26px 28px; }
.card .genres { color: var(--blue); font-size: 14px; }
.card h3 { font-size: 20px; margin: 6px 0 16px; }
.card h3 a { color: var(--cream); }
.card p { font-size: 16px; line-height: 1.6; }

/* ---------- Home: engineering ---------- */
.eng { background: var(--wine); color: var(--cream); text-align: center; padding: 100px 0 90px; }
.eng h2 { font-size: clamp(40px, 6vw, 56px); }
.eng .intro { font-size: 18px; margin: 18px 0 56px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.services img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 26px; }
.services h3 { font-size: 20px; margin-bottom: 18px; }
.services h3 a { color: var(--blue); }
.services p { font-size: 16px; }

/* ---------- Home: production ---------- */
.prod { background: var(--wine-dark); color: var(--cream); text-align: center; padding: 70px 0 90px; }
.prod .kicker { font: 400 30px/1.2 var(--display); color: var(--blue); }
.prod h2 { font-size: clamp(40px, 6vw, 56px); margin: 14px 0 40px; }

/* ---------- Home: plugins split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.split .creature { background: var(--blue); display: grid; place-items: center; padding: 40px; }
.split .creature img { width: min(300px, 70%); }
.split .pitch { background: var(--wine); color: var(--cream); display: grid; place-content: center; justify-items: center; text-align: center; padding: 60px 30px; gap: 40px; }
.split .pitch h2 { font-size: clamp(56px, 8vw, 80px); line-height: 1.1; }

/* ---------- Footer ---------- */
.site-footer { background: #1a0d10 url("/img/87c670c9bf22.jpg") center / cover no-repeat; color: var(--cream); }
.site-footer .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 120px; flex-wrap: wrap; padding: 20px 0; }
.site-footer small { font-size: 14px; letter-spacing: .05em; }
.newsletter { display: flex; width: min(340px, 100%); }
.newsletter input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font: 400 15px var(--body); background: var(--cream); color: var(--wine-dark); }
.newsletter input::placeholder { color: var(--wine-dark); opacity: 1; }
.newsletter button { border: 0; background: var(--wine); color: var(--cream); font: 400 13px var(--body); padding: 0 22px; cursor: pointer; }
.newsletter button:hover { filter: brightness(1.15); }
.newsletter-wide { width: min(740px, 100%); margin: 0 auto; }
.newsletter-wide input { border: 1px solid var(--wine-dark); }
.newsletter-wide button { background: var(--wine-dark); padding: 0 48px; }
.form-status { font-size: 14px; margin-top: 10px; min-height: 1.4em; }
.site-footer .form-status { margin: 4px 0 0; text-align: right; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 15px var(--body); color: var(--ink); padding: 9px 10px;
  border: 1px solid var(--wine-dark); background: transparent; border-radius: 0;
}
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--wine); outline-offset: 0; }
.form-grid .submit { grid-column: 1 / -1; margin-top: 8px; width: 100%; padding: 13px; text-transform: none; font-size: 14px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-grid .form-status { grid-column: 1 / -1; margin: 0; text-align: center; }
.m-social { justify-content: center; }

/* ---------- Artist pages ---------- */
.artist-hero { padding: 90px 0 110px; }
.artist-hero .grid { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-areas: "title aside" "bio aside"; column-gap: 56px; row-gap: 22px; align-items: start; }
.artist-hero h1 { grid-area: title; font-size: clamp(36px, 6vw, 60px); text-transform: uppercase; color: var(--wine-dark); }
.artist-hero .aside { grid-area: aside; }
.artist-hero .bio { grid-area: bio; }
.bio p { font-size: 18px; line-height: 1.55; color: #1b1b18; }
.bio p + p { margin-top: 1.4em; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait.logo { aspect-ratio: 1; object-fit: contain; background: #fff; }
.facts { background: var(--wine-card); color: #f3eee6; padding: 18px 20px; margin-top: 24px; }
.facts h3 { font-size: 20px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 8px; }
.facts dl { margin: 0; }
.facts .row { padding: 7px 0; border-top: 1px solid rgba(243,238,230,.18); }
.facts dt { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: #d9b8c1; margin-bottom: 3px; }
.facts dd { margin: 0; font-size: 14px; line-height: 1.35; }
.pull { margin: 20px 0 0; padding: 0 0 0 14px; border-left: 3px solid var(--wine); font: 400 21px/1.2 var(--display); color: #5a1f2d; text-transform: uppercase; }
.listen { margin-top: 20px; display: grid; gap: 8px; }
.listen a { display: block; text-align: center; text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 14px; border: 2px solid var(--wine); color: var(--wine); transition: background .15s, color .15s; }
.listen a.primary { background: var(--wine); color: #f3eee6; }
.listen a:hover, .listen a:focus-visible { background: var(--wine-card); border-color: var(--wine-card); color: #f3eee6; outline: none; }

.disco { padding: 70px 0 90px; }
.disco h2 { margin-bottom: 40px; }
.embed { width: 100%; border: 0; display: block; }

.photos { padding: 70px 0 90px; background: #5a2a2a url("/img/18eb8623020e.jpg") center / cover no-repeat; }
.photos h2 { color: var(--wine-dark); margin-bottom: 40px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.book { padding: 0; }
.book .grid { display: grid; grid-template-columns: 1fr 1.9fr; }
.book .side { background: var(--wine-dark); color: var(--cream); padding: 60px 40px; }
.book .side h2 { font-size: 32px; margin-bottom: 30px; }
.book .side p { font-size: 15px; line-height: 1.75; }
.book .side .where { margin-top: 40px; font-size: 14px; }
.book .side a { color: var(--cream); text-decoration: none; }
.book .side a:hover { text-decoration: underline; }
.book .main { background: var(--cream); padding: 60px 40px 80px; }

/* ---------- Engineering page ---------- */
.lead-hero { padding: 80px 0 90px; }
.lead-hero .copy { margin-top: 28px; font-size: 18px; line-height: 1.55; color: var(--wine-dark); max-width: 820px; }
.lead-hero .copy p + p { margin-top: 1em; }
.lead-hero .rates { list-style: none; padding: 0; margin: 1.2em 0; }
.project { background: rgba(118,50,70,.8); padding: 70px 0; }
.project .grid { display: grid; grid-template-columns: 1fr 1.6fr; }
.project .side { background: var(--wine-dark); color: var(--cream); padding: 50px 40px; }
.project .side h2 { font-size: clamp(40px, 5vw, 56px); }
.project .side .rule { margin: 34px 0; background: var(--cream); }
.project .side p { font-size: 17px; line-height: 1.5; }
.project .main { background: var(--cream); padding: 40px 34px; }
.project .field input, .project .field select { background: #b98d97; border-color: #b98d97; }
.project .field input:focus, .project .field select:focus { outline-color: var(--wine-dark); }

/* ---------- Production page ---------- */
.beats-hero { padding: 70px 0 50px; text-align: center; }
.custom { display: grid; grid-template-columns: 1fr 2fr; }
.custom .side { background: var(--wine-dark); color: var(--cream); padding: 50px 40px 60px; }
.custom .side h2 { font-size: 30px; margin-bottom: 34px; }
.custom .side p { font-size: 15px; line-height: 1.75; }
.custom .side .where { margin-top: 40px; font-size: 14px; line-height: 1.5; }
.custom .side a { color: var(--cream); text-decoration: none; }
.custom .main { padding: 50px 40px 60px; background: #c9a3a6 url("/img/2d4b8d5ab54c.jpg") center / cover no-repeat; }
.custom .main .form-grid { background: rgba(237,234,224,.55); padding: 26px; backdrop-filter: blur(2px); }
.monthly { padding: 80px 0 60px; text-align: center; }
.monthly p { max-width: 640px; margin: 18px auto 40px; font-size: 16px; }

/* ---------- Plugins page ---------- */
.plugins-page { padding: 80px 0 110px; }
.plugins-page h1 { margin-bottom: 50px; }
.store { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #3B1923; }
.store .p { display: flex; flex-direction: column; }
.store a { text-decoration: none; color: inherit; }
.store img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .2s, box-shadow .2s; }
.store a.top:hover img { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.store .name { font-size: 17px; margin-top: 14px; }
.store .price { font-size: 16px; color: #6b4a55; margin-top: 4px; }
.store .desc { font-size: 14px; line-height: 1.5; margin-top: 8px; }
.store .links { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; padding-top: 10px; }
.store .links a { justify-self: start; white-space: nowrap; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--wine); }
.store .links a.trial { color: #5A70B4; }
.store .links a:hover { text-decoration: underline; }

/* ---------- Contact page ---------- */
.contact { padding: 70px 0 60px; text-align: center; }
.contact .social-row { margin: 22px 0 40px; }
.contact .info { display: grid; grid-template-columns: 1fr 1fr; max-width: 560px; margin: 0 auto 50px; text-align: left; font-size: 15px; }
.contact .info a { color: var(--wine-dark); }
.contact .ask { font-size: 22px; margin-bottom: 40px; }
.contact form { max-width: 560px; margin: 0 auto; text-align: left; }
.contact .form-grid .submit { width: auto; justify-self: center; padding: 13px 54px; }
.community { padding: 80px 0 110px; text-align: center; }
.community h2 { margin-bottom: 36px; }

/* ---------- Policies ---------- */
.policies { padding: 70px 0 100px; }
.policies .text { max-width: 760px; margin-top: 40px; font-size: 16px; line-height: 1.7; }
.policies h2 { font-size: 22px; margin: 34px 0 10px; color: var(--wine-dark); }
.policies p + p { margin-top: 1em; }

/* ---------- Thanks message ---------- */
.ok { color: var(--wine); font-weight: 600; }
.err { color: #a3122a; }

/* social row shown in-page on phones (Wix mobile layout), hidden on desktop */
.m-social { display: none; }

/* ---------- Motion (matches the Wix site's effects) ---------- */
/* Float In / Fade In: 1.2s, Wix's easing. Only hidden when JS is running, so nothing disappears without it. */
html.js .reveal { opacity: 0; transform: translateY(60px); transition: opacity 1.2s cubic-bezier(.445,.05,.55,.95), transform 1.2s cubic-bezier(.445,.05,.55,.95); will-change: opacity, transform; }
html.js .reveal.fade { transform: none; }
html.js .reveal.in { opacity: 1; transform: none; }
/* Background parallax: the photo drifts slower than the page as you scroll */
.parallax { position: relative; overflow: hidden; isolation: isolate; }
.parallax > .px-bg { position: absolute; left: 0; right: 0; top: -20vh; height: calc(100% + 40vh); z-index: -1; background-size: cover; background-position: center; will-change: transform; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .parallax > .px-bg { transform: none !important; }
}

/* ---------- Responsive (matches the Wix mobile layout) ---------- */
@media (max-width: 860px) {
  /* header: centered logo, hamburger right */
  .site-header .bar { justify-content: center; position: relative; min-height: 96px; }
  .nav-toggle { display: block; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
  /* full-screen cream menu */
  .nav { position: fixed; inset: 0; background: var(--cream); display: none; overflow-y: auto; padding: 90px 20px 40px; z-index: 50; }
  .nav.open { display: block; }
  .nav-close { position: absolute; top: 22px; right: 22px; background: none; border: 0; cursor: pointer; color: var(--wine-dark); padding: 6px; }
  .nav-close svg { width: 26px; height: 26px; }
  .nav > ul { flex-direction: column; align-items: center; gap: 4px; }
  .nav li { width: 100%; text-align: center; }
  .nav a, .nav button.sub { color: var(--wine-dark); font-size: 20px; padding: 12px; width: 100%; text-align: center; position: relative; }
  .nav a[aria-current="page"], .nav li.current > button.sub { color: var(--wine); }
  .nav button.sub::before { content: ""; position: absolute; left: 22%; top: 50%; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
  .nav li.open > button.sub::before { transform: translateY(-30%) rotate(-135deg); }
  .nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0; display: none; }
  .nav li.open > .dropdown, .nav li.open:hover > .dropdown { display: block; }
  .nav li:hover > .dropdown { display: none; }
  .nav .dropdown a { font-size: 17px; padding: 8px; }
  body.menu-open { overflow: hidden; }

  /* floating bar becomes an in-page row */
  .social-float { display: none; }
  .m-social { display: flex; }

  .cards, .services, .split, .book .grid, .project .grid, .custom, .store { grid-template-columns: 1fr; }
  .hero { min-height: 640px; }
  .tagline { font-size: clamp(10px, 3.2vw, 14px); letter-spacing: 0; white-space: nowrap; }
  .roster { padding: 50px 0 60px; }
  .roster .m-social { margin-bottom: 26px; }
  .roster .intro { font-size: 22px; line-height: 1.6; }
  .services { gap: 44px; }
  .services p { font-size: 18px; line-height: 1.7; }
  .eng .intro { font-size: 18px; line-height: 1.7; }
  .split .creature { min-height: 380px; }
  .split .pitch { padding: 50px 24px 60px; gap: 30px; }

  /* artist pages: title, portrait, socials, facts, then bio */
  .artist-hero { padding: 40px 0 60px; }
  .artist-hero .grid { grid-template-columns: 1fr; grid-template-areas: "title" "aside" "bio"; gap: 22px; }
  .artist-hero .aside .m-social { margin: 20px 0 0; }
  .photo-grid { grid-template-columns: 1fr; gap: 12px; }
  .photo-grid img { aspect-ratio: 4 / 5; }

  /* footer stacked */
  .site-footer .bar { flex-direction: column-reverse; justify-content: center; text-align: center; gap: 16px; padding: 26px 0; }
  .site-footer .newsletter { flex-direction: column; width: 100%; max-width: 360px; }
  .site-footer .newsletter input { padding: 12px; font-size: 17px; }
  .site-footer .newsletter button { padding: 12px; font-size: 15px; }
  .site-footer .form-status { text-align: center; }
}
@media (max-width: 560px) {
  .logo img { height: 60px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact .info { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .book .side, .book .main, .project .side, .project .main, .custom .side, .custom .main { padding: 36px 22px; }
  .bio p { font-size: 16px; }
  .newsletter-wide { flex-direction: column; }
  .newsletter-wide input, .newsletter-wide button { padding: 12px; }
}
@media (min-width: 861px) { .nav-close { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
