/*
Theme Name: Social Good Apparel
Theme URI: https://socialgoodapparel.local
Author: Social Good Apparel
Author URI: https://socialgoodapparel.local
Description: A polished commerce-ready WordPress theme for Social Good Apparel, inspired by premium blank apparel catalogs and built around ethical manufacturing, wholesale discovery, and confident product storytelling.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: social-good-apparel
Tags: e-commerce, portfolio, custom-logo, featured-images, block-styles, wide-blocks
*/

:root {
  --sga-ink: #1f2326;
  --sga-charcoal: #1f2326;
  --sga-stone: #d9cdbd;
  --sga-paper: #f6f4f1;
  --sga-line: #b3a89f;
  --sga-muted: #6a6f73;
  --sga-sage: #8a8e7f;
  --sga-clay: #8b2230;
  --sga-gold: #d9cdbd;
  --sga-sky: #0b3a57;
  --sga-navy: #0b3a57;
  --sga-burgundy: #8b2230;
  --sga-evergreen: #0f5a4f;
  --sga-clay-stone: #b3a89f;
  --sga-radius: 8px;
  --sga-max: 1440px;
  --sga-serif: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --sga-sans: Lato, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sga-paper);
  color: var(--sga-ink);
  font-family: var(--sga-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.announcement-bar {
  align-items: center;
  background: linear-gradient(90deg, var(--sga-ink), var(--sga-evergreen) 38%, var(--sga-navy) 70%, var(--sga-clay));
  color: var(--sga-paper);
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 1rem;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 42px;
  padding: 0.48rem max(1rem, calc((100vw - var(--sga-max)) / 2 + 2rem));
  position: relative;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  background: rgba(246, 244, 241, 0.9);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--sga-sage), var(--sga-gold), var(--sga-clay), var(--sga-sky)) 1;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: var(--sga-max);
  min-height: 88px;
  padding: 0 2rem;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  gap: 0.8rem;
  justify-self: center;
  text-decoration: none;
}

.brand-mark img {
  height: 62px;
  width: 62px;
}

.brand-word {
  display: none;
  font-family: var(--sga-serif);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.primary-navigation {
  align-items: center;
  display: flex;
  gap: 1.4rem;
}

.primary-navigation ul {
  align-items: center;
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-navigation a,
.header-actions a {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-navigation a:hover,
.header-actions a:hover {
  color: var(--sga-clay);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.social-links {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}

.announcement-social {
  position: absolute;
  right: max(1rem, calc((100vw - var(--sga-max)) / 2 + 2rem));
  top: 50%;
  transform: translateY(-50%);
}

.social-icon {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--sga-paper);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: 30px;
}

.header-social .social-icon {
  color: var(--sga-ink);
  height: 34px;
  width: 34px;
}

.social-icon svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 17px;
}

.social-icon:hover {
  color: var(--sga-paper);
  transform: translateY(-1px);
}

.social-instagram:hover {
  background: var(--sga-clay);
  border-color: var(--sga-clay);
}

.social-tiktok:hover {
  background: var(--sga-sage);
  border-color: var(--sga-sage);
}

.social-linkedin:hover {
  background: var(--sga-sky);
  border-color: var(--sga-sky);
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  background: var(--sga-ink);
  content: "";
  display: block;
  height: 2px;
  position: relative;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 24px;
}

.menu-toggle span::before {
  position: absolute;
  top: -7px;
}

.menu-toggle span::after {
  position: absolute;
  top: 7px;
}

.menu-open .menu-toggle span {
  background: transparent;
}

.menu-open .menu-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  align-items: center;
  background: linear-gradient(135deg, var(--sga-ink), var(--sga-evergreen));
  border: 1px solid var(--sga-ink);
  border-radius: 999px;
  color: var(--sga-paper);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 46px;
  padding: 0.9rem 1.45rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--sga-clay);
  border-color: var(--sga-clay);
  color: var(--sga-paper);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--sga-ink);
}

.button.secondary:hover {
  background: var(--sga-ink);
  border-color: var(--sga-ink);
  color: var(--sga-paper);
}

.hero .button.secondary,
.split-band .button.secondary,
.newsletter-band .button.secondary {
  background: rgba(246, 244, 241, 0.1);
  color: var(--sga-paper);
}

.hero .button.secondary:hover,
.split-band .button.secondary:hover,
.newsletter-band .button.secondary:hover {
  background: var(--sga-sage);
  border-color: var(--sga-sage);
  color: var(--sga-paper);
}

.hero {
  background: var(--sga-ink);
  color: var(--sga-paper);
  min-height: calc(100vh - 130px);
  overflow: hidden;
  position: relative;
}

.hero-inner {
  margin: 0 auto;
  max-width: var(--sga-max);
  min-height: calc(100vh - 130px);
  padding: 5.5rem 2rem 3rem;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
  padding-top: 5vh;
}

.hero-copy a {
  pointer-events: auto;
}

.eyebrow {
  color: var(--sga-gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  font-family: var(--sga-serif);
  font-size: clamp(4.2rem, 9vw, 10rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0;
  max-width: 980px;
  text-transform: uppercase;
}

.hero-lede {
  color: rgba(246, 244, 241, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  max-width: 620px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-proof {
  align-items: stretch;
  border-top: 2px solid rgba(217, 205, 189, 0.48);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
  padding-top: 1.2rem;
}

.proof-number {
  color: var(--sga-gold);
  display: block;
  font-family: var(--sga-serif);
  font-size: 2rem;
  line-height: 1;
}

.hero-proof span:not(.proof-number) {
  color: rgba(246, 244, 241, 0.78);
  display: block;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.25;
  margin-top: 0.45rem;
  text-transform: uppercase;
}

.hero-proof > span:nth-child(2) .proof-number {
  color: var(--sga-sage);
}

.hero-proof > span:nth-child(3) .proof-number {
  color: var(--sga-sky);
}

.hero-visual {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.home-slider {
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.home-slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 700ms ease, transform 900ms ease;
  transform: scale(1.025);
}

.home-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.photo-fill {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.home-slide::after {
  background:
    linear-gradient(90deg, rgba(31, 35, 38, 0.86) 0%, rgba(31, 35, 38, 0.68) 42%, rgba(31, 35, 38, 0.18) 100%),
    linear-gradient(180deg, rgba(31, 35, 38, 0.08) 0%, rgba(31, 35, 38, 0.64) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.home-slider-controls {
  align-items: center;
  bottom: 2rem;
  display: flex;
  gap: 0.45rem;
  position: absolute;
  right: max(2rem, calc((100vw - var(--sga-max)) / 2 + 2rem));
  z-index: 3;
}

.home-slider-dot {
  background: rgba(246, 244, 241, 0.46);
  border: 1px solid rgba(246, 244, 241, 0.72);
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  transition: background 180ms ease, width 180ms ease;
  width: 9px;
}

.home-slider-dot.is-active {
  background: var(--sga-paper);
  width: 28px;
}

.tile-label {
  bottom: 2rem;
  color: var(--sga-paper);
  font-size: 0.75rem;
  font-weight: 850;
  left: auto;
  letter-spacing: 0.12em;
  position: absolute;
  right: max(2rem, calc((100vw - var(--sga-max)) / 2 + 7rem));
  text-transform: uppercase;
  z-index: 2;
}

.content-section {
  margin: 0 auto;
  max-width: var(--sga-max);
  padding: 5rem 2rem;
}

.content-section.narrow {
  max-width: 980px;
}

.section-kicker {
  color: var(--sga-clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.content-section:nth-of-type(odd) .section-kicker {
  color: var(--sga-sage);
}

.section-heading {
  font-family: var(--sga-serif);
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  max-width: 980px;
  text-transform: uppercase;
}

.section-lede {
  color: var(--sga-muted);
  font-size: 1.1rem;
  margin-top: 1.1rem;
  max-width: 720px;
}

.category-grid,
.product-grid,
.journal-grid,
.impact-grid {
  display: grid;
  gap: 1rem;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.category-card,
.journal-card,
.impact-card,
.value-card {
  background: var(--sga-stone);
  border: 1px solid var(--sga-line);
  border-radius: var(--sga-radius);
  overflow: hidden;
}

.category-card {
  color: var(--sga-paper);
  min-height: 420px;
  padding: 1rem;
  position: relative;
  text-decoration: none;
}

.category-card::before {
  background: linear-gradient(180deg, rgba(217, 205, 189, 0.18), rgba(31, 35, 38, 0.76));
  content: "";
  inset: 0;
  position: absolute;
}

.category-media {
  border-radius: calc(var(--sga-radius) - 2px);
  inset: 1rem;
  overflow: hidden;
  position: absolute;
}

.category-media img {
  border-radius: inherit;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.category-content {
  bottom: 1.4rem;
  left: 1.4rem;
  position: absolute;
  right: 1.4rem;
  z-index: 1;
}

.category-content h3,
.journal-card h3,
.impact-card h3,
.value-card h3 {
  font-family: var(--sga-serif);
  font-size: 2rem;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.category-content span,
.journal-card span {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-top: 1rem;
  text-transform: uppercase;
}

.split-band {
  background:
    linear-gradient(135deg, rgba(138, 142, 127, 0.18), transparent 32%),
    linear-gradient(315deg, rgba(139, 34, 48, 0.18), transparent 30%),
    var(--sga-ink);
  color: var(--sga-paper);
}

.split-inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--sga-max);
  padding: 5rem 2rem;
}

.split-panel {
  align-self: center;
}

.split-panel .section-lede {
  color: rgba(246, 244, 241, 0.72);
}

.sga-stamp {
  align-items: center;
  border: 1px solid rgba(217, 205, 189, 0.34);
  border-radius: var(--sga-radius);
  background: linear-gradient(145deg, rgba(246, 244, 241, 0.04), rgba(11, 58, 87, 0.14));
  display: flex;
  justify-content: center;
  min-height: 560px;
  padding: 3rem;
}

.sga-stamp img {
  max-width: min(420px, 86%);
}

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

.value-card {
  padding: 1.5rem;
}

.value-card p,
.impact-card p,
.journal-card p {
  color: var(--sga-muted);
  margin-bottom: 0;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.product-card,
.woocommerce ul.products li.product {
  background: var(--sga-stone);
  border: 1px solid var(--sga-line);
  border-radius: var(--sga-radius);
  overflow: hidden;
  position: relative;
}

.product-card a,
.woocommerce ul.products li.product a {
  text-decoration: none;
}

.product-card-media,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  align-items: center;
  aspect-ratio: 4 / 5;
  background: var(--sga-stone);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.product-card-media img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-card-body,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  padding: 1rem;
}

.product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--sga-sans);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.product-meta,
.price {
  color: var(--sga-muted);
  display: block;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.impact-band {
  background: linear-gradient(180deg, var(--sga-stone), rgba(138, 142, 127, 0.22));
}

.impact-grid {
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 2rem;
}

.impact-card {
  background: var(--sga-paper);
  border-top: 5px solid var(--sga-sage);
  padding: 1.5rem;
}

.impact-card:nth-child(2) {
  border-top-color: var(--sga-clay);
}

.impact-card:nth-child(3) {
  border-top-color: var(--sga-sky);
}

.impact-card strong {
  display: block;
  font-family: var(--sga-serif);
  font-size: 4rem;
  line-height: 0.9;
  margin-bottom: 1.2rem;
}

.journal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.journal-card {
  min-height: 330px;
}

.journal-thumb {
  aspect-ratio: 16 / 10;
  background: var(--sga-stone);
  overflow: hidden;
}

.journal-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.journal-body {
  padding: 1.25rem;
}

.subpage-hero {
  background:
    linear-gradient(90deg, rgba(31, 35, 38, 0.78), rgba(31, 35, 38, 0.36)),
    var(--sga-ink);
  color: var(--sga-paper);
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.subpage-hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.58;
  position: absolute;
  width: 100%;
}

.subpage-hero-inner {
  margin: 0 auto;
  max-width: var(--sga-max);
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}

.subpage-hero h1 {
  font-family: var(--sga-serif);
  font-size: clamp(3.6rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
  max-width: 900px;
  text-transform: uppercase;
}

.subpage-hero .section-lede {
  color: rgba(246, 244, 241, 0.82);
}

.stat-strip {
  background: var(--sga-ink);
  color: var(--sga-paper);
}

.stat-strip-inner {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--sga-max);
  padding: 0 2rem;
}

.stat-item {
  border-left: 1px solid rgba(246, 244, 241, 0.16);
  padding: 1.4rem;
}

.stat-item:last-child {
  border-right: 1px solid rgba(246, 244, 241, 0.16);
}

.stat-item strong {
  color: var(--sga-gold);
  display: block;
  font-family: var(--sga-serif);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.stat-item span {
  color: rgba(246, 244, 241, 0.72);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.feature-grid,
.process-grid,
.resource-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.feature-card,
.process-card,
.resource-card,
.form-card {
  background: var(--sga-stone);
  border: 1px solid var(--sga-line);
  border-radius: var(--sga-radius);
  padding: 1.5rem;
}

.feature-card h3,
.process-card h3,
.resource-card h3,
.form-card h3 {
  font-family: var(--sga-serif);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.feature-card p,
.process-card p,
.resource-card p,
.form-card p {
  color: var(--sga-muted);
  margin-bottom: 0;
}

.process-card strong {
  color: var(--sga-clay);
  display: block;
  font-family: var(--sga-serif);
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 1rem;
}

.page-split {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.page-split-media {
  border-radius: var(--sga-radius);
  min-height: 520px;
  overflow: hidden;
}

.page-split-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.quote-band {
  background:
    linear-gradient(90deg, rgba(138, 142, 127, 0.2), transparent),
    var(--sga-stone);
  border-bottom: 1px solid var(--sga-line);
  border-top: 1px solid var(--sga-line);
}

.quote-band blockquote {
  font-family: var(--sga-serif);
  font-size: clamp(2rem, 4vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 auto;
  max-width: 1180px;
  padding: 4rem 2rem;
  text-transform: uppercase;
}

.table-wrap {
  border: 1px solid var(--sga-line);
  border-radius: var(--sga-radius);
  margin-top: 2rem;
  overflow-x: auto;
}

.sga-table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.sga-table th,
.sga-table td {
  border-bottom: 1px solid var(--sga-line);
  padding: 1rem;
  text-align: left;
}

.sga-table th {
  background: var(--sga-ink);
  color: var(--sga-paper);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sga-table tr:last-child td {
  border-bottom: 0;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.field-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr 1fr;
}

.form-card label {
  color: var(--sga-muted);
  display: grid;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-card input,
.form-card select,
.form-card textarea {
  background: var(--sga-paper);
  border: 1px solid var(--sga-line);
  border-radius: var(--sga-radius);
  color: var(--sga-ink);
  min-height: 46px;
  padding: 0.8rem;
  width: 100%;
}

.form-card textarea {
  min-height: 140px;
  resize: vertical;
}

.form-card .full-field {
  grid-column: 1 / -1;
}

.newsletter-band {
  background: var(--sga-ink);
  color: var(--sga-paper);
}

.newsletter-inner {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  margin: 0 auto;
  max-width: var(--sga-max);
  padding: 4rem 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.7rem;
}

.newsletter-form input {
  background: transparent;
  border: 1px solid rgba(246, 244, 241, 0.34);
  border-radius: 999px;
  color: var(--sga-paper);
  min-height: 48px;
  min-width: 0;
  padding: 0 1rem;
  width: 100%;
}

.newsletter-form input::placeholder {
  color: rgba(246, 244, 241, 0.62);
}

.newsletter-message {
  font-size: 0.92rem;
  grid-column: 2;
  margin: 0.75rem 0 0;
}

.newsletter-message.success {
  color: var(--sga-sage);
}

.newsletter-message.error {
  color: var(--sga-clay);
}

.site-footer {
  background: var(--sga-paper);
  border-top: 1px solid var(--sga-line);
}

.footer-create {
  background:
    linear-gradient(90deg, rgba(138, 142, 127, 0.22), transparent 38%),
    linear-gradient(270deg, rgba(139, 34, 48, 0.18), transparent 40%),
    var(--sga-stone);
  border-bottom: 1px solid var(--sga-line);
}

.footer-create-inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--sga-max);
  padding: 4rem 2rem;
}

.footer-create h2 {
  font-family: var(--sga-serif);
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.footer-create-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-create-grid a {
  background: var(--sga-paper);
  border: 1px solid var(--sga-line);
  border-top: 5px solid var(--sga-gold);
  color: var(--sga-ink);
  min-height: 172px;
  padding: 1.3rem;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.footer-create-grid a:hover {
  background: var(--sga-ink);
  color: var(--sga-paper);
}

.footer-create-grid a:nth-child(2) {
  border-top-color: var(--sga-sage);
}

.footer-create-grid a:nth-child(3) {
  border-top-color: var(--sga-clay);
}

.footer-create-grid a:nth-child(4) {
  border-top-color: var(--sga-sky);
}

.footer-create-grid strong {
  display: block;
  font-family: var(--sga-serif);
  font-size: 1.75rem;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

.footer-create-grid span {
  color: var(--sga-muted);
  display: block;
  margin-top: 0.9rem;
  max-width: 260px;
}

.footer-create-grid a:hover span {
  color: rgba(246, 244, 241, 0.72);
}

.footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(130px, 1fr));
  margin: 0 auto;
  max-width: var(--sga-max);
  padding: 4rem 2rem 2rem;
}

.footer-logo {
  width: 92px;
}

.footer-column h2,
.footer-column h3 {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.footer-column p,
.footer-column a,
.footer-bottom {
  color: var(--sga-muted);
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.footer-social a {
  border: 1px solid var(--sga-line);
  border-radius: 999px;
  color: var(--sga-ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.7rem;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li + li {
  margin-top: 0.55rem;
}

.footer-column a {
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--sga-ink);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--sga-line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 2rem auto 0;
  max-width: var(--sga-max);
  padding: 1.2rem 2rem;
}

.page-hero {
  background: var(--sga-stone);
  border-bottom: 1px solid var(--sga-line);
  padding: 5rem 2rem;
}

.page-hero-inner,
.content-area {
  margin: 0 auto;
  max-width: 1040px;
}

.entry-content {
  font-size: 1.05rem;
}

.entry-content > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

.entry-content > .alignwide {
  max-width: 1180px;
}

.entry-content > .alignfull {
  max-width: none;
}

.editable-content {
  border-top: 1px solid var(--sga-line);
  padding-top: 4rem;
}

.editable-content:empty {
  display: none;
}

.woocommerce-content {
  max-width: var(--sga-max);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  color: var(--sga-muted);
  font-size: 0.9rem;
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-cart table.cart input,
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  background: var(--sga-paper);
  border: 1px solid var(--sga-line);
  border-radius: var(--sga-radius);
  color: var(--sga-ink);
  min-height: 44px;
  padding: 0.7rem 0.85rem;
}

.woocommerce div.product {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: auto;
}

.woocommerce div.product div.images img {
  background: var(--sga-stone);
  border-radius: var(--sga-radius);
}

.woocommerce div.product .product_title,
.woocommerce-cart .cart_totals h2,
.woocommerce-checkout h3,
.woocommerce-account h2,
.woocommerce-account h3 {
  font-family: var(--sga-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--sga-clay);
  font-size: 1.4rem;
  font-weight: 900;
}

.woocommerce div.product form.cart {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.woocommerce div.product form.cart div.quantity {
  float: none;
  margin: 0;
}

.woocommerce .quantity .qty {
  border: 1px solid var(--sga-line);
  border-radius: 999px;
  min-height: 46px;
  padding: 0.3rem;
}

.woocommerce table.shop_table {
  border: 1px solid var(--sga-line);
  border-radius: var(--sga-radius);
  overflow: hidden;
}

.woocommerce table.shop_table th {
  background: var(--sga-ink);
  color: var(--sga-paper);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  border-color: var(--sga-line);
  padding: 1rem;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--sga-stone);
  border: 1px solid var(--sga-line);
  border-radius: var(--sga-radius);
  padding: 1.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li + li {
  border-top: 1px solid var(--sga-line);
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  padding: 0.85rem 0;
  text-decoration: none;
  text-transform: uppercase;
}

.sga-empty-state {
  margin: 0 auto;
  max-width: 900px;
  padding: 4rem 0;
}

.post-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.post-list article {
  background: var(--sga-stone);
  border: 1px solid var(--sga-line);
  border-radius: var(--sga-radius);
  padding: 1.35rem;
}

.pagination,
.post-navigation {
  margin: 3rem auto;
  max-width: 1040px;
}

.woocommerce ul.products {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none;
}

.woocommerce ul.products li.product {
  float: none;
  margin: 0;
  width: auto;
}

@media (max-width: 1120px) {
  .category-grid,
  .product-grid,
  .feature-grid,
  .process-grid,
  .resource-grid,
  .page-split,
  .contact-layout,
  .woocommerce div.product,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-inner {
    grid-template-columns: 1fr;
  }

  .footer-create-inner,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .announcement-bar {
    font-size: 0.68rem;
    justify-content: flex-start;
    padding-right: 1rem;
    text-align: left;
  }

  .announcement-social {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 72px;
    padding: 0 1rem;
  }

  .brand-mark {
    justify-self: start;
  }

  .brand-mark img {
    height: 52px;
    width: 52px;
  }

  .brand-word {
    display: block;
    font-size: 1.05rem;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-navigation {
    background: var(--sga-paper);
    border-top: 1px solid var(--sga-line);
    display: none;
    inset: 100% 0 auto 0;
    padding: 1rem;
    position: absolute;
  }

  .menu-open .primary-navigation {
    display: block;
  }

  .primary-navigation ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-navigation a {
    border-bottom: 1px solid var(--sga-line);
    display: block;
    padding: 1rem 0;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    min-height: 760px;
  }

  .hero-inner,
  .content-section,
  .split-inner,
  .newsletter-inner,
  .footer-create-inner,
  .footer-inner,
  .page-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-inner {
    padding-top: 4rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3.4rem, 17vw, 5.4rem);
  }

  .hero-proof,
  .value-grid,
  .impact-grid,
  .journal-grid,
  .footer-create-inner,
  .footer-create-grid,
  .newsletter-inner,
  .footer-inner,
  .post-list {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid,
  .feature-grid,
  .process-grid,
  .resource-grid,
  .page-split,
  .contact-layout,
  .field-grid,
  .woocommerce div.product,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .stat-strip-inner {
    grid-template-columns: 1fr 1fr;
    padding: 0 1rem;
  }

  .subpage-hero-inner {
    padding: 4rem 1rem;
  }

  .page-split-media {
    min-height: 320px;
  }

  .category-card {
    min-height: 320px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-word {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-proof {
    gap: 1.3rem;
  }

  .section-heading {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
  }
}
