/*
Theme Name: Social Good Apparel Impact V6
Theme URI: https://socialgoodapparel.local/impact-theme-v6
Author: Social Good Apparel
Author URI: https://socialgoodapparel.local
Description: An elevated catalog, journal, and inquiry WordPress theme for Social Good Apparel, built around premium blanks, Bangladesh-centered impact, editable storytelling, and image-backed demo content.
Version: 7.5.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-x: clip;
  overflow-y: visible;
}

.announcement-bar {
  align-items: center;
  background: var(--sga-ink);
  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;
}

.announcement-bar > span {
  align-items: center;
  display: inline-flex;
  gap: 0.55rem;
}

.announcement-bar > span::before {
  background: url("assets/images/needle-thread-mark.svg") center / contain no-repeat;
  content: "";
  filter: brightness(0) invert(1);
  height: 24px;
  width: 24px;
}

.site-header {
  background: rgba(246, 244, 241, 0.9);
  border-bottom: 4px solid var(--sga-sage);
  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: minmax(0, 1fr) auto minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1560px;
  min-height: 166px;
  padding: 0 2rem;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  justify-self: center;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark img {
  height: 136px;
  object-fit: contain;
  width: 136px;
}

.brand-mark img:not(.custom-logo) {
  transform: scale(1.05);
  transform-origin: center;
}

.brand-word {
  display: block;
  font-family: var(--sga-serif);
  font-size: clamp(1.7rem, 2vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  max-width: none;
  text-transform: uppercase;
  white-space: nowrap;
  order: -1;
}

.primary-navigation {
  align-items: center;
  display: flex;
  gap: 1rem;
  min-width: 0;
}

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

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

.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-left,
.nav-right {
  align-self: center;
  padding-bottom: 0;
}
.mobile-navigation { display: none; }

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

.primary-navigation a[aria-current="page"] {
  color: var(--sga-burgundy);
  position: relative;
}

.primary-navigation a[aria-current="page"]::after {
  background: currentColor;
  bottom: -0.65rem;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}

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

.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-facebook:hover {
  background: var(--sga-sky);
  border-color: var(--sga-sky);
}

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

.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: var(--sga-ink);
  border: 1px solid var(--sga-ink);
  border-radius: 4px;
  color: var(--sga-paper);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.73rem;
  font-weight: 850;
  justify-content: center;
  letter-spacing: 0.09em;
  min-height: 44px;
  padding: 0.78rem 1.25rem;
  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(-2px);
}

.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;
}

.hero-eyebrow {
  color: var(--sga-gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 1.15rem;
  text-transform: uppercase;
}

.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(3.6rem, 7vw, 7rem);
  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;
}

.hero-proof > span {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  min-width: 0;
}

.proof-icon,
.stat-icon,
.stat-strip-icon {
  fill: none;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.proof-icon {
  color: var(--sga-gold);
  height: 30px;
  width: 30px;
}

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

.hero-proof > span:nth-child(3) .proof-icon {
  color: #8bb3ca;
}

.proof-copy {
  display: block;
  min-width: 0;
}

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

.proof-label {
  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: rgba(31, 35, 38, 0.52);
  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: clamp(3.75rem, 6vw, 5.5rem) 2rem;
}

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

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

.section-kicker::before {
  background: url("assets/images/needle-thread-mark.svg") center / contain no-repeat;
  content: "";
  flex: 0 0 20px;
  height: 20px;
}

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

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

.content-section .section-heading::after,
.about-section-heading .section-heading::after,
.footer-create h2::after {
  border-top: 2px dashed var(--sga-burgundy);
  content: "";
  display: block;
  margin-top: 1rem;
  max-width: 180px;
  width: 24%;
}

.about-timeline-section .section-heading::after {
  border-top-color: var(--sga-stone);
}

@media (pointer: fine) {
  body {
    cursor: url("assets/images/needle-thread-mark.svg") 5 28, auto;
  }

  a,
  button,
  summary,
  [role="button"],
  input[type="submit"] {
    cursor: pointer;
  }

  input,
  textarea,
  select,
  [contenteditable="true"] {
    cursor: text;
  }
}

.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(to top, rgba(31, 35, 38, 0.96) 0%, rgba(31, 35, 38, 0.58) 34%, rgba(31, 35, 38, 0.12) 72%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.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: 2;
}

.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: 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;
  display: flex;
  justify-content: center;
  min-height: 500px;
  padding: 1rem;
}

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

.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;
  position: relative;
}

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

.product-card-media .product-image-front,
.product-card-media .product-image-back {
  inset: 0;
  position: absolute;
  transition: opacity 360ms ease, transform 520ms ease;
}

.product-card-media .product-image-back {
  opacity: 0;
  transform: scale(1.025);
}

.product-card:hover .product-image-front,
.product-card:focus-within .product-image-front {
  opacity: 0;
  transform: scale(1.025);
}

.product-card:hover .product-image-back,
.product-card:focus-within .product-image-back {
  opacity: 1;
  transform: scale(1);
}

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

.catalog-hero img {
  object-position: center 38%;
}

.catalog-heading-row {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.catalog-heading-row .section-lede {
  margin-bottom: 0;
}

.catalog-filters {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.catalog-filter {
  background: transparent;
  border: 1px solid var(--sga-line);
  border-radius: 999px;
  color: var(--sga-ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  min-height: 42px;
  padding: 0.68rem 1rem;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.catalog-filter:hover,
.catalog-filter.is-active {
  background: var(--sga-ink);
  border-color: var(--sga-ink);
  color: var(--sga-paper);
}

.product-showroom {
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.product-showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 570px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-showcase-card:hover {
  border-color: var(--sga-sage);
  box-shadow: 0 18px 48px rgba(31, 35, 38, 0.1);
  transform: translateY(-3px);
}

.product-showcase-card[hidden] {
  display: none;
}

.product-showcase-card .product-card-media {
  aspect-ratio: auto;
  background: #e8e1d8;
  min-height: 100%;
  position: relative;
}

.product-showcase-card .product-card-media > img:first-child {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-mockup-logo {
  height: 120px !important;
  left: 51%;
  object-fit: contain !important;
  pointer-events: none;
  position: absolute;
  top: 31%;
  transform: translate(-50%, -50%);
  width: 120px !important;
  z-index: 2;
}

.product-mockup-logo.logo-light {
  opacity: 0.92;
}

.product-mockup-logo.logo-dark {
  opacity: 0.78;
}

.product-badge {
  background: var(--sga-paper);
  border: 1px solid rgba(31, 35, 38, 0.15);
  border-radius: 999px;
  bottom: 1rem;
  font-size: 0.67rem;
  font-weight: 850;
  left: 1rem;
  letter-spacing: 0.09em;
  padding: 0.5rem 0.7rem;
  position: absolute;
  text-transform: uppercase;
  z-index: 3;
}

.product-showcase-card .product-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
}

.product-card-topline {
  color: var(--sga-muted);
  display: flex;
  font-size: 0.68rem;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.09em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.product-showcase-card h3 {
  font-family: var(--sga-serif);
  font-size: clamp(1.18rem, 1.55vw, 1.55rem);
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}

.product-showcase-card .product-meta {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-top: 0.8rem;
}

.product-specs {
  border-bottom: 1px solid var(--sga-line);
  border-top: 1px solid var(--sga-line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.35rem 0 1rem;
  padding: 0.5rem 0;
}

.product-specs div {
  padding: 0.5rem 0.65rem 0.5rem 0;
}

.product-specs dt {
  color: var(--sga-muted);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-specs dd {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0.15rem 0 0;
}

.product-swatches {
  display: flex;
  gap: 0.42rem;
  margin-bottom: 1.2rem;
}

.product-swatches span {
  background: var(--swatch);
  border: 1px solid rgba(31, 35, 38, 0.2);
  border-radius: 50%;
  height: 19px;
  width: 19px;
}

.product-actions {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: auto;
}

.product-actions .button {
  min-height: 44px;
  padding: 0.72rem 0.9rem;
}

.product-actions .text-link {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.catalog-empty {
  border: 1px dashed var(--sga-line);
  color: var(--sga-muted);
  margin-top: 2rem;
  padding: 2rem;
  text-align: center;
}

.woocommerce-catalog-intro {
  background: var(--sga-navy);
  color: var(--sga-paper);
  padding: clamp(4rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1160px) / 2));
}

.woocommerce-catalog-intro .section-lede {
  color: rgba(246, 244, 241, 0.78);
}

.woocommerce-catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.woocommerce-catalog-filters .button.secondary {
  border-color: rgba(246, 244, 241, 0.55);
  color: var(--sga-paper);
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
  position: relative;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link::after {
  background: rgba(246, 244, 241, 0.9) url("assets/images/sga-logo-black-512.png") center / 76px 76px no-repeat;
  border: 1px solid rgba(31, 35, 38, 0.14);
  border-radius: 50%;
  content: "";
  height: 58px;
  left: 1rem;
  position: absolute;
  top: 1rem;
  width: 58px;
}

.woocommerce-card-actions {
  align-items: center;
  border-top: 1px solid var(--sga-line);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 0 1rem;
  padding: 1rem 0;
}

.woocommerce-card-actions .text-link {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.woocommerce-card-actions .button {
  min-height: 40px;
  padding: 0.65rem 0.8rem;
}

.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: var(--sga-stone);
}

.impact-stat-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 2rem 0;
  overflow: hidden;
}

.impact-stat {
  background: var(--sga-paper);
  border-top: 5px solid var(--sga-evergreen);
  min-height: 150px;
  padding: 1.2rem;
}

.stat-icon {
  color: var(--sga-evergreen);
  height: 28px;
  margin-bottom: 1.25rem;
  width: 28px;
}

.impact-stat:nth-child(2) .stat-icon {
  color: var(--sga-burgundy);
}

.impact-stat:nth-child(3) .stat-icon {
  color: var(--sga-navy);
}

.impact-stat:nth-child(4) .stat-icon {
  color: var(--sga-sage);
}

.impact-stat:nth-child(5) .stat-icon {
  color: var(--sga-clay-stone);
}

.impact-stat strong {
  color: var(--sga-ink);
  display: block;
  font-family: var(--sga-serif);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

.impact-stat span {
  color: var(--sga-muted);
  display: block;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  margin-top: 0.85rem;
  text-transform: uppercase;
}

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

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

.impact-stat:nth-child(4) {
  border-top-color: var(--sga-sage);
}

.impact-stat:nth-child(5) {
  border-top-color: var(--sga-clay-stone);
}

.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;
}

.journal-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.journal-card-link:hover .journal-thumb img,
.post-list article > a:hover img {
  transform: scale(1.025);
}

.journal-card-link:hover h3,
.post-list h2 a:hover {
  color: var(--sga-burgundy);
}

.journal-thumb img,
.post-list article > a img {
  transition: transform 360ms ease;
}

.text-link {
  color: var(--sga-burgundy) !important;
  display: inline-block !important;
  margin-top: 1rem !important;
}

.subpage-hero {
  background: var(--sga-ink);
  color: var(--sga-paper);
  min-height: 460px;
  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: 5rem 2rem;
  position: relative;
  z-index: 1;
}

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

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

/* Page identities keep the system consistent while giving each destination its own rhythm. */
.catalog-page .subpage-hero {
  border-bottom: 8px solid var(--sga-navy);
}

.wholesale-page .subpage-hero,
.page-template-page-wholesale-php .subpage-hero {
  background: var(--sga-navy);
  min-height: 640px;
}

.wholesale-page .subpage-hero img,
.page-template-page-wholesale-php .subpage-hero img {
  inset: 0 0 0 auto;
  opacity: 0.78;
  width: 48%;
}

.wholesale-page .subpage-hero-inner,
.page-template-page-wholesale-php .subpage-hero-inner {
  margin-left: max(0px, calc((100vw - var(--sga-max)) / 2));
  margin-right: 48%;
  max-width: 760px;
}

.wholesale-page .process-card,
.page-template-page-wholesale-php .process-card {
  border-top: 6px solid var(--sga-navy);
}

.wholesale-page .process-card:nth-child(even),
.page-template-page-wholesale-php .process-card:nth-child(even) {
  border-top-color: var(--sga-sage);
  transform: translateY(1.5rem);
}

.custom-page .subpage-hero,
.page-template-page-custom-php .subpage-hero {
  background: var(--sga-burgundy);
  border-bottom: 8px solid var(--sga-burgundy);
}

.custom-page .subpage-hero img,
.page-template-page-custom-php .subpage-hero img {
  opacity: 0.34;
}

.custom-page main > .content-section:nth-of-type(2),
.page-template-page-custom-php main > .content-section:nth-of-type(2) {
  background: var(--sga-stone);
  max-width: none;
  padding-left: max(2rem, calc((100vw - var(--sga-max)) / 2 + 2rem));
  padding-right: max(2rem, calc((100vw - var(--sga-max)) / 2 + 2rem));
}

.custom-page .page-split-media,
.page-template-page-custom-php .page-split-media {
  border-left: 10px solid var(--sga-burgundy);
}

.impact-page .subpage-hero,
.page-template-page-impact-php .subpage-hero {
  background: var(--sga-evergreen);
  border-bottom: 8px solid var(--sga-evergreen);
}

.impact-page .subpage-hero img,
.page-template-page-impact-php .subpage-hero img {
  mix-blend-mode: luminosity;
  opacity: 0.36;
}

.impact-page .impact-stat:nth-child(odd),
.page-template-page-impact-php .impact-stat:nth-child(odd) {
  background: var(--sga-evergreen);
  color: var(--sga-paper);
}

.impact-page .impact-stat:nth-child(odd) span,
.page-template-page-impact-php .impact-stat:nth-child(odd) span {
  color: rgba(246, 244, 241, 0.72);
}

.journal-page .subpage-hero,
.blog .subpage-hero {
  background: var(--sga-navy);
  min-height: 460px;
}

.journal-page .subpage-hero img,
.blog .subpage-hero img {
  opacity: 0.32;
}

.journal-cover {
  background: var(--sga-ink);
  color: var(--sga-paper);
  min-height: min(780px, calc(100vh - 120px));
  overflow: hidden;
  position: relative;
}

.journal-cover > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.journal-cover-shade {
  background: rgba(31, 35, 38, 0.56);
  inset: 0;
  position: absolute;
}

.journal-cover-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: var(--sga-max);
  min-height: min(780px, calc(100vh - 120px));
  padding: 5rem 2rem 7rem;
  position: relative;
}

.journal-cover-content h1 {
  font-family: var(--sga-serif);
  font-size: clamp(3.5rem, 6.5vw, 6.3rem);
  line-height: 0.84;
  margin: 1rem 0 1.5rem;
  max-width: 980px;
  text-transform: uppercase;
}

.journal-cover-content > p:not(.eyebrow) {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 570px;
}

.journal-cover-content .button { align-self: flex-start; margin-top: 1rem; }

.journal-cover-caption {
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  gap: 0.25rem;
  letter-spacing: 0.08em;
  position: absolute;
  right: max(2rem, calc((100vw - var(--sga-max)) / 2 + 2rem));
  text-transform: uppercase;
}

.journal-cover-caption span { color: var(--sga-sage); font-weight: 800; }
.journal-cover-caption strong { font-size: 0.82rem; }

.journal-editor-note {
  align-items: start;
  background: var(--sga-sand);
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.7fr 2fr 1fr;
  padding: 3rem max(2rem, calc((100vw - var(--sga-max)) / 2 + 2rem));
}

.journal-editor-note > p:nth-child(2) {
  font-family: var(--sga-serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
  margin: 0;
}

.journal-editor-note > span { color: var(--sga-slate); font-size: 0.82rem; line-height: 1.6; }

.journal-tools {
  align-items: center;
  border-bottom: 1px solid var(--sga-line);
  border-top: 1px solid var(--sga-line);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(220px, 0.8fr) 2fr auto;
  margin: 3rem 0;
  padding: 1rem 0;
}

.journal-search {
  align-items: center;
  display: flex;
  position: relative;
}

.journal-search svg { fill: none; height: 20px; left: 0.9rem; position: absolute; stroke: currentColor; stroke-width: 1.8; width: 20px; }
.journal-search input { background: var(--sga-paper); border: 1px solid var(--sga-line); border-radius: 0; min-height: 46px; padding: 0 1rem 0 2.8rem; width: 100%; }
.journal-filter-group { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.journal-filter { background: transparent; border: 1px solid var(--sga-ink); border-radius: 999px; cursor: pointer; font: inherit; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; min-height: 40px; padding: 0.65rem 1rem; text-transform: uppercase; }
.journal-filter:hover, .journal-filter:focus-visible, .journal-filter.is-active { background: var(--sga-ink); color: var(--sga-paper); }
.journal-count { color: var(--sga-slate); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

.journal-story-grid { display: grid; gap: 4rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journal-story-card { min-width: 0; }
.journal-story-card[hidden] { display: none; }
.journal-story-feature { align-items: center; display: grid; gap: 3rem; grid-column: 1 / -1; grid-template-columns: 1.35fr 0.65fr; }
.journal-story-image { display: block; overflow: hidden; position: relative; }
.journal-story-image img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform 500ms ease; width: 100%; }
.journal-story-feature .journal-story-image img { aspect-ratio: 16 / 9; }
.journal-story-image:hover img { transform: scale(1.025); }
.journal-story-number { background: var(--sga-paper); bottom: 0; color: var(--sga-ink); font-family: var(--sga-serif); font-size: 1.4rem; left: 0; padding: 0.65rem 0.9rem; position: absolute; }
.journal-story-copy h2 { font-family: var(--sga-serif); font-size: clamp(2.2rem, 4vw, 4.6rem); line-height: 0.92; margin: 0.7rem 0 1rem; text-transform: uppercase; }
.journal-story-card:not(.journal-story-feature) .journal-story-copy h2 { font-size: clamp(1.9rem, 2.6vw, 2.8rem); }
.journal-story-copy h2 a { text-decoration: none; }
.journal-story-copy > p:not(.post-meta) { color: var(--sga-slate); font-size: 1rem; line-height: 1.7; max-width: 620px; }
.journal-empty { background: var(--sga-stone); margin-top: 2rem; padding: 3rem; text-align: center; }
.journal-empty button { background: transparent; border: 0; color: var(--sga-burgundy); cursor: pointer; font-weight: 800; text-decoration: underline; }
.journal-closing { background: var(--sga-evergreen); color: var(--sga-paper); padding: 6rem max(2rem, calc((100vw - var(--sga-max)) / 2 + 2rem)); }
.journal-closing blockquote { font-family: var(--sga-serif); font-size: clamp(2.8rem, 6vw, 6rem); line-height: 0.95; margin: 1rem 0 2rem; max-width: 1100px; }
.journal-closing .text-link { color: var(--sga-paper); }

.article-progress-track { background: rgba(217, 205, 189, 0.35); height: 4px; left: 0; position: fixed; right: 0; top: 0; z-index: 1000; }
.article-progress-track span { background: var(--sga-burgundy); display: block; height: 100%; transform: scaleX(0); transform-origin: left center; }
.article-disclosure { background: var(--sga-sand); border-left: 5px solid var(--sga-burgundy); color: var(--sga-ink); font-size: 0.88rem; line-height: 1.6; margin: 0 0 3rem; padding: 1rem 1.25rem; }
.article-content .entry-content blockquote { border-bottom: 1px solid var(--sga-line); border-top: 1px solid var(--sga-line); font-family: var(--sga-serif); font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.05; margin: 3rem 0; padding: 2rem 0; }
.article-photo {
  margin: 3.25rem 0;
}

.article-photo img {
  display: block;
  max-height: 720px;
  object-fit: cover;
  width: 100%;
}

.article-photo figcaption {
  border-bottom: 1px solid var(--sga-line);
  color: var(--sga-muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  padding: 0.7rem 0;
  text-transform: uppercase;
}

.article-photo.portrait {
  margin-left: auto;
  max-width: 640px;
}

.article-photo.detail {
  margin-left: -6vw;
  max-width: 860px;
}

.article-photo.wide {
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

.article-photo.wide figcaption {
  margin: 0 auto;
  max-width: var(--sga-max);
  padding-left: 2rem;
  padding-right: 2rem;
}

.article-image-pair {
  align-items: end;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 0.85fr 1.15fr;
  margin-top: 3rem;
}

.article-image-pair .article-photo { margin: 0; }
.article-image-pair .article-photo:first-child img { aspect-ratio: 4 / 5; }
.article-image-pair .article-photo:last-child img { aspect-ratio: 4 / 3; }
.article-navigation { border-top: 1px solid var(--sga-line); display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); margin-top: 4rem; padding-top: 2rem; }
.article-navigation a { font-family: var(--sga-serif); font-size: 1.35rem; text-decoration: none; text-transform: uppercase; }
.article-navigation a:last-child { text-align: right; }

.journal-page .journal-post-list article:first-child,
.blog .post-list article:first-child {
  background: var(--sga-stone);
  grid-column: span 2;
  padding: 1.5rem;
}

.journal-page .journal-post-list article:first-child img,
.blog .post-list article:first-child img {
  aspect-ratio: 16 / 8;
}

.contact-page .subpage-hero,
.page-template-page-contact-php .subpage-hero {
  background: var(--sga-burgundy);
  min-height: 460px;
}

.contact-page .subpage-hero img,
.page-template-page-contact-php .subpage-hero img {
  opacity: 0.42;
}

.contact-page .form-card,
.page-template-page-contact-php .form-card {
  border-top: 8px solid var(--sga-burgundy);
  box-shadow: 0 22px 54px rgba(31, 35, 38, 0.1);
}

.contact-page .resource-card:nth-child(2),
.page-template-page-contact-php .resource-card:nth-child(2) {
  background: var(--sga-stone);
}

.customer-care-hero {
  background: var(--sga-evergreen);
  min-height: 480px;
}

.customer-care-hero img {
  opacity: 0.32;
}

.customer-care-layout {
  align-items: start;
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
}

.policy-content {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 820px;
}

.policy-content h2 {
  font-family: var(--sga-serif);
  font-size: clamp(1.65rem, 2.5vw, 2.6rem);
  line-height: 1;
  margin: 2.5rem 0 0.8rem;
  text-transform: uppercase;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content details {
  border-bottom: 1px solid var(--sga-line);
  padding: 1.2rem 0;
}

.policy-content summary {
  cursor: pointer;
  font-family: var(--sga-serif);
  font-weight: 800;
  text-transform: uppercase;
}

.policy-notice {
  border-left: 4px solid var(--sga-burgundy);
  color: var(--sga-muted);
  padding: 0.5rem 0 0.5rem 1.25rem;
}

.care-navigation {
  border-top: 5px solid var(--sga-burgundy);
  position: sticky;
  top: 180px;
}

.care-navigation .section-kicker {
  margin: 1.25rem 0 0.75rem;
}

.care-navigation a {
  border-bottom: 1px solid var(--sga-line);
  color: var(--sga-ink);
  display: block;
  font-weight: 800;
  padding: 0.9rem 0;
  text-decoration: none;
}

.care-navigation a:hover,
.care-navigation a:focus-visible {
  color: var(--sga-burgundy);
}

.about-page .subpage-hero,
.page-template-page-about-php .subpage-hero {
  background: var(--sga-navy);
  min-height: 620px;
}

.about-page .subpage-hero img,
.page-template-page-about-php .subpage-hero img {
  inset: 0 0 0 auto;
  opacity: 0.88;
  width: 52%;
}

.about-page .subpage-hero-inner,
.page-template-page-about-php .subpage-hero-inner {
  margin-left: max(0px, calc((100vw - var(--sga-max)) / 2));
  margin-right: 50%;
  max-width: 760px;
}

.about-page .page-split,
.page-template-page-about-php .page-split {
  align-items: stretch;
}

.about-page .page-split > div:last-child,
.page-template-page-about-php .page-split > div:last-child {
  align-self: center;
  border-left: 6px solid var(--sga-evergreen);
  padding-left: 2rem;
}

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

.about-crew-section {
  border-top: 1px solid var(--sga-line);
}

.about-section-heading {
  max-width: 920px;
}

.crew-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.crew-card {
  min-width: 0;
}

.crew-portrait {
  aspect-ratio: 4 / 5;
  background: var(--sga-stone);
  overflow: hidden;
}

.crew-portrait-empty {
  background: var(--sga-stone);
  border: 1px solid var(--sga-line);
}

.crew-portrait img {
  height: 100%;
  object-fit: cover;
  transition: filter 260ms ease, transform 480ms ease;
  width: 100%;
}

.crew-card:hover .crew-portrait img {
  filter: saturate(0.88) contrast(1.04);
  transform: scale(1.025);
}

.crew-card h3 {
  font-size: 1rem;
  margin: 1rem 0 0.25rem;
  text-transform: uppercase;
}

.crew-card p {
  color: var(--sga-muted);
  font-size: 0.9rem;
  margin: 0;
}

.about-timeline-section {
  background: var(--sga-ink);
  color: var(--sga-paper);
  max-width: none;
  padding-left: max(2rem, calc((100vw - var(--sga-max)) / 2 + 2rem));
  padding-right: max(2rem, calc((100vw - var(--sga-max)) / 2 + 2rem));
}

.timeline-shell {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  margin-top: 3rem;
}

.timeline-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: relative;
}

.timeline-tabs::before {
  background: rgba(246, 244, 241, 0.25);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 15px;
}

.timeline-tab {
  background: transparent;
  border: 0;
  color: rgba(246, 244, 241, 0.58);
  cursor: pointer;
  min-width: 0;
  padding: 2.8rem 0.75rem 1rem 0;
  position: relative;
  text-align: left;
}

.timeline-tab::before {
  background: var(--sga-ink);
  border: 2px solid var(--sga-paper);
  border-radius: 50%;
  content: "";
  height: 15px;
  left: 0;
  position: absolute;
  top: 8px;
  transition: background 180ms ease, transform 180ms ease;
  width: 15px;
}

.timeline-tab span,
.timeline-tab strong {
  display: block;
}

.timeline-tab span {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-tab strong {
  font-size: 0.86rem;
  line-height: 1.2;
  margin-top: 0.4rem;
}

.timeline-tab.is-active {
  color: var(--sga-paper);
}

.timeline-tab.is-active::before {
  background: var(--sga-burgundy);
  border-color: var(--sga-burgundy);
  transform: scale(1.3);
}

.timeline-panel {
  border-left: 4px solid var(--sga-burgundy);
  min-height: 240px;
  padding: 0.5rem 0 0.5rem 2rem;
}

.timeline-panel[hidden] {
  display: none;
}

.timeline-year {
  color: var(--sga-stone);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-panel h3 {
  font-family: var(--sga-serif);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.98;
  margin: 0.65rem 0 1rem;
  text-transform: uppercase;
}

.timeline-panel p {
  color: rgba(246, 244, 241, 0.75);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
}

.article-page .article-hero,
.single-post .article-hero {
  border-bottom: 8px solid var(--sga-burgundy);
}

.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-strip-icon {
  color: var(--sga-sage);
  height: 24px;
  margin-bottom: 0.8rem;
  width: 24px;
}

.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));
}

.process-grid.three-up {
  grid-template-columns: repeat(3, 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;
}

.resource-icon {
  align-items: center;
  background: var(--sga-evergreen);
  color: var(--sga-paper);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 42px;
}

.resource-card:nth-child(2) .resource-icon {
  background: var(--sga-burgundy);
}

.resource-card:nth-child(3) .resource-icon {
  background: var(--sga-navy);
}

.resource-card:nth-child(4) .resource-icon {
  background: var(--sga-sage);
}

.resource-card-icon {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 22px;
}

.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: 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(1.9rem, 3.2vw, 3.5rem);
  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;
}

.direct-email,
.form-note {
  color: var(--sga-muted);
  font-size: 0.9rem;
  margin-top: 1.25rem;
}

.direct-email a {
  color: var(--sga-burgundy);
  font-weight: 800;
}

.form-note {
  margin-bottom: 0;
}

.contact-next-steps {
  border-top: 1px solid var(--sga-line);
}

.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: 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.1rem, 3.4vw, 3.8rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

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

.footer-create-grid a {
  align-items: center;
  border-bottom: 1px solid rgba(31, 35, 38, 0.3);
  color: var(--sga-ink);
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2rem;
  min-height: 132px;
  padding: 1.25rem 0;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, padding 180ms ease;
}

.footer-create-grid a::after {
  content: "→";
  font-size: 1.5rem;
  grid-column: 3;
  grid-row: 1 / span 2;
  transition: transform 180ms ease;
}

.footer-create-icon {
  align-items: center;
  display: flex;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.footer-action-icon {
  fill: none;
  height: 26px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  width: 26px;
}

.footer-create-grid a:hover,
.footer-create-grid a:focus-visible {
  border-bottom-color: var(--sga-burgundy);
  color: var(--sga-burgundy);
  padding-left: 0.4rem;
}

.footer-create-grid a:hover::after,
.footer-create-grid a:focus-visible::after {
  transform: translateX(0.35rem);
}

.footer-create-grid strong {
  display: block;
  grid-column: 2;
  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 .footer-create-copy {
  grid-column: 2;
}

.footer-create-grid a:hover span,
.footer-create-grid a:focus-visible span {
  color: var(--sga-ink);
}

.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 {
  margin: 0 0 1.5rem;
  transform: scale(1.25);
  transform-origin: left center;
  width: 168px;
}

.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.65rem;
  margin-top: 1.2rem;
}

.footer-social .footer-social-icon {
  align-items: center;
  border: 1px solid var(--sga-line);
  border-radius: 50%;
  color: var(--sga-ink);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 42px;
}

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

.footer-social-icon:hover,
.footer-social-icon:focus-visible {
  background: var(--sga-evergreen);
  border-color: var(--sga-evergreen);
  color: var(--sga-paper);
  outline: none;
  transform: translateY(-3px);
}

.social-tooltip {
  background: var(--sga-ink);
  border-radius: 4px;
  bottom: calc(100% + 10px);
  color: var(--sga-paper);
  font-size: 0.68rem;
  font-weight: 800;
  left: 50%;
  letter-spacing: 0.06em;
  opacity: 0;
  padding: 0.4rem 0.55rem;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  transform: translate(-50%, 4px);
  transition: opacity 150ms ease, transform 150ms ease;
  white-space: nowrap;
  z-index: 5;
}

.social-tooltip::after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--sga-ink);
  content: "";
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
}

.footer-social-icon:hover .social-tooltip,
.footer-social-icon:focus-visible .social-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer-social-compact {
  justify-content: center;
  margin: 0 auto;
  max-width: var(--sga-max);
  padding: 2rem 1rem 0;
}

.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;
}

.back-to-top {
  align-items: center;
  background: var(--sga-ink);
  border: 1px solid rgba(246, 244, 241, 0.24);
  border-radius: 50%;
  bottom: 1.25rem;
  color: var(--sga-paper);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.25rem;
  height: 48px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 1.25rem;
  transform: translateY(12px);
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
  width: 48px;
  z-index: 120;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--sga-evergreen);
  outline: none;
}

.back-to-top .social-tooltip {
  left: auto;
  right: 0;
  transform: translateY(4px);
}

.back-to-top:hover .social-tooltip,
.back-to-top:focus-visible .social-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.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;
}

.article-hero {
  min-height: 560px;
}

.article-hero .subpage-hero-inner {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.article-hero .subpage-hero-inner > * {
  align-self: flex-start;
}

.article-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  max-width: 1080px;
}

.article-content {
  padding-top: 3.5rem;
}

.article-content .entry-content h2 {
  font-family: var(--sga-serif);
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.04;
  margin-top: 3rem;
  text-transform: uppercase;
}

.article-content .entry-content p {
  font-size: 1.16rem;
  line-height: 1.75;
}

.article-back {
  color: var(--sga-burgundy);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  text-decoration: none;
  text-transform: uppercase;
}

.related-stories {
  border-top: 1px solid var(--sga-line);
}

.section-intro-row {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
}

.section-intro-row .section-lede {
  margin-bottom: 0.7rem;
}

.product-inquiry {
  border-top: 1px solid var(--sga-line);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.product-inquiry p {
  color: var(--sga-muted);
  font-size: 0.92rem;
  max-width: 520px;
}

.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 {
  display: none;
}

.woocommerce div.product form.cart {
  display: none;
}

.woocommerce a.add_to_cart_button,
.woocommerce a.product_type_simple,
.woocommerce a.product_type_variable,
.woocommerce .button.add_to_cart_button,
.woocommerce-cart,
.woocommerce-checkout {
  display: none;
}

.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);
  overflow: hidden;
  padding: 0;
}

.post-list article > a {
  display: block;
  overflow: hidden;
}

.post-list article > a img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.post-list article h2,
.post-list article p,
.post-list article .post-meta,
.post-list article .text-link {
  margin-left: 1.35rem;
  margin-right: 1.35rem;
}

.post-list article h2 {
  font-family: var(--sga-serif);
  font-size: 1.65rem;
  line-height: 1.02;
  text-transform: uppercase;
}

.post-list article h2 a {
  text-decoration: none;
}

.post-meta {
  color: var(--sga-burgundy);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin-top: 1.2rem;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .journal-cover, .journal-cover-content { min-height: 620px; }
  .journal-cover-content { justify-content: flex-end; padding: 4rem 1.25rem 7rem; }
  .journal-cover-content h1 { font-size: clamp(3.1rem, 15vw, 4.7rem); }
  .journal-cover-caption { bottom: 1.5rem; left: 1.25rem; right: 1.25rem; }
  .journal-editor-note { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; }
  .journal-tools { align-items: stretch; grid-template-columns: 1fr; }
  .journal-filter-group { overflow-x: auto; padding-bottom: 0.4rem; flex-wrap: nowrap; }
  .journal-filter { flex: 0 0 auto; }
  .journal-story-grid { grid-template-columns: 1fr; }
  .journal-story-feature { display: block; grid-column: auto; }
  .journal-story-copy { padding-top: 1rem; }
  .journal-story-copy h2, .journal-story-card:not(.journal-story-feature) .journal-story-copy h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .journal-closing { padding: 4rem 1.25rem; }
  .article-navigation { grid-template-columns: 1fr; }
  .article-navigation a:last-child { text-align: left; }
  .article-photo,
  .article-photo.portrait,
  .article-photo.detail { margin-left: 0; max-width: none; }
  .article-photo.wide { margin-left: -1.25rem; width: calc(100% + 2.5rem); }
  .article-photo.wide figcaption { padding-left: 1.25rem; padding-right: 1.25rem; }
  .article-image-pair { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 90px;
    padding: 0 1.25rem;
  }

  .brand-mark {
    flex-direction: row;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .brand-word { order: initial; }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .primary-navigation {
    display: none;
  }

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

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

  .mobile-navigation ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-navigation a {
    border-bottom: 1px solid var(--sga-line);
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    padding: 0.9rem 0;
    text-decoration: none;
    text-transform: uppercase;
  }

  .header-actions {
    display: none;
  }
}

.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;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.preview-editor-toolbar {
  align-items: center;
  background: var(--sga-ink);
  border: 1px solid rgba(246, 244, 241, 0.18);
  border-radius: 999px;
  bottom: 1rem;
  box-shadow: 0 20px 50px rgba(31, 35, 38, 0.22);
  color: var(--sga-paper);
  display: flex;
  gap: 0.55rem;
  left: 50%;
  padding: 0.5rem;
  position: fixed;
  transform: translateX(-50%);
  z-index: 200;
}

.preview-editor-toolbar button {
  background: var(--sga-paper);
  border: 0;
  border-radius: 999px;
  color: var(--sga-ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  min-height: 38px;
  padding: 0.65rem 0.95rem;
  text-transform: uppercase;
}

.preview-editor-toolbar button[data-preview-edit-reset] {
  background: transparent;
  border: 1px solid rgba(246, 244, 241, 0.32);
  color: var(--sga-paper);
}

.preview-editor-toolbar span {
  color: rgba(246, 244, 241, 0.78);
  font-size: 0.8rem;
  padding: 0 0.75rem 0 0.2rem;
  white-space: nowrap;
}

.preview-editing [contenteditable="true"] {
  border-radius: 4px;
  cursor: text;
  outline: 2px dashed rgba(139, 34, 48, 0.72);
  outline-offset: 4px;
}

.preview-editing [contenteditable="true"]:focus {
  background: rgba(246, 244, 241, 0.12);
  outline-color: var(--sga-burgundy);
}

@media (max-width: 1120px) {
	.crew-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.timeline-shell {
		grid-template-columns: 1fr;
	}
  .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));
  }

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

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

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

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

  .product-showcase-card {
    grid-template-columns: 1fr;
  }

  .product-showcase-card .product-card-media {
    aspect-ratio: 4 / 4.5;
    min-height: 0;
  }
}

@media (max-width: 800px) {
	.customer-care-layout {
		gap: 2.5rem;
		grid-template-columns: 1fr;
	}

	.care-navigation {
		position: static;
	}
  .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: 1fr auto;
    min-height: 86px;
    padding: 0 1rem;
  }

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

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

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

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

  .primary-navigation {
    display: none;
  }

  .mobile-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 .mobile-navigation {
    display: block;
  }

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

  .catalog-heading-row,
  .product-showroom {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    justify-content: flex-start;
  }

  .product-showcase-card {
    min-height: 0;
  }

  .product-showcase-card .product-card-media {
    aspect-ratio: 4 / 5;
  }

  .product-mockup-logo {
    height: 110px !important;
    width: 110px !important;
  }

  .product-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-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(2.7rem, 12vw, 3.8rem);
  }

  .hero-proof,
  .value-grid,
  .impact-stat-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;
  }

  .process-grid.three-up,
  .section-intro-row {
    grid-template-columns: 1fr;
  }

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

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

  .wholesale-page .subpage-hero,
  .page-template-page-wholesale-php .subpage-hero,
  .about-page .subpage-hero,
  .page-template-page-about-php .subpage-hero {
    min-height: 560px;
  }

  .wholesale-page .subpage-hero img,
  .page-template-page-wholesale-php .subpage-hero img,
  .about-page .subpage-hero img,
  .page-template-page-about-php .subpage-hero img {
    inset: 0;
    opacity: 0.42;
    width: 100%;
  }

  .wholesale-page .subpage-hero-inner,
  .page-template-page-wholesale-php .subpage-hero-inner,
  .about-page .subpage-hero-inner,
  .page-template-page-about-php .subpage-hero-inner {
    margin: 0;
    max-width: none;
  }

  .wholesale-page .process-card:nth-child(even),
  .page-template-page-wholesale-php .process-card:nth-child(even) {
    transform: none;
  }

  .journal-page .journal-post-list article:first-child,
  .blog .post-list article:first-child {
    grid-column: auto;
  }

  .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;
  }

  .preview-editor-toolbar {
    align-items: stretch;
    border-radius: var(--sga-radius);
    flex-direction: column;
    left: 1rem;
    right: 1rem;
    transform: none;
  }

  .preview-editor-toolbar span {
    padding: 0 0.7rem 0.35rem;
    text-align: center;
    white-space: normal;
  }

  .back-to-top.with-preview-editor {
    bottom: 11rem;
    z-index: 220;
  }
}

@media (max-width: 520px) {
	.crew-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.crew-card:last-child {
		grid-column: 1 / -1;
		max-width: calc(50% - 0.5rem);
	}

	.timeline-shell {
		gap: 2rem;
		grid-template-columns: 1fr;
	}

	.timeline-tabs {
		display: flex;
		overflow-x: auto;
		padding-bottom: 0.5rem;
		scroll-snap-type: x proximity;
	}

	.timeline-tab {
		flex: 0 0 145px;
		scroll-snap-align: start;
	}

	.timeline-panel {
		min-height: 0;
	}
  .brand-word {
    display: block;
    font-size: 1rem;
    max-width: none;
    white-space: nowrap;
  }

  .hero {
    min-height: 700px;
  }

  .hero-proof {
    gap: 1.3rem;
  }

  .section-heading {
    font-size: clamp(2.05rem, 10vw, 2.9rem);
  }
}
