/*
Theme Name: Fear The Squid
Theme URI: https://fearthesquid.com
Template: twentytwentyfive
Author: Primitive Recordings LLC
Description: Lightweight child theme for the Fear The Squid merch panic storefront. The text wordmark is temporary; replace it with the final logo once approved.
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 8.0
*/

:root {
  --fts-ink: #050506;
  --fts-bone: #f4efe2;
  --fts-red: #f02d3a;
  --fts-teal: #00a4a6;
  --fts-purple: #8d3cff;
  --fts-yellow: #f4d13d;
  --fts-panel: #111217;
}

body {
  background: var(--fts-ink);
  color: var(--fts-bone);
  overflow-x: hidden;
}

a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.fts-site-header,
.fts-site-footer {
  background: #050506;
  border-color: rgba(244, 239, 226, 0.16);
}

.fts-alert-bar {
  background: var(--fts-red);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fts-wordmark {
  color: var(--fts-bone);
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.fts-nav a {
  color: var(--fts-bone);
  font-weight: 800;
}

.fts-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 164, 166, 0.24), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(141, 60, 255, 0.22), transparent 28%),
    linear-gradient(140deg, #050506 0%, #111217 52%, #240812 100%);
  border-bottom: 1px solid rgba(244, 239, 226, 0.16);
  min-height: 58vh;
}

.fts-hero h1,
.fts-page-title,
.fts-section-title {
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.fts-hero h1 {
  font-size: clamp(2.6rem, 7vw, 6.15rem);
  line-height: 0.88;
  max-width: 940px;
  overflow-wrap: anywhere;
}

.fts-kicker {
  color: var(--fts-yellow);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fts-lede {
  color: rgba(244, 239, 226, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 760px;
}

.fts-band {
  border-top: 1px solid rgba(244, 239, 226, 0.13);
}

.fts-panel,
.fts-card,
.fts-policy-note {
  background: var(--fts-panel);
  border: 1px solid rgba(244, 239, 226, 0.16);
  border-radius: 8px;
}

.fts-card {
  min-height: 100%;
}

.fts-card h3,
.fts-panel h2,
.fts-panel h3 {
  color: var(--fts-bone);
}

.fts-red {
  color: var(--fts-red);
}

.fts-teal {
  color: var(--fts-teal);
}

.fts-purple {
  color: var(--fts-purple);
}

.fts-yellow {
  color: var(--fts-yellow);
}

.wp-block-button__link,
.button,
button,
input[type="submit"] {
  border-radius: 6px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  border-color: var(--fts-bone);
  color: var(--fts-bone);
}

.woocommerce ul.products li.product,
.wc-block-grid__product {
  background: var(--fts-panel);
  border: 1px solid rgba(244, 239, 226, 0.14);
  border-radius: 8px;
  padding: 1rem;
}

.woocommerce div.product,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
  color: var(--fts-bone);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 8px;
}

.fts-footer-small {
  color: rgba(244, 239, 226, 0.68);
  font-size: 0.88rem;
}

.fts-home-five-banner-wrap {
  padding: 1.25rem 1.25rem 2.5rem;
}

.fts-home-five-banner {
  margin: 0 auto;
  max-width: min(1180px, calc(100vw - 2.5rem));
}

.fts-home-five-banner img {
  aspect-ratio: 5 / 2;
  border: 1px solid rgba(244, 239, 226, 0.18);
  border-radius: 8px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.38);
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.fts-home-five-banner figcaption {
  color: rgba(244, 239, 226, 0.62);
  font-size: 0.82rem;
  margin-top: 0.5rem;
}

.fts-crew-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 2rem 0;
}

.fts-crew-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.1rem;
}

.fts-crew-card blockquote,
.fts-character-hero blockquote {
  border-left: 4px solid var(--fts-red);
  color: var(--fts-bone);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
  padding-left: 1rem;
}

.fts-crew-image,
.fts-crew-card-image,
.fts-crew-hero-image,
.fts-character-image {
  margin: 1.25rem 0;
}

.fts-crew-image img,
.fts-crew-card-image img,
.fts-crew-hero-image img,
.fts-character-image img {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(244, 239, 226, 0.16);
  border-radius: 8px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.fts-crew-card-image img {
  aspect-ratio: 4 / 3;
}

.fts-crew-image figcaption,
.fts-crew-card-image figcaption,
.fts-crew-hero-image figcaption,
.fts-character-image figcaption {
  color: rgba(244, 239, 226, 0.62);
  font-size: 0.82rem;
  margin-top: 0.45rem;
}

.fts-quick-facts {
  background: rgba(244, 239, 226, 0.05);
  border: 1px solid rgba(244, 239, 226, 0.14);
  border-radius: 8px;
  padding: 1.1rem 1.1rem 1.1rem 1.5rem;
}

.fts-story p {
  font-size: 1.04rem;
  line-height: 1.75;
}

.fts-crew-hero,
.fts-origin-hero,
.fts-character-hero {
  min-height: auto;
  padding: 4rem 1.25rem;
}

.fts-crew-hero .wp-block-buttons,
.fts-origin-hero .wp-block-buttons,
.fts-character-hero .wp-block-buttons {
  margin-top: 1.25rem;
}

@media (max-width: 720px) {
  .fts-alert-bar {
    font-size: 0.76rem;
    letter-spacing: 0.03em;
    line-height: 1.25;
  }

  .fts-hero {
    min-height: 56vh;
    overflow: hidden;
  }

  .fts-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.08rem);
    line-height: 0.92;
    max-width: calc(100vw - 40px) !important;
  }

  .fts-lede {
    font-size: 1rem;
    max-width: calc(100vw - 40px) !important;
  }

  .fts-hero .wp-block-buttons {
    max-width: calc(100vw - 40px) !important;
  }

  .fts-section-title {
    font-size: 1.65rem;
    line-height: 1;
  }

  .fts-site-header .wp-block-group {
    align-items: flex-start;
  }

  .fts-home-five-banner-wrap {
    padding: 1rem 1rem 2rem;
  }

  .fts-home-five-banner {
    max-width: calc(100vw - 2rem);
  }

  .fts-crew-grid {
    grid-template-columns: 1fr;
  }

  .fts-character-hero blockquote {
    font-size: 1rem;
  }

  .fts-crew-hero,
  .fts-origin-hero,
  .fts-character-hero {
    min-height: auto;
    padding: 2.75rem 1rem;
  }
}
