/*
Theme Name: 2011WPFG Classic
Author: North Alder Studio
Description: A classic PHP editorial theme inspired by bold capsule navigation, oversized marquee headlines, and thick home sections.
Version: 1.0.3
Text Domain: wpfg11-theme
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
*/

:root {
  --wpfg11-primary: #ff3034;
  --wpfg11-primary-soft: #fff7dd;
  --wpfg11-bg: #ffffff;
  --wpfg11-panel: #f8f8f8;
  --wpfg11-text: #181818;
  --wpfg11-muted: #666666;
  --wpfg11-border: #e7e3dc;
  --wpfg11-font: Sarala, Arial, Helvetica, sans-serif;
  --wpfg11-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --wpfg11-mono: "Courier New", Courier, monospace;
  --wpfg11-radius: 26px;
  --wpfg11-shadow: 0 18px 50px rgba(24, 24, 24, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.wpfg11-site {
  margin: 0;
  background: var(--wpfg11-bg);
  color: var(--wpfg11-text);
  font-family: var(--wpfg11-font);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.wpfg11-skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  border: 1px solid var(--wpfg11-border);
  border-radius: 999px;
  background: var(--wpfg11-bg);
  color: var(--wpfg11-primary);
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.wpfg11-skip-link:focus {
  transform: translateY(0);
}

.wpfg11-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--wpfg11-bg) 94%, transparent);
  border-bottom: 1px solid var(--wpfg11-border);
  backdrop-filter: blur(18px);
}

.wpfg11-header-top {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 3vw, 3rem);
}

.wpfg11-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--wpfg11-primary);
  font-family: var(--wpfg11-mono);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.wpfg11-brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.wpfg11-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wpfg11-brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpfg11-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wpfg11-icon-link,
.wpfg11-menu-toggle,
.wpfg11-pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--wpfg11-text);
  border-radius: 999px;
  background: var(--wpfg11-bg);
  color: var(--wpfg11-text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.wpfg11-icon-link {
  width: 44px;
}

.wpfg11-pill-button {
  padding: 0.1rem 1.25rem;
  background: var(--wpfg11-primary);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 3px 4px 0 var(--wpfg11-text);
}

.wpfg11-menu-toggle {
  width: 52px;
  height: 52px;
  background: var(--wpfg11-primary);
  color: #ffffff;
  box-shadow: 2px 3px 0 var(--wpfg11-text);
}

.wpfg11-icon-link:hover,
.wpfg11-menu-toggle:hover,
.wpfg11-pill-button:hover {
  transform: translateY(-2px);
}

.wpfg11-menu-toggle-lines,
.wpfg11-menu-toggle-lines::before,
.wpfg11-menu-toggle-lines::after {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.wpfg11-menu-toggle-lines {
  position: relative;
}

.wpfg11-menu-toggle-lines::before,
.wpfg11-menu-toggle-lines::after {
  position: absolute;
  left: 0;
}

.wpfg11-menu-toggle-lines::before {
  top: -7px;
}

.wpfg11-menu-toggle-lines::after {
  top: 7px;
}

.wpfg11-desktop-nav {
  display: none;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1rem 1rem;
  border-top: 1px solid var(--wpfg11-border);
}

.wpfg11-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: 100%;
  padding: 0.2rem 1rem;
  border: 1px solid var(--wpfg11-border);
  border-radius: 999px;
  color: var(--wpfg11-primary);
  font-family: var(--wpfg11-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(24, 24, 24, 0.04);
}

.wpfg11-nav-link:hover,
.wpfg11-nav-link:focus {
  border-color: var(--wpfg11-primary);
  outline: none;
}

.wpfg11-mobile-panel {
  display: none;
  border-top: 1px solid var(--wpfg11-border);
  background: var(--wpfg11-primary-soft);
  padding: 1rem;
}

.wpfg11-mobile-panel.wpfg11-is-open {
  display: block;
}

.wpfg11-mobile-nav {
  display: grid;
  gap: 0.7rem;
}

.wpfg11-mobile-nav .wpfg11-nav-link {
  min-height: 48px;
  background: var(--wpfg11-bg);
  font-size: 0.9rem;
}

.wpfg11-container {
  width: min(1170px, calc(100% - 2rem));
  margin-inline: auto;
}

.wpfg11-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 18%, #fffaf0 0%, var(--wpfg11-primary-soft) 46%, #f1e4cf 100%);
}

.wpfg11-product-hero {
  min-height: clamp(680px, calc(100vh - 80px), 820px);
}

.wpfg11-product-shell {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  min-height: clamp(680px, calc(100vh - 80px), 820px);
  margin-inline: auto;
  padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(1.4rem, 3vw, 2.4rem);
}

.wpfg11-product-shell::before,
.wpfg11-product-shell::after {
  position: absolute;
  right: -12vw;
  bottom: -5rem;
  left: -12vw;
  z-index: 4;
  height: clamp(150px, 20vw, 230px);
  pointer-events: none;
  content: "";
}

.wpfg11-product-shell::before {
  background:
    radial-gradient(ellipse at 17% 80%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.75) 28%, transparent 58%),
    radial-gradient(ellipse at 86% 80%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.75) 26%, transparent 58%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.88) 70%, #ffffff 100%);
  filter: blur(4px);
}

.wpfg11-product-shell::after {
  right: 18%;
  bottom: 1.3rem;
  left: 18%;
  height: clamp(95px, 12vw, 150px);
  background: linear-gradient(160deg, rgba(250, 245, 230, 0.22) 0%, rgba(180, 156, 105, 0.24) 50%, rgba(255, 255, 255, 0.5) 100%);
  clip-path: polygon(0 18%, 50% 100%, 100% 18%, 100% 100%, 0 100%);
  filter: blur(0.5px);
}

.wpfg11-product-badge {
  position: relative;
  z-index: 7;
  width: max-content;
  max-width: calc(100% - 2rem);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline: auto;
  border: 1px solid color-mix(in srgb, var(--wpfg11-primary) 38%, #d7c7ac);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: #b89867;
  padding: 0.32rem 0.65rem;
  font-size: 0.82rem;
  box-shadow: 0 14px 34px rgba(70, 54, 24, 0.08);
  backdrop-filter: blur(12px);
}

.wpfg11-product-badge span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: #9e7b43;
  padding: 0.08rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.wpfg11-product-title {
  position: absolute;
  top: clamp(4.5rem, 12vw, 7.7rem);
  right: 0;
  left: 0;
  z-index: 5;
  margin: 0;
  color: rgba(174, 137, 80, 0.42);
  font-family: var(--wpfg11-display);
  font-size: clamp(5rem, 17vw, 13.5rem);
  font-weight: 900;
  line-height: 0.74;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.wpfg11-product-figure {
  position: absolute;
  top: clamp(8rem, 17vw, 12rem);
  left: 50%;
  z-index: 3;
  width: min(620px, 58vw);
  margin: 0;
  transform: translateX(-50%);
}

.wpfg11-product-figure img {
  width: 100%;
  filter: drop-shadow(0 36px 34px rgba(74, 57, 28, 0.24));
}

.wpfg11-product-plinth {
  position: absolute;
  right: 23%;
  bottom: 4.8rem;
  left: 23%;
  z-index: 2;
  height: clamp(120px, 18vw, 210px);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.2), rgba(181, 152, 93, 0.2));
  clip-path: polygon(0 20%, 50% 100%, 100% 20%, 100% 100%, 0 100%);
}

.wpfg11-product-swatches {
  position: absolute;
  bottom: clamp(5.2rem, 9vw, 7.2rem);
  left: 0;
  z-index: 8;
  display: flex;
  gap: 0.42rem;
  align-items: center;
  border-radius: 999px;
  background: rgba(130, 124, 114, 0.34);
  padding: 0.45rem;
  box-shadow: 0 10px 26px rgba(35, 27, 16, 0.08);
}

.wpfg11-swatch {
  width: 14px;
  height: 14px;
  display: block;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.wpfg11-swatch-red {
  background: var(--wpfg11-primary);
}

.wpfg11-swatch-cream {
  background: #f6ead2;
}

.wpfg11-swatch-orange {
  background: #ff9a2e;
}

.wpfg11-product-info {
  position: absolute;
  right: 0;
  bottom: clamp(4.3rem, 8vw, 6.5rem);
  z-index: 8;
  width: min(260px, 30vw);
  color: var(--wpfg11-text);
}

.wpfg11-product-info h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.1;
}

.wpfg11-product-info p {
  margin: 0 0 1rem;
  color: #756d60;
  font-size: 0.95rem;
  line-height: 1.45;
}

.wpfg11-soft-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.2rem 1rem;
  border-radius: 999px;
  background: rgba(60, 55, 48, 0.38);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.wpfg11-hero-topline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-top: clamp(1.75rem, 4vw, 3.6rem);
  color: var(--wpfg11-primary);
  font-family: var(--wpfg11-mono);
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
  font-weight: 800;
  text-transform: uppercase;
}

.wpfg11-hero-topline span:last-child {
  justify-self: end;
}

.wpfg11-hero-copy {
  position: relative;
  z-index: 2;
  margin-top: clamp(1.4rem, 3.6vw, 3rem);
  max-width: 680px;
}

.wpfg11-hero-kicker {
  margin: 0 0 1rem;
  color: var(--wpfg11-primary);
  font-family: var(--wpfg11-mono);
  font-weight: 800;
  text-transform: uppercase;
}

.wpfg11-hero-title {
  margin: 0;
  color: var(--wpfg11-text);
  font-size: clamp(2.35rem, 5.4vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
}

.wpfg11-hero-description {
  max-width: 640px;
  margin: 1.15rem 0 1.6rem;
  color: var(--wpfg11-muted);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.wpfg11-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.wpfg11-hero-cta-note {
  color: var(--wpfg11-muted);
  font-family: var(--wpfg11-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.wpfg11-section {
  padding: clamp(3rem, 7vw, 6.5rem) 0;
}

.wpfg11-section-alt {
  background: var(--wpfg11-primary-soft);
}

.wpfg11-section-heading {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.wpfg11-section-copy {
  max-width: 820px;
  margin: 0;
  color: var(--wpfg11-muted);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.wpfg11-intro-grid {
  display: grid;
  gap: 1.5rem;
}

.wpfg11-intro-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wpfg11-stat {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--wpfg11-border);
  border-radius: var(--wpfg11-radius);
  background: var(--wpfg11-bg);
  padding: 1.2rem;
  box-shadow: var(--wpfg11-shadow);
}

.wpfg11-stat-number {
  color: var(--wpfg11-primary);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
}

.wpfg11-stat-label {
  color: var(--wpfg11-muted);
  font-family: var(--wpfg11-mono);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wpfg11-post-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.wpfg11-post-grid {
  display: grid;
  gap: 1.15rem;
}

.wpfg11-post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--wpfg11-border);
  border-radius: var(--wpfg11-radius);
  background: var(--wpfg11-bg);
  box-shadow: var(--wpfg11-shadow);
}

.wpfg11-post-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.wpfg11-post-card-link:focus {
  outline: 3px solid color-mix(in srgb, var(--wpfg11-primary) 35%, transparent);
  outline-offset: 4px;
}

.wpfg11-post-media {
  aspect-ratio: 16 / 10;
  background: var(--wpfg11-primary-soft);
  overflow: hidden;
}

.wpfg11-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.wpfg11-post-card:hover .wpfg11-post-media img {
  transform: scale(1.04);
}

.wpfg11-post-body {
  padding: 1.15rem;
}

.wpfg11-post-date {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--wpfg11-primary);
  font-family: var(--wpfg11-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wpfg11-post-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.08;
}

.wpfg11-post-excerpt {
  margin: 0.8rem 0 0;
  color: var(--wpfg11-muted);
}

.wpfg11-icon-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.wpfg11-icon-tile {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  border: 1px solid var(--wpfg11-border);
  border-radius: var(--wpfg11-radius);
  background: var(--wpfg11-bg);
  padding: 1.15rem;
  color: var(--wpfg11-primary);
  font-family: var(--wpfg11-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.wpfg11-icon-tile img {
  width: 76px;
  height: 76px;
}

.wpfg11-pagination {
  margin-top: 2rem;
  color: var(--wpfg11-primary);
  font-family: var(--wpfg11-mono);
  font-weight: 800;
}

.wpfg11-pagination a {
  text-decoration: none;
}

.wpfg11-archive {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.wpfg11-archive-header {
  max-width: 900px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.wpfg11-archive-label {
  margin: 0 0 0.9rem;
  color: var(--wpfg11-primary);
  font-family: var(--wpfg11-mono);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wpfg11-archive-title {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.92;
}

.wpfg11-archive-description {
  max-width: 720px;
  margin-top: 1.25rem;
  color: var(--wpfg11-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.wpfg11-archive-description p {
  margin: 0;
}

.wpfg11-archive-grid {
  margin-top: 0;
}

.wpfg11-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.wpfg11-pagination .page-numbers {
  display: inline-flex;
  min-width: 2.4rem;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wpfg11-border);
  border-radius: 999px;
  background: var(--wpfg11-bg);
  color: var(--wpfg11-primary);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.wpfg11-pagination .page-numbers.current {
  background: var(--wpfg11-primary);
  border-color: var(--wpfg11-primary);
  color: #ffffff;
}

.wpfg11-single {
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.wpfg11-single-shell {
  width: min(850px, calc(100% - 2rem));
  margin-inline: auto;
}

.wpfg11-single-meta {
  color: var(--wpfg11-primary);
  font-family: var(--wpfg11-mono);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wpfg11-single-title {
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: 0.96;
}

.wpfg11-single-content {
  color: var(--wpfg11-text);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

.wpfg11-single-content > * {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.wpfg11-single-content a {
  color: var(--wpfg11-primary);
}

.wpfg11-single-content img {
  border-radius: 18px;
}

.wpfg11-single-nav {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--wpfg11-border);
  font-family: var(--wpfg11-mono);
  font-weight: 800;
  text-transform: uppercase;
}

.wpfg11-single-nav a {
  color: var(--wpfg11-primary);
  text-decoration: none;
}

.wpfg11-empty {
  border: 1px dashed var(--wpfg11-border);
  border-radius: var(--wpfg11-radius);
  padding: 2rem;
  color: var(--wpfg11-muted);
}

.wpfg11-site-footer {
  border-top: 1px solid var(--wpfg11-border);
  background: var(--wpfg11-primary-soft);
  padding: clamp(2.5rem, 6vw, 5rem) 0 2rem;
}

.wpfg11-footer-grid {
  display: grid;
  gap: 1.5rem;
}

.wpfg11-footer-title {
  margin: 0;
  color: var(--wpfg11-primary);
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 0.95;
}

.wpfg11-footer-copy,
.wpfg11-footer-small {
  color: var(--wpfg11-muted);
}

.wpfg11-footer-small {
  margin-top: 2rem;
  font-family: var(--wpfg11-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (min-width: 720px) {
  .wpfg11-desktop-nav {
    display: flex;
  }

  .wpfg11-mobile-panel {
    display: none !important;
  }

  .wpfg11-intro-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }

  .wpfg11-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wpfg11-icon-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wpfg11-footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

@media (min-width: 1040px) {
  .wpfg11-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .wpfg11-header-actions .wpfg11-icon-link,
  .wpfg11-header-actions .wpfg11-pill-button {
    display: none;
  }

  .wpfg11-hero-topline {
    grid-template-columns: 1fr;
  }

  .wpfg11-hero-topline span:nth-child(2),
  .wpfg11-hero-topline span:last-child {
    justify-self: start;
  }

  .wpfg11-hero-copy {
    margin-top: 2.25rem;
  }

  .wpfg11-product-hero,
  .wpfg11-product-shell {
    min-height: 650px;
  }

  .wpfg11-product-shell {
    width: min(100% - 1.2rem, 440px);
    padding-top: 1.35rem;
  }

  .wpfg11-product-title {
    top: 4.7rem;
    font-size: clamp(4rem, 23vw, 6rem);
    white-space: normal;
  }

  .wpfg11-product-figure {
    top: 9rem;
    width: min(420px, 102vw);
  }

  .wpfg11-product-plinth {
    right: 7%;
    bottom: 7rem;
    left: 7%;
    height: 120px;
  }

  .wpfg11-product-swatches {
    bottom: 1.4rem;
    left: 0.25rem;
  }

  .wpfg11-product-info {
    right: 0.25rem;
    bottom: 1.2rem;
    width: min(190px, 54vw);
  }

  .wpfg11-product-info p {
    font-size: 0.82rem;
  }

  .wpfg11-intro-stat-row {
    grid-template-columns: 1fr;
  }
}
