/* ═══════════════════════════════════════════════════════════════════════════
   HOPFENCRAFT — Premium Craft Beer & BrewTech
   Modern, Mobile-First Static Site
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   Custom Font
   ───────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "BreveSC";
  src: url("../fonts/BreveSc-a1zR.ttf") format("truetype");
  font-display: swap;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CSS Variables — Design Tokens
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --bg: #070a08;
  --bg-alt: #0a0f0c;
  --surface: #0d1310;
  --surface-2: #111916;
  --surface-3: #151f1a;
  --surface-elevated: #1a251f;

  --text: #e8f1eb;
  --text-secondary: #a8bfaf;
  --text-muted: #6b8572;

  --brand: #22c55e;
  --brand-dark: #16a34a;
  --brand-light: #4ade80;
  --brand-glow: rgba(34, 197, 94, 0.4);

  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.3);

  --line: rgba(168, 191, 175, 0.1);
  --line-strong: rgba(168, 191, 175, 0.2);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--brand-glow);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --container-padding: 20px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Gradient Background Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -20%, rgba(34, 197, 94, 0.15), transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(22, 163, 74, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(34, 197, 94, 0.08), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* Skip Link */
.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  position: fixed;
  left: var(--space-md);
  top: var(--space-md);
  width: auto;
  height: auto;
  padding: var(--space-sm) var(--space-md);
  background: var(--surface-elevated);
  border: 1px solid var(--brand);
  border-radius: var(--radius-md);
  color: var(--text);
  z-index: 9999;
  box-shadow: var(--shadow-glow);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Typography
   ───────────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: "BreveSC", ui-sans-serif, system-ui;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-secondary);
}

.lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 65ch;
}

.muted {
  color: var(--text-muted);
}

.mono {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.9em;
}

.tiny {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Layout
   ───────────────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-2xl) 0;
}

.section.alt {
  background: var(--bg-alt);
  position: relative;
}

.section.alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.section-title {
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  margin-bottom: var(--space-sm);
}

.section-title p {
  max-width: 60ch;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }
.grid.cols-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Split Layout */
.split {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Header & Navigation
   ───────────────────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 8, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: var(--space-md);
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 110;
}

.brand img {
  height: 36px;
  width: auto;
  transition: transform var(--transition-base);
}

.brand:hover img {
  transform: scale(1.05);
}

/* Hamburger Menu Button */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  z-index: 110;
  transition: all var(--transition-fast);
}

.menu-btn:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.menu-icon {
  position: relative;
  width: 20px;
  height: 14px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-icon::before {
  top: 0;
}

.menu-icon::after {
  bottom: 0;
}

/* Menu Icon Animation when open */
.menu-btn[aria-expanded="true"] .menu-icon::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-icon::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Navigation Links - Mobile */
.nav-links {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 10, 8, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  z-index: 100;
}

.nav-links[data-open="true"],
.nav-links.open {
  transform: translateX(0);
}

.nav-links .inner {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl) var(--container-padding);
  gap: var(--space-sm);
}

.nav-links a {
  display: block;
  padding: var(--space-md) var(--space-lg);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-links a[aria-current="page"],
.nav-links a.active {
  color: var(--brand);
  background: rgba(34, 197, 94, 0.1);
}

/* Desktop Navigation */
@media (min-width: 900px) {
  .menu-btn {
    display: none;
  }

  .nav-links {
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    overflow: visible;
  }

  .nav-links .inner {
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: var(--space-xs);
  }

  .nav-links a {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9375rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  background: var(--surface-3);
  border-color: var(--text-muted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-color: var(--brand);
  color: var(--bg);
  box-shadow: 0 4px 20px var(--brand-glow);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
  box-shadow: 0 8px 30px var(--brand-glow);
}

.btn.ghost {
  background: transparent;
  border-color: var(--line-strong);
}

.btn.ghost:hover {
  background: var(--surface);
  border-color: var(--text-muted);
}

.btn.small {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Hero Section
   ───────────────────────────────────────────────────────────────────────────── */
.hero {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.hero-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.hero-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.hero-card:hover .hero-media img {
  transform: scale(1.03);
  opacity: 0.8;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 8, 0.3) 0%,
    rgba(7, 10, 8, 0.6) 50%,
    rgba(7, 10, 8, 0.95) 100%
  );
}

.hero-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  gap: var(--space-md);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.1;
  max-width: 20ch;
}

.hero p {
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

.badge {
  display: flex;
  flex-direction: column;
  padding: var(--space-sm) var(--space-md);
  background: rgba(17, 25, 22, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.badge strong {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
}

.badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Page Hero (for subpages) */
.page-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .kicker {
  margin-bottom: var(--space-sm);
}

.page-hero h1 {
  margin-bottom: var(--space-md);
}

/* Hero Grid (for pages with side image) */
.hero-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .hero-body {
    position: relative;
    padding: var(--space-xl);
  }

  .hero-media {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    overflow: hidden;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Cards
   ───────────────────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-head {
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
}

.card p {
  font-size: 0.9375rem;
}

/* Media Card */
.media-card {
  padding: 0;
  overflow: hidden;
}

.media-card .media,
.media-card > img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.media-card .media img,
.media-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.media-card .body,
.media-card .meta {
  padding: var(--space-md);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Lists
   ───────────────────────────────────────────────────────────────────────────── */
.list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--brand);
  border-radius: var(--radius-full);
}

.list.compact li {
  font-size: 0.875rem;
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-full);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Link Styles
   ───────────────────────────────────────────────────────────────────────────── */
.link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: var(--space-md);
  transition: all var(--transition-fast);
}

.link::after {
  content: "→";
  transition: transform var(--transition-fast);
}

.link:hover {
  color: var(--brand-light);
}

.link:hover::after {
  transform: translateX(4px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Callout & CTA
   ───────────────────────────────────────────────────────────────────────────── */
.callout {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  margin-top: var(--space-xl);
}

@media (min-width: 640px) {
  .callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.callout h3 {
  margin-bottom: var(--space-sm);
}

.cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-2xl);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, var(--surface) 100%);
  border: 1px solid var(--brand);
  border-radius: var(--radius-xl);
  text-align: center;
}

.cta h2 {
  margin-bottom: var(--space-sm);
}

.cta-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Locations
   ───────────────────────────────────────────────────────────────────────────── */
.locations {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .locations {
    grid-template-columns: repeat(2, 1fr);
  }
}

.loc {
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.loc h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.loc h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: var(--radius-full);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Aside / Panel
   ───────────────────────────────────────────────────────────────────────────── */
.aside,
.panel {
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.panel h3 {
  margin-bottom: var(--space-md);
}

.aside .rounded {
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Mini Cards
   ───────────────────────────────────────────────────────────────────────────── */
.mini {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.mini h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.mini p {
  font-size: 0.875rem;
}

.pill {
  display: inline-flex;
  flex-direction: column;
  padding: var(--space-sm) var(--space-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
}

.pill .mono {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pill strong {
  color: var(--text);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Timeline
   ───────────────────────────────────────────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.timeline .step {
  display: flex;
  gap: var(--space-md);
}

.timeline .num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-full);
}

.timeline ol {
  counter-reset: timeline;
}

.timeline ol li {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.timeline ol li::before {
  counter-increment: timeline;
  content: counter(timeline);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-full);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Accordion / FAQ
   ───────────────────────────────────────────────────────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.accordion details {
  overflow: hidden;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
}

.accordion details > div {
  padding: 0 var(--space-lg) var(--space-lg);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Forms
   ───────────────────────────────────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

label {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

input,
select,
textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

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

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b8572' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Notices
   ───────────────────────────────────────────────────────────────────────────── */
.notice,
.note {
  padding: var(--space-md);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
}

.notice strong,
.note strong {
  color: var(--brand);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────────────────────── */
.footer {
  margin-top: var(--space-2xl);
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.footgrid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .footgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footgrid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footlogo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.footer h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer a.f {
  display: block;
  padding: var(--space-xs) 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer a.f:hover {
  color: var(--brand);
}

.subfoot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Utilities
   ───────────────────────────────────────────────────────────────────────────── */
.spacer,
.gap {
  height: var(--space-lg);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: var(--space-lg) 0;
}

.hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: var(--space-md) 0;
}

.rounded {
  border-radius: var(--radius-lg);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  margin-bottom: var(--space-sm);
}

.inset {
  margin-top: var(--space-lg);
  background: var(--bg);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Responsive Adjustments
   ───────────────────────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
  :root {
    --container-padding: 32px;
  }

  .hero-body {
    padding: var(--space-2xl);
  }

  .section {
    padding: var(--space-3xl) 0;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Reduced Motion
   ───────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Print Styles
   ───────────────────────────────────────────────────────────────────────────── */
@media print {
  body {
    background: white;
    color: black;
  }

  .header,
  .footer,
  .btn {
    display: none;
  }
}
