/* Original Hearts — Art Gallery Styles */

:root {
  --color-bg: #f2efe6;
  --color-bg-alt: #f0ebe3;
  --color-surface: #ffffff;
  --color-text: #2c2420;
  --color-text-muted: #6b5e56;
  --color-accent: #c45c4a;
  --color-accent-dark: #a34838;
  --color-accent-light: #e8a598;
  --color-border: #e5ddd4;
  --color-dark: #1a1512;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(44, 36, 32, 0.1);
  --shadow-lg: 0 16px 48px rgba(44, 36, 32, 0.12);

  --header-height: 64px;
  --container: 1140px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Typography */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.35rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.btn-secondary {
  background: var(--color-dark);
  color: white;
  border-color: var(--color-dark);
}

.btn-secondary:hover {
  background: #2c2420;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: white;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: white;
  color: var(--color-dark);
  border-color: white;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(242, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo--header .logo-img {
  display: none;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  line-height: 1.2;
}

.logo-img {
  display: block;
  height: auto;
  width: min(200px, 50vw);
  max-height: 80px;
  object-fit: contain;
}

.site-footer .logo-img {
  width: min(200px, 70vw);
  max-height: 72px;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-2xl);
  overflow: hidden;
}

.page-home .hero {
  min-height: 36rem;
  padding-bottom: var(--space-xl);
}

.page-home .hero-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: var(--space-md) 0;
}

.page-home .hero-panel {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
}

.hero-layout {
  position: relative;
  z-index: 1;
}

.hero-brand {
  flex: 0 1 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 8px 24px rgba(44, 36, 32, 0.08));
}

.page-home .hero-content {
  flex: 1 1 48%;
  min-width: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #f2efe6;
  background-image:
    radial-gradient(ellipse 120% 80% at 20% 20%, rgba(245, 213, 204, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse 100% 70% at 85% 75%, rgba(232, 165, 152, 0.55) 0%, transparent 50%),
    linear-gradient(128deg, #faf8f5 0%, #f5d5cc 42%, #e8b4a8 100%);
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 0;
}

.page-home .hero-lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 36rem;
}

.page-home .hero-actions {
  justify-content: flex-start;
}

.page-home .hero-content h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  margin: 0;
  line-height: 1.1;
}

.page-home .hero-content .eyebrow {
  margin-bottom: 0.5rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: var(--space-md) 0 var(--space-lg);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

.page-hero {
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-lg);
  text-align: center;
}

.page-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: var(--space-md) auto 0;
}

/* Art Grid */
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.art-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.art-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.art-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.hover-zoom-wrap {
  cursor: zoom-in;
}

.hover-zoom-wrap img {
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.art-card-image-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.art-card-image-inner[src] {
  object-fit: contain;
  object-position: center;
}

.catalog-error {
  grid-column: 1 / -1;
  text-align: left;
  color: var(--color-text-muted);
  padding: var(--space-xl);
  max-width: 36rem;
  margin: 0 auto;
}

.catalog-error code {
  font-size: 0.9em;
  background: var(--color-bg-alt);
  padding: 0.1em 0.35em;
  border-radius: var(--radius-sm);
}

.catalog-error a {
  color: var(--color-accent);
}

.modal-image-inner {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--color-bg-alt);
}

.modal-image-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.modal-image-zoom-trigger .modal-image-inner {
  pointer-events: none;
}

.modal-zoom-hint {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(26, 21, 18, 0.55);
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(26, 21, 18, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.image-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-controls {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: #fff;
}

.image-lightbox-controls button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-controls button:hover {
  background: rgba(255, 255, 255, 0.28);
}

#zoom-level {
  min-width: 3.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.image-lightbox-stage {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.image-lightbox-stage img {
  max-width: min(96vw, 1200px);
  max-height: none;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.15s ease;
  cursor: grab;
}

.art-card:hover .art-card-image-inner:not(img) {
  transform: scale(1.05);
}

.art-card-body {
  padding: var(--space-md);
}

.art-card-type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.art-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.art-card-price {
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  text-align: center;
  padding: var(--space-lg);
}

.value-icon {
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.value-card h3 {
  margin-bottom: var(--space-xs);
}

.value-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Newsletter */
.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  background: var(--color-dark);
  color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.newsletter-copy h2 {
  margin-bottom: var(--space-xs);
}

.newsletter-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  flex: 1;
  min-width: 280px;
  max-width: 440px;
}

.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Shop */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.filter-group {
  display: flex;
  gap: var(--space-xs);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.shop-count {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 21, 18, 0.7);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.open .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--color-bg-alt);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-image {
  aspect-ratio: 4 / 5;
  min-height: 300px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-details {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--font-display);
  margin: var(--space-sm) 0;
}

.modal-desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.modal-meta {
  margin-bottom: var(--space-lg);
}

.modal-meta li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.modal-meta li:last-child {
  border-bottom: none;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--color-accent-light), var(--color-accent));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.about-values .values-grid {
  margin-top: var(--space-lg);
}

.about-values .value-icon {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}

/* Classes (Kimberly listings) */
.classes-status {
  margin: 0 0 var(--space-md);
}

.classes-list {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.classes-list--loading {
  min-height: 4rem;
}

.classes-loading,
.classes-empty,
.classes-error {
  margin: 0;
  color: var(--color-text-muted);
}

.classes-error {
  color: #b71c1c;
}

.class-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
}

.class-card h3 {
  margin: 0 0 var(--space-sm);
  font-size: 1.25rem;
}

.class-card h3 a {
  color: inherit;
  text-decoration: none;
}

.class-card h3 a:hover {
  color: var(--color-accent);
}

.class-card-excerpt {
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-line;
}

.class-card-actions {
  margin: 0;
}

.classes-source {
  margin: 0 0 var(--space-lg);
  font-size: 0.9rem;
}

.classes-footer-actions {
  margin-top: var(--space-md);
}

@media (min-width: 640px) {
  .classes-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* CTA Banner */
.cta-banner-inner {
  text-align: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.cta-banner-inner h2 {
  margin-bottom: var(--space-sm);
}

.cta-banner-inner p {
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-inline: auto;
}

.cta-banner .hero-actions {
  justify-content: center;
}

.cta-banner .btn-outline-light:hover {
  color: var(--color-accent);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card {
  background: var(--color-surface);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.contact-card a {
  display: block;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--color-accent);
}

.contact-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--color-surface);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(196, 92, 74, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--space-xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: var(--space-sm);
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.35rem;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .modal-image {
    max-height: 50vh;
  }
}

@media (max-width: 820px) {
  .page-home .hero-panel {
    flex-direction: column;
    max-width: 26rem;
    text-align: center;
  }

  .page-home .hero-brand,
  .page-home .hero-content {
    flex: none;
    width: 100%;
  }

  .page-home .hero-logo {
    max-width: 18rem;
  }

  .page-home .hero-content {
    text-align: center;
    align-items: center;
  }

  .page-home .hero-lead {
    margin-inline: auto;
  }

  .page-home .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-inner {
    text-align: center;
  }

  .newsletter-form {
    max-width: 100%;
  }
}
