/*
  ============================================
  NORTH LOOP COFFEE ROASTERS, DESIGN SYSTEM
  ============================================

  Aesthetic: BOLD
  Typography: Archivo Black (display) + Inter (body)
  Palette: Deep ink (#0E0E0E) with saturated yellow accent (#FFD400)
  Corners: Sharp (0–2px radius)
  Spacing: 8px base unit
  
  COLORS:
  --color-bg:      #0E0E0E   (deep ink, primary bg)
  --color-ink:     #F5F5F5   (off-white, primary text)
  --color-muted:   #A0A0A0   (neutral gray, secondary text)
  --color-border:  #333333   (dark gray, borders)
  --color-accent:  #FFD400   (saturated yellow, accent + CTAs)
  
  TYPOGRAPHY:
  Display: Archivo Black, sans-serif
  Body: Inter, system-ui, sans-serif
  
  TYPE SCALE (clamp-based fluid):
  --fs-h1:  clamp(2.5rem, 6vw + 0.5rem, 4.5rem)
  --fs-h2:  clamp(2rem, 4vw + 0.5rem, 3rem)
  --fs-h3:  clamp(1.5rem, 2.5vw + 0.25rem, 2rem)
  --fs-body: 1rem (16px)
  --fs-sm:   0.875rem (14px)
  
  SPACING (8px base):
  --space-xs: 0.5rem (4px)
  --space-sm: 1rem (8px)
  --space-md: 1.5rem (12px)
  --space-lg: 2rem (16px)
  --space-xl: 3rem (24px)
  --space-2xl: 4rem (32px)
  --space-3xl: 6rem (48px)
  --space-4xl: 8rem (64px)
  --space-5xl: 12rem (96px)
  --space-6xl: 16rem (160px)
  
  RADIUS:
  --radius-base: 2px (sharp aesthetic)
  
  SHADOWS:
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.12)
  --shadow-md: 0 8px 24px rgba(0,0,0,0.15)
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.2)
  
  MOTION:
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1)
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1)
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0)
  --dur-fast: 150ms
  --dur-normal: 300ms
  --dur-slow: 500ms
*/

:root {
  --color-bg:     #0E0E0E;
  --color-ink:    #F5F5F5;
  --color-muted:  #A0A0A0;
  --color-border: #333333;
  --color-accent: #FFD400;
  --color-surface: #1A1A1A;

  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --fs-h1: clamp(2.5rem, 6vw + 0.5rem, 4.5rem);
  --fs-h2: clamp(2rem, 4vw + 0.5rem, 3rem);
  --fs-h3: clamp(1.5rem, 2.5vw + 0.25rem, 2rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 12rem;
  --space-6xl: 16rem;

  --radius-base: 2px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.15);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.2);

  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-fast: 150ms;
  --dur-normal: 300ms;
  --dur-slow: 500ms;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-lg);
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  position: relative;
  transition: color var(--dur-normal) var(--ease-in-out);
}

a:hover {
  color: #FFE03B;
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-md);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  color: var(--color-ink);
  outline: 2px solid var(--color-accent);
  border-radius: var(--radius-base);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius-base);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-in-out);
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #FFE03B;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: rgba(255, 212, 0, 0.05);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-ink);
  border: none;
  padding: 0.75rem 1.25rem;
}

.btn-ghost:hover {
  color: var(--color-accent);
}

.btn-small {
  padding: 0.625rem 1rem;
  font-size: var(--fs-xs);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: var(--fs-body);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  position: relative;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
  position: sticky;
  top: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 900;
  font-size: var(--fs-h3);
  transition: color var(--dur-normal) var(--ease-in-out);
}

.brand:hover {
  color: var(--color-accent);
}

.brand:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-base);
}

.brand__mark {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  transition: transform var(--dur-normal) var(--ease-in-out);
}

.brand:hover .brand__mark {
  transform: rotate(6deg);
}

.brand__name {
  letter-spacing: -0.02em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.primary-nav__link {
  position: relative;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--fs-sm);
  transition: color var(--dur-normal) var(--ease-in-out);
}

.primary-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--dur-normal) var(--ease-in-out);
}

.primary-nav__link:hover::after {
  width: 100%;
}

.primary-nav__link[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 700;
}

.primary-nav__link[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition: all var(--dur-fast) var(--ease-in-out);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .primary-nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: var(--space-sm);
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: var(--space-xl) var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-normal) var(--ease-in-out);
  }

  .nav-toggle[aria-expanded="true"] ~ .primary-nav__list {
    max-height: 500px;
  }

  .primary-nav__link {
    width: 100%;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
  }

  .primary-nav__link::after {
    display: none;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-5xl) 0 var(--space-lg);
  margin-top: var(--space-6xl);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.site-footer__brand p {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  margin-bottom: 0;
}

.brand__mark {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.site-footer__nav ul {
  list-style: none;
}

.site-footer__nav li {
  margin-bottom: var(--space-md);
}

.site-footer__nav a {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--dur-normal) var(--ease-in-out);
}

.site-footer__nav a:hover {
  color: var(--color-accent);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-link {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--dur-normal) var(--ease-in-out);
}

.footer-link:hover {
  color: var(--color-accent);
}

.site-footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.site-footer__meta {
  font-size: var(--fs-xs);
  color: var(--color-muted);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* High-opacity overlay so accent text remains readable across any image. */
  background: linear-gradient(135deg, rgba(14, 14, 14, 0.82) 0%, rgba(14, 14, 14, 0.92) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  /* Pixel ceiling, not ch — see design-energy.md "ch-unit trap" for why. */
  max-width: 1000px;
  width: 100%;
  padding: var(--space-3xl) clamp(40px, 6vw, 96px);
  text-align: center;
  /* Belt-and-suspenders text shadow for accent readability. */
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero__ctas {
  justify-content: center;
}

.hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero__text {
  animation: fadeInUp 700ms var(--ease-out) 200ms both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  /* Sized so a typical 30-40 char headline fits in 1-2 lines on a
     standard desktop viewport with Archivo Black (a wide display font). */
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  /* No max-width here. Column padding bounds the line length. */
}

.hero__title-word {
  /* Inline-block lets words stagger via animation while still flowing naturally
     across multiple lines. `display: block` was forcing one word per line. */
  display: inline-block;
  margin-right: 0.25em;
}

.hero__title-accent {
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw + 0.25rem, 1.5rem);
  color: var(--color-muted);
  margin-bottom: var(--space-2xl);
  max-width: 50ch;
  line-height: 1.5;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.page-hero {
  padding: var(--space-5xl) 0 var(--space-4xl);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-hero__title {
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: var(--fs-body);
  color: var(--color-muted);
  max-width: 60ch;
  margin-bottom: 0;
}

/* ============================================
   SECTIONS & SPACING
   ============================================ */

section {
  padding: var(--space-5xl) 0;
}

section:nth-child(odd) {
  background-color: var(--color-bg);
}

section:nth-child(even) {
  background-color: var(--color-surface);
}

/* ============================================
   FEATURED ROAST SECTION
   ============================================ */

.featured-roast {
  padding: var(--space-6xl) 0;
}

.featured-roast__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.featured-roast__image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-base);
  animation: slideInLeft 600ms var(--ease-out) both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.featured-roast__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-base);
  transition: transform 300ms var(--ease-in-out);
}

.featured-roast__image-wrapper:hover .featured-roast__image {
  transform: scale(1.03);
}

.featured-roast__copy {
  animation: slideInRight 600ms var(--ease-out) both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.featured-roast__title {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.featured-roast__origin {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.featured-roast__description {
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.featured-roast__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-2xl);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.featured-roast__specs dt {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: var(--space-xs);
}

.featured-roast__specs dd {
  font-size: var(--fs-body);
  color: var(--color-ink);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .featured-roast__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .featured-roast__specs {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WHY US SECTION
   ============================================ */

.section-header {
  margin-bottom: var(--space-4xl);
}

.section-title {
  max-width: 28ch;
}

.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3xl);
  list-style: none;
}

.value-prop {
  animation: fadeInUp 600ms var(--ease-out) both;
}

.value-prop:nth-child(2) {
  animation-delay: 100ms;
}

.value-prop:nth-child(3) {
  animation-delay: 200ms;
}

.value-prop__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  transition: transform 300ms var(--ease-in-out);
}

.value-prop:hover .value-prop__icon {
  transform: rotate(8deg) translateX(3px);
}

.value-prop h3 {
  margin-bottom: var(--space-md);
}

.value-prop p {
  color: var(--color-muted);
  margin-bottom: 0;
  font-size: var(--fs-body);
}

/* ============================================
   HOURS & VISIT SECTION
   ============================================ */

.hours-visit {
  background: linear-gradient(135deg, var(--color-accent) 0%, #FFE03B 100%);
  color: var(--color-bg);
  padding: var(--space-5xl) 0;
}

.hours-visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.hours-visit__block h2 {
  color: var(--color-bg);
  margin-bottom: var(--space-lg);
}

.hours-visit__block p {
  color: var(--color-bg);
}

.hours-visit__block .btn {
  margin-top: var(--space-lg);
}

.hours {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.hours div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hours dt {
  font-weight: 600;
  color: inherit;
}

.hours dd {
  text-align: right;
  margin-left: 0;
}

@media (max-width: 768px) {
  .hours-visit__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CTA BLOCK
   ============================================ */

.cta-block {
  background-color: var(--color-surface);
  padding: var(--space-5xl) 0;
  text-align: center;
}

.cta-block__content h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-lg);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-block__content p {
  font-size: var(--fs-body);
  color: var(--color-muted);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-2xl);
}

.cta-block__content .btn {
  display: inline-flex;
}

/* ============================================
   COFFEE GRID & ITEMS
   ============================================ */

.coffee-grid {
  padding: var(--space-4xl) 0;
}

.coffee-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-3xl);
  list-style: none;
}

.coffee-item {
  display: flex;
  flex-direction: column;
  animation: fadeInUp 600ms var(--ease-out) both;
}

.coffee-item:nth-child(2) {
  animation-delay: 100ms;
}

.coffee-item:nth-child(3) {
  animation-delay: 200ms;
}

.coffee-item__image-wrapper {
  overflow: hidden;
  border-radius: var(--radius-base);
  margin-bottom: var(--space-lg);
  height: 400px;
}

.coffee-item__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms var(--ease-in-out);
}

.coffee-item__image-wrapper:hover .coffee-item__image {
  transform: scale(1.05);
}

.coffee-item__origin {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.coffee-item__name {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.coffee-item__region {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.coffee-item__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.coffee-item__specs dt {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: var(--space-xs);
}

.coffee-item__specs dd {
  font-size: var(--fs-sm);
  color: var(--color-ink);
  margin-bottom: 0;
}

.coffee-item__price {
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

/* ============================================
   SOURCING STATEMENT
   ============================================ */

.sourcing-statement {
  background-color: var(--color-surface);
  padding: var(--space-5xl) 0;
  text-align: center;
}

.sourcing-statement__copy {
  font-size: var(--fs-body);
  color: var(--color-muted);
  max-width: 65ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   VISIT PAGE SECTIONS
   ============================================ */

.visit-info {
  padding: var(--space-4xl) 0;
}

.visit-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.visit-info__details {
  display: flex;
  flex-direction: column;
}

.visit-address {
  font-style: normal;
  margin-bottom: var(--space-2xl);
}

.visit-address__line {
  margin-bottom: var(--space-xs);
}

.visit-info__hours,
.visit-info__parking {
  margin-bottom: var(--space-2xl);
}

.visit-info__hours h3,
.visit-info__parking h3 {
  margin-bottom: var(--space-lg);
}

.visit-info__map {
  border-radius: var(--radius-base);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.shop-photos {
  padding: var(--space-5xl) 0;
}

.shop-photos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.shop-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-base);
  transition: transform 300ms var(--ease-in-out);
  display: block;
}

.shop-photo:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .visit-info__grid {
    grid-template-columns: 1fr;
  }

  .visit-info__map {
    height: 400px;
  }
}

/* ============================================
   WHOLESALE SECTION
   ============================================ */

.wholesale-section {
  background-color: var(--color-surface);
  padding: var(--space-5xl) 0;
}

.wholesale-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.wholesale-copy h2 {
  margin-bottom: var(--space-lg);
}

.wholesale-copy p {
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
}

.wholesale-benefits {
  list-style: none;
  margin-bottom: var(--space-2xl);
}

.wholesale-benefits li {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  position: relative;
  color: var(--color-muted);
}

.wholesale-benefits li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 900;
}

.wholesale-form {
  background-color: var(--color-bg);
  padding: var(--space-2xl);
  border-radius: var(--radius-base);
  border: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .wholesale-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FORMS
   ============================================ */

.field {
  margin-bottom: var(--space-lg);
}

.field label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.field input,
.field textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  background-color: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  transition: all var(--dur-normal) var(--ease-in-out);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.1);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #FF5252;
  background-color: rgba(255, 82, 82, 0.05);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.error {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--fs-xs);
  color: #FF5252;
}

.form-status {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius-base);
  text-align: center;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-in-out);
}

.form-status--success {
  opacity: 1;
  background-color: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  border: 1px solid #4CAF50;
}

.form-status--error {
  opacity: 1;
  background-color: rgba(255, 82, 82, 0.1);
  color: #FF5252;
  border: 1px solid #FF5252;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-hero {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4xl) 0;
}

.legal-hero h1 {
  margin-bottom: var(--space-sm);
}

.legal__updated {
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.legal-content {
  max-width: 65ch;
  padding: var(--space-4xl) 0;
}

.legal-content h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  font-size: var(--fs-h3);
}

.legal-content p,
.legal-content ul,
.legal-content address {
  margin-bottom: var(--space-lg);
  color: var(--color-muted);
  line-height: 1.8;
}

.legal-content ul {
  margin-left: var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-md);
}

.legal-content a {
  color: var(--color-accent);
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  padding: 1.5rem;
  background: var(--color-surface);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-lg);
  animation: slideUp 400ms var(--ease-out) both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner__text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--color-muted);
}

.cookie-banner__text a {
  color: var(--color-accent);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
}

.cookie-banner__actions .btn {
  flex: 1;
  font-size: var(--fs-xs);
  padding: 0.625rem 1rem;
}

@media (min-width: 768px) {
  .cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 32rem;
  }

  .cookie-banner__content {
    flex-direction: row;
    align-items: center;
  }

  .cookie-banner__text {
    flex: 1;
    margin: 0;
  }

  .cookie-banner__actions {
    flex-shrink: 0;
  }
}

/* ============================================
   UTILITY & MISC
   ============================================ */

address {
  font-style: normal;
}

ul {
  list-style: none;
}

dl {
  margin-bottom: 0;
}

dt {
  font-weight: 600;
}

dd {
  margin-left: 0;
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

iframe {
  border-radius: var(--radius-base);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
