/* Art & Pete: site-wide styles.
   Tokens come from the old Elementor kit (post-6) and the header template
   (post-2323). Breakpoints are Elementor's: tablet <=1024px, mobile <=767px.
   Page-specific styles live in each page's <style> block. */

@font-face {
  font-family: 'Noto Serif';
  src: url('/fonts/noto-serif.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif';
  src: url('/fonts/noto-serif-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #242424;        /* primary / text */
  --light: #F3F5F8;      /* secondary */
  --accent: #467FF7;     /* links */
  --white: #FFFFFF;
  --banner: #DBCA1A;
  --serif: 'Noto Serif', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Elementor global typography (desktop values; overridden below) */
  --h1-size: 65px;       /* "primary" */
  --h1-lh: 1.2em;
  --text-size: 18px;     /* "text" */
  --text-lh: 1.5em;
  --accent-size: 20px;   /* "accent" (menu) */
  --large-text-size: 22px; /* "c05b693" */
  --box: 1140px;         /* boxed container width */
}
@media (max-width: 1024px) {
  :root { --h1-size: 45px; --text-size: 14px; --accent-size: 14px; --large-text-size: 14px; --box: 1024px; }
}
@media (max-width: 767px) {
  :root { --h1-size: 28px; --h1-lh: 1.1em; --text-size: 16px; --box: 767px; }
}

/* ---------- reset (Hello Elementor reset.css, trimmed) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: #333;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { margin-block: .5rem 1rem; font-family: inherit; font-weight: 500; line-height: 1.2; color: inherit; }
h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; }
p { margin-block: 0 .9rem; }
a { color: var(--accent); text-decoration: none; background-color: transparent; }
a:hover, a:active { color: var(--accent); }
img { border-style: none; height: auto; max-width: 100%; vertical-align: middle; }
ul { margin-top: 0; margin-bottom: 15px; }  /* Hello reset + kit custom CSS */
b, strong { font-weight: bolder; }
button, input, textarea { font-family: inherit; font-size: 1rem; line-height: 1.5; margin: 0; }

.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--white); color: var(--ink); padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- shared text styles ---------- */
.text {                    /* Elementor text-editor widget with kit "text" typography */
  font-family: var(--serif);
  font-size: var(--text-size);
  font-weight: 300;
  line-height: var(--text-lh);
  letter-spacing: .5px;
  color: var(--ink);
}
.page-title {               /* kit "primary" heading */
  margin: 0;
  font-family: var(--serif);
  font-size: var(--h1-size);
  font-weight: 600;
  line-height: var(--h1-lh);
  text-align: center;
  color: var(--ink);
}
.divider {                   /* Elementor divider: 25% wide line, 15px padding */
  display: block;
  width: 25%;
  margin: 15px auto;
  border: 0;
  border-top: 2px solid var(--ink);
}

/* ---------- header (Elementor header template 2323) ---------- */
.site-header { position: relative; z-index: 50; background: var(--white); }
.header-inner { display: flex; flex-direction: column; align-items: center; padding: 10px; }
.site-logo { display: inline-block; line-height: 0; }
.site-logo img { width: 300px; height: 86px; }

.main-nav > ul { display: flex; justify-content: center; margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; }
.main-nav a, .main-nav .submenu-toggle {
  display: flex; align-items: center;
  padding: 13px 20px;
  font-family: var(--serif);
  font-size: var(--accent-size);
  font-weight: 400;
  line-height: 1;
  text-transform: capitalize;
  color: var(--ink);
  white-space: nowrap;
}
.main-nav .submenu-toggle { background: none; border: 0; cursor: pointer; }
.caret { width: .6em; height: 1em; margin-left: 8px; fill: currentColor; }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; z-index: 10;
  min-width: 100%;
  margin: 0; padding: 0; list-style: none;
  background: var(--ink);
  visibility: hidden; opacity: 0;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav .open > .sub-menu { visibility: visible; opacity: 1; }
.main-nav .sub-menu li:not(:last-child) { border-bottom: 1px solid var(--light); }
.main-nav .sub-menu a { color: var(--white); padding: 13px 20px; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a:focus { background: #3f444b; }

.nav-toggle {
  display: none;
  margin: 0 auto;
  padding: .25em;
  border: 0; border-radius: 3px;
  background: var(--ink);
  color: var(--light);
  font-size: 22px; line-height: 0;
  cursor: pointer;
}
.nav-toggle svg { width: 1em; height: 1em; fill: currentColor; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav { display: none; }

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-nav-row { width: 100%; padding-bottom: 10px; text-align: center; }
  /* Elementor kept a 10px gap under the burger for the dropdown */
  .mobile-nav:not([hidden]) { display: block; width: 100%; margin: 10px 0 -10px; background: var(--ink); }
  .mobile-nav ul { margin: 0; padding: 0; list-style: none; text-align: left; }
  .mobile-nav li:not(:last-child) { border-bottom: 1px solid var(--light); }
  .mobile-nav a, .mobile-nav .submenu-toggle {
    display: flex; align-items: center;
    width: 100%;
    padding: 10px 20px;
    border: 0; background: none;
    font-family: var(--serif); font-size: var(--accent-size); line-height: 1; text-transform: capitalize;
    color: var(--white); text-align: left; cursor: pointer;
  }
  .mobile-nav a[aria-current="page"], .mobile-nav a:hover { background: #3f444b; }
  .mobile-nav .sub-menu a { border-left: 8px solid transparent; }
  .mobile-nav .sub-menu { border-top: 1px solid var(--light); }
}

/* "We are now on BandCamp!" strip */
.announce {
  display: flow-root;
  padding: 10px 10px 0;
  background: var(--banner);
  text-align: center;
}
.announce p { margin-bottom: 14.4px; }

/* ---------- footer (Hello theme footer) ---------- */
.site-footer {
  padding: 16px 0;
  background: var(--white);
  text-align: center;
}
.site-footer p { margin: 0; }

/* ---------- dark page band + boxed content ---------- */
.band { background: var(--ink); }
.boxed { width: 100%; max-width: var(--box); margin-inline: auto; }

/* ---------- entrance animations (replaces Elementor's animate.css) ---------- */
.js-animate [data-animate] { visibility: hidden; }
.js-animate [data-animate].is-animated { visibility: visible; animation-duration: 1.25s; animation-fill-mode: both; }
.js-animate [data-animate].fast.is-animated { animation-duration: .75s; }
.js-animate [data-animate].slow.is-animated { animation-duration: 2s; }
.is-animated[data-animate="bounceInUp"] { animation-name: bounceInUp; }
.is-animated[data-animate="bounceInLeft"] { animation-name: bounceInLeft; }
.is-animated[data-animate="bounceInRight"] { animation-name: bounceInRight; }
.is-animated[data-animate="rotateIn"] { animation-name: rotateIn; }
.is-animated[data-animate="fadeIn"] { animation-name: fadeIn; }
.is-animated[data-animate="fadeInUp"] { animation-name: fadeInUp; }
.is-animated[data-animate="zoomIn"] { animation-name: zoomIn; }

@keyframes bounceInUp {
  from, 60%, 75%, 90%, to { animation-timing-function: cubic-bezier(.215,.61,.355,1); }
  from { opacity: 0; transform: translate3d(0,3000px,0); }
  60% { opacity: 1; transform: translate3d(0,-20px,0); }
  75% { transform: translate3d(0,10px,0); }
  90% { transform: translate3d(0,-5px,0); }
  to { transform: translate3d(0,0,0); }
}
@keyframes bounceInLeft {
  from, 60%, 75%, 90%, to { animation-timing-function: cubic-bezier(.215,.61,.355,1); }
  0% { opacity: 0; transform: translate3d(-3000px,0,0); }
  60% { opacity: 1; transform: translate3d(25px,0,0); }
  75% { transform: translate3d(-10px,0,0); }
  90% { transform: translate3d(5px,0,0); }
  to { transform: none; }
}
@keyframes bounceInRight {
  from, 60%, 75%, 90%, to { animation-timing-function: cubic-bezier(.215,.61,.355,1); }
  from { opacity: 0; transform: translate3d(3000px,0,0); }
  60% { opacity: 1; transform: translate3d(-25px,0,0); }
  75% { transform: translate3d(10px,0,0); }
  90% { transform: translate3d(-5px,0,0); }
  to { transform: none; }
}
@keyframes rotateIn {
  from { transform-origin: center; transform: rotate3d(0,0,1,-200deg); opacity: 0; }
  to { transform-origin: center; transform: none; opacity: 1; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0,100%,0); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale3d(.3,.3,.3); } 50% { opacity: 1; } }

/* Elementor "grow" hover animation */
.grow { transition-duration: .3s; transition-property: transform; }
.grow:hover, .grow:focus, .grow:active { transform: scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .js-animate [data-animate] { visibility: visible; animation: none !important; }
  .grow { transition: none; }
}
