/* highfiction.com — static rebuild, matched to the Elementor original.
   Fonts are self-hosted (assets/fonts). Colors, sizes and spacing come from
   the live site's Elementor settings. Edit the variables below to restyle. */

@font-face { font-family: "Special Elite"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/special-elite-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/montserrat-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/montserrat-latin-600-normal.woff2) format("woff2"); }

:root {
  --blue:   rgba(52, 202, 255, .8);   /* #34CAFFCC — headings + buttons */
  --text:   #7a7a7a;                  /* body copy */
  --link:   #cc3366;                  /* links */
  --link-hover: #333366;
  --icon:   #d7d6d6;                  /* hero social icons */
  --boxed:  1140px;                   /* Elementor "boxed" content width */
  --type:   "Special Elite", "Courier New", monospace;
  --sans:   Montserrat, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
p { margin: 0 0 .9rem; }
h1, h2 { margin: 0; font-family: var(--type); font-weight: 400; color: var(--blue); line-height: 1; }
h2 { font-size: 2rem; }
.boxed { max-width: var(--boxed); margin: 0 auto; padding: 0 10px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; color: #000; padding: .5rem 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* captions under the hero photo and the painting */
.credit {
  font-style: italic; font-size: 14px; text-align: right;
  margin: -2px 0 0; padding: 0 10px;
}
.credit a { color: var(--link); }
.credit .dark { color: #333; }

/* ---------- hero ---------- */

.hero {
  background: #333 url(img/hero.jpg) 0 0 / cover no-repeat;
  padding: 4%;
}
.hero .boxed { min-height: 60vh; display: flex; flex-direction: column; }
.social {
  list-style: none; margin: -5% -2% 0 0; padding: 0;
  display: flex; justify-content: flex-end; gap: 3px;
}
.social a {
  display: flex; align-items: center; justify-content: center;
  width: calc(23px + .8em * 23 / 16); height: calc(23px + .8em * 23 / 16);
  padding: .4em; color: var(--icon); border-radius: 10%;
}
.social a:hover { color: #fff; }
.social svg { width: 23px; height: 23px; fill: currentColor; display: block; }
.hero h1 { font-size: 39px; margin-top: -3%; padding-top: 20px; }

/* ---------- about ---------- */

.about { padding-top: 10px; }
.about .copy { padding: 10px 3% 0; }

/* ---------- painting ---------- */

.painting { background: #000; padding: 10px 0; text-align: center; }
.painting img { width: 1100px; }
.credit.under-painting { margin: 0 auto; max-width: var(--boxed); padding: 2px 10px 0; }

/* ---------- listen + sign up ---------- */

.two-col { display: flex; gap: 20px; padding-top: 40px; padding-bottom: 20px; }
.two-col > div { flex: 1 1 50%; min-width: 0; }
.listen h2 { text-align: right; margin-bottom: 20px; }
.join h2 { margin-bottom: 20px; }

.player { width: 100%; height: 472px; border: 0; display: block; }

.btn {
  display: inline-block; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--blue); color: #fff;
  font-family: var(--type); font-size: 15px; line-height: 1;
  padding: 12px 24px; text-align: center;
}
.btn:hover { color: #fff; background: rgba(52, 202, 255, 1); }
.btn[disabled] { opacity: .6; cursor: default; }
.listen .btn { width: 100%; margin-top: 12px; }

/* signup form — Elementor "sm" fields */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.signup .full { grid-column: 1 / -1; }
.signup input {
  width: 100%; min-height: 40px; padding: 5px 14px;
  font: 15px/1.4 var(--sans); color: var(--text); background: #fff;
  border: 1px solid #69727d; border-radius: 3px;
}
.signup input::placeholder { color: #a6a6a6; }
.signup .btn { width: 100%; padding: 12px 24px; }
.signup-msg { margin: 12px 0 0; font-size: 15px; color: #2a7d3c; }
.signup-msg.err { color: #b3261e; }
.signup-msg:empty { display: none; }

/* ---------- "listen anywhere" window ---------- */

dialog.anywhere {
  border: 0; border-radius: 6px; padding: 28px 28px 22px; width: min(92vw, 380px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35); color: var(--text);
}
dialog.anywhere::backdrop { background: rgba(0,0,0,.55); }
.anywhere h2 { font-size: 26px; margin: 0 0 6px; }
.anywhere p { font-size: 14px; margin: 0 0 16px; }
.anywhere ul { list-style: none; margin: 0; padding: 0; }
.anywhere li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 2px; border-top: 1px solid #e6e6e6;
  font-family: var(--type); font-size: 18px; color: #333;
}
.anywhere li a::after { content: "→"; color: var(--blue); }
.anywhere li a:hover { color: var(--link); }
.anywhere .close {
  position: absolute; top: 8px; right: 10px; border: 0; background: none;
  font-size: 26px; line-height: 1; color: #999; cursor: pointer; padding: 4px 8px;
}

/* ---------- shop ---------- */

.shop { padding: 30px 10px 10px; text-align: center; }
.shop h2 { margin-bottom: 20px; }
.shop p { max-width: 640px; margin: 0 auto 20px; }

/* ---------- across the years ---------- */

.years { padding: 20px 10px 0; }
.years h2 { text-align: center; margin-bottom: 20px; }
.grid {
  max-width: 950px; margin: 0 auto; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
.grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.follow { text-align: center; margin: 14px 0 0; font-family: var(--type); }

/* ---------- footer ---------- */

.site-footer { text-align: center; padding: 20px 10px 30px; }
.site-footer p { margin: 0; }

/* ---------- smaller screens (Elementor breakpoints) ---------- */

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .hero { background-position: center center; }
  .social { margin: 0; justify-content: center; flex-wrap: wrap; }
  .social a { padding: .1em; }
  .hero h1 { font-size: 32px; margin-top: 10px; text-align: center; text-shadow: 0 1px 8px rgba(0,0,0,.65); }
  .credit { font-size: 12px; }
  .about .copy { padding: 10px 6px 0; }
  .two-col { flex-direction: column; gap: 40px; }
  .listen h2 { text-align: center; }
  .join h2 { text-align: center; }
  .signup { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
