/*
  Society Supply Co. Global Styles
  Brand: Society Supply Co.
  Tagline: Membership For The Rest Of Us
*/

:root {
  --ssc-green: #1F3A2E;
  --ssc-cream: #F2EDE2;
  --ssc-rust: #B5532D;
  --ssc-navy: #1E2A3A;
  --ssc-mustard: #C4A14A;
  --ssc-ink: #17251E;
  --ssc-muted: #6C756E;
  --ssc-border: rgba(31, 58, 46, 0.18);
  --ssc-shadow: 0 24px 60px rgba(31, 58, 46, 0.14);
  --font-heading: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ssc-green);
  background: var(--ssc-cream);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(242, 237, 226, 0.92);
  border-bottom: 1px solid var(--ssc-border);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  width: 184px;
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 0.77rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav a {
  text-decoration: none;
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
  color: var(--ssc-rust);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--ssc-green);
  border-radius: 999px;
  background: var(--ssc-green);
  color: var(--ssc-cream);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--ssc-green);
}

.button.secondary:hover {
  background: var(--ssc-green);
  color: var(--ssc-cream);
}

/* Hero */

.hero {
  padding: 86px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ssc-rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: var(--ssc-ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card {
  position: relative;
  padding: 40px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--ssc-border);
  border-radius: 34px;
  background: var(--ssc-green);
  color: var(--ssc-cream);
  box-shadow: var(--ssc-shadow);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -80px auto auto -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--ssc-rust);
  opacity: 0.24;
}

.hero-card-logo {
  width: min(100%, 420px);
  margin: 0 auto;
}

.hero-card-text {
  margin: 32px 0 0;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Sections */

.section {
  padding: 72px 0;
}

.section.dark {
  background: var(--ssc-green);
  color: var(--ssc-cream);
}

.section.dark .muted,
.section.dark .section-intro {
  color: rgba(242, 237, 226, 0.78);
}

.section-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ssc-ink);
  font-size: 1.08rem;
}

.story-card {
  margin-top: 36px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--ssc-border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.36);
}

.story-card p {
  max-width: 820px;
}

.probably {
  display: inline-block;
  color: var(--ssc-rust);
  font-weight: 700;
}

/* Organisation pills */

.org-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.org-pill {
  padding: 11px 14px;
  border: 1px solid rgba(242, 237, 226, 0.28);
  border-radius: 999px;
  color: var(--ssc-cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Product preview */

.product-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.product-card {
  padding: 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--ssc-border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.32);
}

.product-card .small-mark {
  width: 42px;
  opacity: 0.88;
}

.product-card strong {
  display: block;
  margin-top: 30px;
  font-size: 1.1rem;
  line-height: 1.18;
}

.product-card span {
  display: block;
  margin-top: 10px;
  color: var(--ssc-muted);
  font-size: 0.9rem;
}

/* CTA */

.cta-panel {
  padding: clamp(32px, 6vw, 70px);
  border-radius: 38px;
  background: var(--ssc-navy);
  color: var(--ssc-cream);
  text-align: center;
}

.cta-panel p {
  max-width: 720px;
  margin: 20px auto 0;
  color: rgba(242, 237, 226, 0.78);
}

.cta-panel .hero-actions {
  justify-content: center;
}

/* Footer */

.site-footer {
  background: var(--ssc-cream);
  color: var(--ssc-green);
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid var(--ssc-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-mark {
  width: 46px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

.site-footer p {
  margin: 0;
}

.footer-small {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Responsive */

@media (max-width: 860px) {
  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-grid,
  .product-preview {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 340px;
  }
}