/* ============================================================
   WOTTA MUG — OUTBACK MODERNIST DESIGN SYSTEM
   v2.0 — rebuilt from DESIGN.md
   Fonts: Bricolage Grotesque (headlines) + Hanken Grotesk (body)
   Palette: Paper Cream / Clay Orange / Forest Green / Eucalyptus
   ============================================================ */

/* ============================================================
   CUSTOM PROPERTIES
============================================================ */
:root {
  /* ---- Core palette ---- */
  --paper-cream:       #FEFAF1;   /* Primary background */
  --clay:              #D66236;   /* Primary CTA / terracotta */
  --clay-dark:         #A03B11;   /* Hover / pressed state */
  --clay-container:    #C15328;   /* Container accent */
  --forest:            #283D33;   /* Secondary — dark green */
  --forest-light:      #4d6358;   /* Secondary mid */
  --eucalyptus:        #A4AC86;   /* Tertiary accent / badges */
  --charcoal:          #1A1A1A;   /* Body text */
  --charcoal-soft:     #57423b;   /* Secondary text / captions */
  --surface:           #fcf9f8;
  --surface-low:       #f6f3f2;
  --surface-container: #f0eded;
  --surface-high:      #eae7e7;
  --surface-highest:   #e5e2e1;
  --outline:           #8b7269;
  --outline-variant:   #dec0b6;
  --white:             #ffffff;

  /* ---- Typography ---- */
  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-body:    'Hanken Grotesk', 'Inter', sans-serif;

  /* ---- Spacing (8px base scale) ---- */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-15: 120px;   /* section-gap */

  /* Legacy aliases — keeps old HTML classes working */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;

  /* ---- Layout ---- */
  --max-w:  1280px;
  --pad-x:  64px;

  /* ---- Radius ---- */
  --r-sm:  2px;
  --r:     4px;
  --r-md:  6px;
  --r-lg:  8px;
  --r-xl:  12px;
  --r-full: 9999px;

  /* ---- Shadow (used only on primary CTA) ---- */
  --shadow-cta: 0 4px 12px rgba(166, 59, 17, 0.30);
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--paper-cream);
  color: var(--charcoal);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  list-style: none;
}

/* ============================================================
   ACCESSIBILITY — SKIP LINK
============================================================ */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 9999;
  background: var(--charcoal);
  color: var(--paper-cream);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  text-decoration: none;
  border-bottom: 2px solid var(--clay);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--clay);
  outline-offset: 0;
}

/* ============================================================
   ACCESSIBILITY — FOCUS INDICATORS (WCAG 2.1 AA)
============================================================ */
:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.site-nav :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--paper-cream);
}

.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-outline-white:focus-visible,
.btn-ghost:focus-visible,
.nav-cta:focus-visible {
  outline: 3px solid var(--paper-cream);
  outline-offset: 3px;
}

.form-control:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 0;
}

summary:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
  border-radius: var(--r);
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 1em;
}

p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

a {
  color: var(--clay-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--sp-15) var(--pad-x);
}

/* Section colour variants */
.section--forest {
  background: var(--forest);
  color: var(--paper-cream);
}

.section--forest h1,
.section--forest h2,
.section--forest h3,
.section--forest h4 {
  color: var(--paper-cream);
}

.section--forest p {
  color: rgba(254, 250, 241, 0.8);
}

.section--surface {
  background: var(--surface-low);
}

.section--cream {
  background: #f0ede8;
}

.section--container {
  background: var(--surface-container);
}

/* Legacy section classes — kept for existing HTML */
.section--ink     { background: var(--forest); color: var(--paper-cream); padding: var(--sp-6) var(--pad-x); }
.section--paper   { background: var(--surface-low); }
.section--kraft   { background: var(--paper-cream); }
.section--rust    { background: var(--clay); color: var(--white); }
.section--olive   { background: var(--forest); color: var(--paper-cream); }

.section--ink h1,
.section--ink h2,
.section--ink h3 { color: var(--paper-cream); }
.section--ink p  { color: rgba(254,250,241,0.75); }

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

/* ============================================================
   NAVIGATION
============================================================ */
.site-nav {
  background: var(--paper-cream);
  border-bottom: 1px solid rgba(26,26,26,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.nav-toggle {
  display: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--charcoal);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--forest);
}

.nav-cta {
  background: var(--clay) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: var(--r-full) !important;
  box-shadow: var(--shadow-cta) !important;
  letter-spacing: 0.05em !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: var(--clay-dark) !important;
  box-shadow: 0 4px 16px rgba(166,59,17,0.4) !important;
  text-decoration: none !important;
}

/* ============================================================
   BREADCRUMB
============================================================ */
.breadcrumb {
  background: var(--surface-low);
  padding: 12px var(--pad-x);
  border-bottom: 1px solid var(--surface-highest);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--charcoal-soft);
  max-width: var(--max-w);
  margin: 0 auto;
}

.breadcrumb-list a {
  color: var(--charcoal-soft);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--clay);
}

.breadcrumb-list li + li::before {
  content: '/';
  margin-right: 8px;
  opacity: 0.4;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

/* Primary — Clay Orange pill */
.btn-primary {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-cta);
  padding: 14px 32px;
}

.btn-primary:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(166,59,17,0.4);
}

/* Secondary — Forest Green outline */
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
  border-radius: var(--r);
}

.btn-outline:hover {
  background: var(--eucalyptus);
  border-color: var(--forest);
  color: var(--forest);
  text-decoration: none;
}

/* White outline — for dark backgrounds */
.btn-outline-white {
  background: transparent;
  color: var(--paper-cream);
  border-color: rgba(254, 250, 241, 0.5);
  border-radius: var(--r);
}

.btn-outline-white:hover {
  background: var(--paper-cream);
  border-color: var(--paper-cream);
  color: var(--forest);
  text-decoration: none;
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: none;
  border-bottom: 2px solid var(--outline);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover {
  border-bottom-color: var(--clay);
  color: var(--clay);
  text-decoration: none;
}

/* ============================================================
   CHIPS / BADGES / TAGS
============================================================ */
.stamp-badge {
  display: inline-block;
  background: var(--eucalyptus);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}

.stamp-badge--sm {
  font-size: 11px;
  padding: 4px 12px;
  margin-bottom: 0;
  background: var(--surface-high);
  color: var(--charcoal-soft);
  border: 1px solid var(--surface-highest);
  border-radius: var(--r-full);
}

/* Legacy aliases */
.stamp        { display: inline-block; border: 1.5px solid var(--outline); color: var(--charcoal-soft); font-family: var(--font-body); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--r); }
.stamp--rust  { border-color: var(--clay); color: var(--clay); }

/* ============================================================
   SECTION INTRO TEXT
============================================================ */
.section-intro {
  font-size: 18px;
  line-height: 28px;
  color: var(--charcoal-soft);
  max-width: 600px;
  margin-bottom: var(--sp-5);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clay);
  margin-bottom: var(--sp-1);
}

/* ============================================================
   HERO — HOMEPAGE (SPLIT)
============================================================ */
.hero {
  background: var(--paper-cream);
  position: relative;
  overflow: hidden;
}

.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
  align-items: stretch;
}

/* Right panel background tint */
.hero--split::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: var(--forest);
  z-index: 0;
}

.hero--split > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 0 var(--sp-8) var(--sp-10) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-logo {
  width: 380px;
  height: auto;
  margin-bottom: var(--sp-4);
  display: block;
  align-self: center;
}

.nav-logo-item {
  display: flex;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: var(--sp-3);
}

.hero-title em {
  font-style: normal;
  color: var(--clay);
}

.hero-sub {
  font-size: 18px;
  line-height: 28px;
  color: var(--charcoal-soft);
  margin-bottom: var(--sp-5);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* Hero image — right column */
.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================================
   PAGE HERO (INTERIOR PAGES)
============================================================ */
.page-hero {
  background: var(--forest);
  padding: var(--sp-10) var(--pad-x) var(--sp-8);
  color: var(--paper-cream);
}

.page-hero .hero-title {
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--paper-cream);
}

/* ============================================================
   VALUE STRIP (WHY WOTTA MUG)
============================================================ */
.value-strip {
  /* Uses .grid-4 */
}

.value-item {
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  border-right: 1px solid rgba(254, 250, 241, 0.1);
}

.value-item:last-child {
  border-right: none;
}

.value-icon {
  font-size: 28px;
  display: block;
  margin-bottom: var(--sp-1);
}

.value-item strong {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper-cream);
  margin-bottom: 6px;
}

.value-item p {
  font-size: 13px;
  color: rgba(254, 250, 241, 0.65);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ============================================================
   CATEGORY CARDS
============================================================ */
.cat-grid {
  /* Uses .grid-4 */
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--surface-highest);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--charcoal);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  padding: 0;
}

.cat-card:hover {
  border-color: var(--clay);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(166, 59, 17, 0.12);
  text-decoration: none;
}

.cat-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--surface-low);
  flex-shrink: 0;
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.cat-card:hover .cat-card-img img {
  transform: scale(1.05);
}

.cat-card-body {
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.cat-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--charcoal-soft);
  margin-bottom: var(--sp-2);
  flex: 1;
}

.cat-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.cat-card:hover .cat-link {
  color: var(--clay-dark);
}

/* ============================================================
   HOW IT WORKS (PROCESS STEPS)
============================================================ */
.process-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-4) 0;
}

.process-step {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--surface-highest);
  margin-bottom: var(--sp-3);
}

.process-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  background: var(--clay);
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body { padding-top: 4px; }

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 5px;
  color: var(--charcoal);
}

.step-desc {
  font-size: 14px;
  color: var(--charcoal-soft);
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS — TALL IMAGE COLUMN
============================================================ */
.hiw-img {
  height: 480px;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.hiw-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   GALLERY GRID
============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}

.gallery-item {
  height: 240px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface-low);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ============================================================
   QUOTE / TESTIMONIAL CARDS
============================================================ */
.quotes-grid {
  /* Uses .grid-3 */
  margin-bottom: var(--sp-5);
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--surface-highest);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-3);
  position: relative;
}

.quote-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--eucalyptus);
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-1);
}

.quote-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: var(--sp-2);
  font-style: italic;
}

.quote-card cite {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  font-style: normal;
}

/* ============================================================
   TRUST BADGES ROW
============================================================ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-top: var(--sp-5);
}

/* ============================================================
   FEATURE LIST
============================================================ */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--surface-high);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 15px;
  line-height: 1.6;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '→';
  color: var(--clay);
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.feature-list--light li {
  border-bottom-color: rgba(254, 250, 241, 0.12);
  color: rgba(254, 250, 241, 0.85);
}

.feature-list--light li::before {
  color: var(--eucalyptus);
}

/* ============================================================
   TRUST BLOCK (pull quote / stat)
============================================================ */
.trust-block {
  background: var(--surface-low);
  padding: var(--sp-4);
  border-left: 4px solid var(--clay);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}

.trust-block p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--charcoal);
  margin-bottom: var(--sp-2);
}

.trust-attr {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  background: var(--clay);
  padding: var(--sp-15) var(--pad-x);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 28px;
  margin-bottom: var(--sp-5);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FORMS
============================================================ */
.quote-form {
  background: var(--white);
  padding: var(--sp-5);
  border: 1px solid var(--surface-highest);
  border-radius: var(--r-lg);
}

.form-group {
  margin-bottom: var(--sp-3);
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper-cream);
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus,
.form-control:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 0;
  border-color: var(--clay);
}

.form-control::placeholder {
  color: var(--outline);
  opacity: 0.7;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b7269' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

/* ============================================================
   SECTION HEADERS
============================================================ */
.section-header {
  margin-bottom: var(--sp-5);
}

.section-header h2 {
  margin-top: 6px;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--charcoal);
  padding: var(--sp-10) var(--pad-x) var(--sp-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-name {
  margin-bottom: var(--sp-2);
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper-cream);
  margin-bottom: var(--sp-2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--paper-cream);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-3);
}

.footer-bottom-links a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--paper-cream);
}

/* Footer layout using footer-brand / footer-col pattern */
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin: 0;
}

.footer-logo {
  display: inline-flex;
  text-decoration: none;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper-cream);
  margin-bottom: var(--sp-2);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col ul a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--paper-cream);
}

.footer-base {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: var(--sp-4);
}

.footer-base p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
  margin: 0;
}

/* CTA Band */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  margin-bottom: var(--sp-3);
}

.cta-band p {
  max-width: 540px;
  margin: 0 auto var(--sp-6);
}

.btn-primary--lg {
  padding: 16px 40px;
  font-size: 17px;
}

/* ============================================================
   IMAGE HELPERS
============================================================ */
.hero-img-wrap {
  background: var(--surface-container);
  border: 1px dashed var(--outline);
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: var(--sp-5);
  text-align: center;
}

.img-placeholder {
  background: var(--surface-container);
  border: 1px dashed var(--outline-variant);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 32px;
  text-align: center;
  color: var(--outline);
  min-height: 200px;
}

.img-placeholder .ph-icon { font-size: 40px; }
.img-placeholder .ph-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   UTILITY
============================================================ */
.text-clay    { color: var(--clay); }
.text-forest  { color: var(--forest); }
.text-muted   { color: var(--charcoal-soft); }
.text-cream   { color: var(--paper-cream); }
.text-center  { text-align: center; }

/* Legacy utility aliases */
.text-rust    { color: var(--clay); }
.text-stamp   { color: var(--charcoal-soft); }
.text-kraft   { color: var(--paper-cream); }

.mt-sm  { margin-top: var(--sp-2); }
.mt-md  { margin-top: var(--sp-3); }
.mt-lg  { margin-top: var(--sp-5); }
.mb-sm  { margin-bottom: var(--sp-2); }
.mb-md  { margin-bottom: var(--sp-3); }
.mb-lg  { margin-bottom: var(--sp-5); }
.mb-xl  { margin-bottom: var(--sp-8); }

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
============================================================ */
@media (max-width: 1024px) {
  :root {
    --pad-x: 40px;
    --sp-15: 80px;
  }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  .value-item { border-right: none; border-bottom: 1px solid rgba(254,250,241,0.1); }
  .value-item:last-child { border-bottom: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
============================================================ */
@media (max-width: 768px) {
  :root {
    --pad-x: 20px;
    --sp-15: 64px;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }

  /* Hero stack */
  .hero--split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero--split::after { display: none; }

  .hero-content {
    padding: var(--sp-8) var(--pad-x);
    background: var(--paper-cream);
  }

  .hero-image {
    min-height: 320px;
    background: var(--forest);
  }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  /* Nav */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper-cream);
    border-top: 1px solid rgba(26,26,26,0.08);
    box-shadow: 0 4px 12px rgba(26,26,26,0.08);
    padding: var(--sp-3) var(--pad-x);
    z-index: 99;
  }

  .nav-links.is-open { display: flex; }

  .nav-links li {
    border-bottom: 1px solid rgba(26,26,26,0.07);
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 14px;
  }

  .nav-links a.nav-cta {
    margin-top: var(--sp-2);
    text-align: center;
    display: block;
    padding: 12px 18px !important;
    border-radius: var(--r-full) !important;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.25s;
  }

  .site-nav { position: relative; }
  .nav-inner { flex-wrap: wrap; }

  /* Misc */
  .hiw-img { height: 280px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { height: 180px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .trust-badges { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-section { padding: var(--sp-10) var(--pad-x); }
  .section { padding: var(--sp-10) var(--pad-x); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
