/*
 * styles.css — Desert Art Supply
 * Design tokens applied as custom properties. Full layout, component,
 * typographic, and responsive rules.
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-primary: #1C1C1C;
  --color-primary-dark: #111111;
  --color-primary-light: #2D2926;
  --color-secondary: #6B4E3D;
  --color-accent: #A23A2E;
  --color-accent-hover: #C04A3E;
  --color-bg: #F4F1EA;
  --color-surface: #EDE8DF;
  --color-text: #1C1C1C;
  --color-text-secondary: #5A5F63;
  --color-text-on-primary: #F4F1EA;
  --color-border: #D5CFC5;
  --font-primary: 'Instrument Serif', serif;
  --font-secondary: 'Figtree', sans-serif;
  --font-size-base: 17px;
  --spacing-base: 8px;
  --site-max-width: 1280px;
  --site-margin: clamp(24px, 5vw, 80px);
}

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

html {
  font-size: var(--font-size-base, 17px);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary, sans-serif);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  padding-bottom: 42px; /* required */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Focus states — WCAG AA required */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============================================================
   Typography
   ============================================================ */
.font-display {
  font-family: var(--font-primary);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  font-family: var(--font-primary);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h2 {
  font-family: var(--font-primary);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-primary);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

h4 {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.lead {
  font-family: var(--font-secondary);
  font-size: clamp(18px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.6;
}

.body-text {
  font-family: var(--font-secondary);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
}

.small-text {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.caption-text {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

p {
  max-width: 65ch;
}

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-primary);
  padding: 0 var(--site-margin);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-primary);
  font-size: 22px;
  color: var(--color-text-on-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-on-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-accent-hover);
}

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

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text-on-primary);
  font-size: 24px;
  line-height: 1;
}

/* Mobile overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--color-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.mobile-nav-overlay.is-open {
  display: flex;
}

.mobile-nav-overlay a {
  font-family: var(--font-primary);
  font-size: 32px;
  color: var(--color-text-on-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-overlay a:hover {
  color: var(--color-accent-hover);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: var(--site-margin);
  background: none;
  border: none;
  color: var(--color-text-on-primary);
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
}

/* Body offset for fixed nav */
body {
  padding-top: 64px;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.site-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--site-margin);
}

.section-padding {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

/* ============================================================
   Hero — index.html
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero-image-field {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Gradient mask dissolving left edge to dark */
.hero-image-field::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-primary) 0%, var(--color-primary) 5%, transparent 40%);
}

/* Bottom dissolve */
.hero-image-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--color-primary), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: var(--site-margin);
  max-width: 50%;
}

.hero-headline {
  font-family: var(--font-primary);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text-on-primary);
}

.hero-tagline {
  font-family: var(--font-secondary);
  font-size: clamp(18px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-on-primary);
  opacity: 0.8;
  margin-top: 24px;
  max-width: 42ch;
}

/* ============================================================
   Heritage Strip
   ============================================================ */
.heritage-strip {
  background-color: var(--color-primary-light);
  padding: 32px var(--site-margin);
  text-align: center;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.heritage-statement {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--color-text-on-primary);
  line-height: 1.4;
}

.heritage-year {
  color: var(--color-accent);
  font-style: normal;
  font-size: clamp(26px, 2.5vw, 30px);
}

.heritage-address {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* ============================================================
   What We Carry Preview (index.html)
   ============================================================ */
.carry-preview {
  background-color: var(--color-bg);
  padding: clamp(48px, 6vw, 80px) var(--site-margin);
}

.carry-preview-header {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.carry-preview-header h2 {
  margin-bottom: 16px;
}

.carry-preview-header .lead {
  color: var(--color-text);
  max-width: 55ch;
}

.categories-stagger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.categories-stagger-row {
  display: contents;
}

.categories-stagger-row.offset {
  /* Second row offset by one column */
}

.category-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-secondary);
}

.category-item h3 {
  font-family: var(--font-primary);
  font-size: clamp(22px, 2vw, 28px);
  color: var(--color-text);
  transition: color 0.2s ease;
}

.category-item a {
  display: block;
  text-decoration: none;
  position: relative;
}

.category-item a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.category-item a:hover::after {
  width: 100%;
}

.category-item a:hover h3 {
  color: var(--color-secondary);
}

.category-item--airbrush h3 {
  color: var(--color-accent);
}

.category-item--airbrush .category-descriptor {
  font-family: var(--font-secondary);
  font-style: italic;
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* Stagger layout: top row 4 cols, bottom row 3 cols offset right */
.categories-grid-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 clamp(24px, 3vw, 40px);
}

.categories-grid-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 clamp(24px, 3vw, 40px);
  margin-top: clamp(16px, 2vw, 24px);
}

.categories-grid-bottom .category-item:first-child {
  grid-column: 2;
}

/* ============================================================
   About Teaser (index.html)
   ============================================================ */
.about-teaser {
  background-color: var(--color-primary);
  display: grid;
  grid-template-columns: 40% 1fr;
  min-height: 500px;
}

.about-teaser-image {
  position: relative;
  overflow: visible;
}

.about-teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Right-edge dissolve on the image */
.about-teaser-image::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(to left, var(--color-primary), transparent);
}

.about-teaser-content {
  padding: clamp(48px, 5vw, 80px) clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.about-teaser-content .pull-quote {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 22px);
  color: var(--color-text-on-primary);
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 50ch;
}

.about-teaser-content p {
  font-family: var(--font-secondary);
  font-size: 18px;
  color: var(--color-text-on-primary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 50ch;
}

.about-teaser-content .about-link {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-on-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.about-teaser-content .about-link:hover {
  color: var(--color-accent-hover);
}

/* ============================================================
   CTA Band (shared across all pages)
   ============================================================ */
.cta-band {
  background-color: var(--color-accent);
  padding: 64px var(--site-margin);
  text-align: center;
}

.cta-band h3 {
  font-family: var(--font-primary);
  font-size: clamp(24px, 2.5vw, 28px);
  color: var(--color-text-on-primary);
  margin-bottom: 16px;
}

.cta-band .cta-phone {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-on-primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.cta-band .cta-phone:hover {
  color: #ffffff;
}

.cta-band .cta-address {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-text-on-primary);
  opacity: 0.85;
}

/* ============================================================
   Page Header (inner pages)
   ============================================================ */
.page-header {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding: 48px var(--site-margin);
  background-color: var(--color-primary);
}

.page-header--tall {
  min-height: 50vh;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, 0.6);
}

/* About header uses subtle bottom gradient only */
.page-header--about .page-header-bg::after {
  background: none;
}

.page-header--about .page-header-bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(28, 28, 28, 0.5), transparent);
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--color-text-on-primary);
  margin-bottom: 8px;
}

.page-header .lead {
  color: var(--color-text-on-primary);
  opacity: 0.8;
  max-width: 50ch;
}

/* ============================================================
   What We Carry Page — Categories Grid
   ============================================================ */
.categories-section {
  background-color: var(--color-bg);
  padding: clamp(48px, 6vw, 80px) var(--site-margin);
}

.category-entry {
  padding: clamp(24px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--color-secondary);
}

.category-entry h3 {
  margin-bottom: 12px;
}

.category-entry p {
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 65ch;
}

.category-entry:hover h3 {
  color: var(--color-secondary);
  transition: color 0.2s ease;
}

.categories-top-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(32px, 4vw, 48px);
}

.categories-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(32px, 4vw, 48px);
}

/* Airbrush Spotlight */
.airbrush-spotlight {
  background-color: var(--color-primary);
  padding: clamp(48px, 6vw, 80px) var(--site-margin);
  display: grid;
  grid-template-columns: 1fr minmax(0, 400px);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.airbrush-spotlight-content {
  min-width: 0;
}

.airbrush-spotlight h2 {
  color: var(--color-accent);
  margin-bottom: 16px;
}

.airbrush-spotlight .lead {
  color: var(--color-text-on-primary);
  margin-bottom: 16px;
  max-width: 55ch;
}

.airbrush-spotlight p {
  font-family: var(--font-secondary);
  font-size: 17px;
  color: var(--color-text-on-primary);
  line-height: 1.7;
  max-width: 55ch;
}

.airbrush-spotlight-image {
  min-width: 0;
}

.airbrush-spotlight-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin-left: auto;
}

/* What We Carry CTA Close */
.carry-cta-close {
  background-color: var(--color-bg);
  padding: 80px var(--site-margin);
  text-align: center;
}

.carry-cta-close h2 {
  font-family: var(--font-primary);
  font-size: clamp(28px, 2.5vw, 32px);
  color: var(--color-text);
  margin-bottom: 16px;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.carry-cta-close .cta-phone {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.carry-cta-close .cta-phone:hover {
  color: var(--color-accent-hover);
}

.carry-cta-close .cta-address {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ============================================================
   Services Page
   ============================================================ */
.services-content {
  background-color: var(--color-bg);
  padding: clamp(48px, 6vw, 80px) var(--site-margin);
}

.service-block {
  max-width: 800px;
  margin: 0 auto;
}

/* Custom Framing — framed by horizontal rules */
.service-framing {
  border-top: 1px solid var(--color-secondary);
  border-bottom: 1px solid var(--color-secondary);
  padding: clamp(32px, 4vw, 48px) 0;
  margin-bottom: clamp(48px, 6vw, 64px);
}

.service-framing h2 {
  margin-bottom: 20px;
}

.service-framing p {
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.7;
  max-width: 65ch;
}

/* Additional services — indented */
.service-additional {
  padding-left: 40px;
}

.service-additional-item {
  margin-bottom: 48px;
}

.service-additional-item:last-child {
  margin-bottom: 0;
}

.service-additional-item h3 {
  margin-bottom: 12px;
}

.service-additional-item p {
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.7;
  max-width: 65ch;
}

/* ============================================================
   About Page
   ============================================================ */
.about-story {
  background-color: var(--color-bg);
  padding: 64px var(--site-margin);
}

.about-story-inner {
  max-width: 65ch;
  margin: 0 auto;
}

.about-story-inner p {
  font-family: var(--font-secondary);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 24px;
}

.about-story-inner p:last-child {
  margin-bottom: 0;
}

/* Community section */
.community-section {
  background-color: var(--color-primary);
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 400px;
}

.community-content {
  padding: clamp(48px, 5vw, 80px) clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.community-content p {
  font-family: var(--font-secondary);
  font-size: 17px;
  color: var(--color-text-on-primary);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 55ch;
}

.community-content .guild-name {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 20px;
}

.community-image {
  position: relative;
  overflow: visible;
}

.community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Left-edge dissolve */
.community-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(to right, var(--color-primary), transparent);
  z-index: 1;
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-header {
  background-color: var(--color-primary);
  min-height: 40vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(48px, 6vw, 80px) var(--site-margin);
  align-items: center;
}

.contact-header-left {
  min-width: 0;
}

.contact-header-left .contact-label {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.contact-header-left .contact-phone {
  font-family: var(--font-primary);
  font-size: clamp(28px, 3vw, 36px);
  color: var(--color-accent);
  text-decoration: none;
  display: block;
  margin-bottom: 24px;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.contact-header-left .contact-phone:hover {
  color: var(--color-accent-hover);
}

.contact-header-left .contact-address {
  font-family: var(--font-secondary);
  font-size: 17px;
  color: var(--color-text-on-primary);
  line-height: 1.7;
}

.contact-header-right {
  min-width: 0;
}

.contact-header-right .hours-list {
  list-style: none;
}

.contact-header-right .hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
  max-width: 300px;
}

.contact-header-right .hours-day {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 16px;
  color: var(--color-text-on-primary);
}

.contact-header-right .hours-time {
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--color-text-on-primary);
}

/* Map & details */
.contact-details {
  background-color: var(--color-bg);
  padding: clamp(48px, 6vw, 80px) var(--site-margin);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: clamp(32px, 4vw, 48px);
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.contact-map {
  min-width: 0;
}

.contact-map iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.contact-info-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info-item i {
  font-size: 20px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: var(--color-accent);
}

.contact-info-item .info-label {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-secondary);
  margin-bottom: 2px;
}

.contact-info-item .info-value {
  font-family: var(--font-secondary);
  font-size: 17px;
  color: var(--color-text);
  line-height: 1.5;
}

/* Contact form */
.contact-form-section {
  background-color: var(--color-bg);
  padding: 0 var(--site-margin) clamp(48px, 6vw, 80px);
}

.contact-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form-wrapper h2 {
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-secondary);
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  color: var(--color-text);
  line-height: 1.5;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 78, 61, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-submit {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  background-color: var(--color-primary);
  color: var(--color-text-on-primary);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  align-self: flex-start;
  letter-spacing: 0.02em;
}

.form-submit:hover {
  background-color: var(--color-primary-light);
}

/* ============================================================
   CTA Band — Simplified (contact page)
   ============================================================ */
.cta-band--simple h3 {
  margin-bottom: 12px;
}

.cta-band--simple .cta-address {
  opacity: 1;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background-color: var(--color-primary);
  padding: clamp(32px, 4vw, 48px) var(--site-margin);
}

.footer-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--color-text-on-primary);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-text-on-primary);
}

.footer-copy {
  font-family: var(--font-secondary);
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ============================================================
   404 Page
   ============================================================ */
.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 6vw, 80px) var(--site-margin);
  background-color: var(--color-primary);
}

.page-404 h1 {
  color: var(--color-text-on-primary);
  margin-bottom: 16px;
}

.page-404 p {
  font-family: var(--font-secondary);
  font-size: 18px;
  color: var(--color-text-on-primary);
  opacity: 0.7;
  margin-bottom: 32px;
  max-width: 45ch;
  margin-left: auto;
  margin-right: auto;
}

.page-404 .back-link {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-on-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(244, 241, 234, 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-404 .back-link:hover {
  border-color: var(--color-text-on-primary);
  color: #ffffff;
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  /* Hero stacks on tablet */
  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-image-field {
    position: relative;
    width: 100%;
    height: 50vh;
  }

  .hero-image-field::before {
    background: none;
  }

  .hero-image-field::after {
    height: 50%;
    background: linear-gradient(to top, var(--color-primary), transparent);
  }

  .hero-content {
    max-width: 100%;
    padding: 0 var(--site-margin);
    margin-top: -80px;
    position: relative;
    z-index: 2;
    padding-bottom: clamp(48px, 6vw, 80px);
  }

  /* About teaser single column */
  .about-teaser {
    grid-template-columns: 1fr;
  }

  .about-teaser-image {
    height: 350px;
  }

  .about-teaser-image::after {
    width: 100%;
    height: 40%;
    top: auto;
    bottom: 0;
    background: linear-gradient(to top, var(--color-primary), transparent);
  }

  /* Categories stagger to single column */
  .categories-grid-top,
  .categories-grid-bottom {
    grid-template-columns: 1fr;
  }

  .categories-grid-bottom .category-item:first-child {
    grid-column: auto;
  }

  /* Progressive indentation on mobile categories */
  .categories-grid-top .category-item:nth-child(1) { padding-left: 0; }
  .categories-grid-top .category-item:nth-child(2) { padding-left: 8px; }
  .categories-grid-top .category-item:nth-child(3) { padding-left: 16px; }
  .categories-grid-top .category-item:nth-child(4) { padding-left: 24px; }
  .categories-grid-bottom .category-item:nth-child(1) { padding-left: 32px; }
  .categories-grid-bottom .category-item:nth-child(2) { padding-left: 40px; }
  .categories-grid-bottom .category-item:nth-child(3) { padding-left: 48px; }

  /* Airbrush spotlight stacks */
  .airbrush-spotlight {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .airbrush-spotlight-image {
    order: -1;
  }

  .airbrush-spotlight-image img {
    max-width: 300px;
    margin: 0 auto;
  }

  /* Community section stacks */
  .community-section {
    grid-template-columns: 1fr;
  }

  .community-image {
    height: 300px;
    order: -1;
  }

  .community-image::before {
    width: 100%;
    height: 30%;
    top: auto;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, var(--color-primary), transparent);
  }

  /* Contact header stacks */
  .contact-header {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* Contact details stacks */
  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  /* Categories on what-we-carry page */
  .categories-top-row,
  .categories-bottom-row {
    grid-template-columns: 1fr;
  }

  /* Footer stacks */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Services indent reduces on tablet */
  .service-additional {
    padding-left: 24px;
  }

  /* Form row stacks */
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Responsive — Mobile
   ============================================================ */
@media (max-width: 480px) {
  .hero-content {
    margin-top: -60px;
  }

  .hero-tagline {
    max-width: 100%;
  }

  /* CTA band scales UP on mobile per responsive commitment */
  .cta-band {
    padding: 80px var(--site-margin);
  }

  .cta-band h3 {
    font-size: 32px;
  }

  .service-additional {
    padding-left: 16px;
  }

  /* Heritage strip tighter */
  .heritage-strip {
    padding: 24px var(--site-margin);
    min-height: auto;
  }

  /* Contact phone scales well */
  .contact-header-left .contact-phone {
    font-size: 28px;
  }
}
