/* About & Contact — shared page layout */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-section {
  padding-block: 2.5rem;
}

@media (min-width: 768px) {
  .page-section {
    padding-block: 3.5rem;
  }
}

.page-section--tight {
  padding-block: 2rem;
}

@media (min-width: 768px) {
  .page-section--tight {
    padding-block: 2.5rem;
  }
}

.page-section-head {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.page-section-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0.5rem 0 0.75rem;
}

@media (min-width: 768px) {
  .page-section-head h2 {
    font-size: 1.75rem;
  }
}

.page-section-head p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---- Hero ---- */
.page-hero {
  position: relative;
  background: linear-gradient(145deg, var(--color-primary-light) 0%, var(--color-accent-light) 55%, #fff 100%);
  overflow: hidden;
}

.page-hero--photo {
  background: #1f2937 center / cover no-repeat;
  background-image: var(--page-hero-image);
  min-height: 14rem;
}

@media (min-width: 768px) {
  .page-hero--photo {
    min-height: 17.5rem;
  }
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 2rem 2.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .page-hero__inner {
    padding-block: 2.75rem 3rem;
  }
}

.page-hero--photo .page-hero__inner {
  color: #fff;
}

.page-hero--contact .page-hero__inner {
  padding-bottom: 2rem;
}

.page-hero__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.page-hero--photo .page-hero__eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.2;
}

.page-hero--photo .page-hero__title {
  color: #fff;
}

.page-hero__lead {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 32rem;
  margin: 0.75rem auto 0;
}

.page-hero--photo .page-hero__lead {
  color: rgba(255, 255, 255, 0.88);
}

/* Breadcrumb */
.page-hero .store-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.page-hero--photo .store-breadcrumb ol {
  color: rgba(255, 255, 255, 0.75);
}

.store-breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-inline: 0.375rem;
  opacity: 0.6;
}

.store-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.store-breadcrumb a:hover {
  color: var(--color-primary);
}

.page-hero--photo .store-breadcrumb a:hover {
  color: #fff;
}

/* ---- Stats bar (About) ---- */
.page-stats {
  margin-top: -1.25rem;
  position: relative;
  z-index: 2;
  padding-bottom: 0.5rem;
}

.page-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .page-stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-stats__item {
  background: var(--color-surface);
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.page-stats__value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.page-stats__label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* ---- About story ---- */
.about-story {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-story {
    grid-template-columns: 1fr minmax(16rem, 42%);
    gap: 2.5rem;
  }

  .about-story__content {
    order: 1;
  }

  .about-story__media {
    order: 2;
  }
}

@media (min-width: 992px) {
  .about-story {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.about-story__heading {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0.5rem 0 1rem;
  line-height: 1.25;
}

.about-story__prose {
  font-size: 1rem;
  line-height: 1.75;
}

.about-story__frame {
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.about-story__frame img,
.about-story__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
}

.about-story__frame img {
  object-fit: cover;
}

.about-story__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 16rem;
  background: linear-gradient(145deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  padding: 1.5rem;
}

@media (min-width: 992px) {
  .about-story__frame img,
  .about-story__placeholder {
    aspect-ratio: 1;
    min-height: auto;
  }
}

/* Values grid */
.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .about-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .about-values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.about-values__card {
  background: var(--color-surface);
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-values__card:hover {
  border-color: color-mix(in srgb, var(--color-primary) 25%, #f3f4f6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.about-values__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-values__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.about-values__card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* Mission */
.about-mission.page-section {
  padding-block: 2rem;
}

@media (min-width: 768px) {
  .about-mission.page-section {
    padding-block: 2.5rem;
  }
}

.about-mission__inner {
  max-width: 48rem;
}

.about-mission__card {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 80%, #1e3a5f) 100%);
  border-radius: 1.25rem;
  padding: 2.5rem 1.75rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-mission__card {
    padding: 3rem 2.5rem;
  }
}

.about-mission__mark {
  position: absolute;
  top: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.15;
  pointer-events: none;
}

.about-mission__quote {
  position: relative;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.65;
  margin: 0;
  border: none;
  padding: 0;
  color: #fff;
}

/* prose-cms sets muted body color; keep mission copy readable on primary gradient */
.about-mission__card .prose-cms,
.about-mission__card .prose-cms p,
.about-mission__card .prose-cms li {
  color: #fff;
}

.about-mission__card .prose-cms strong {
  color: #fff;
}

.about-mission__card .prose-cms a {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .about-mission__quote {
    font-size: 1.375rem;
  }
}

.about-mission__attrib {
  position: relative;
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  opacity: 0.85;
}

/* CTA */
.page-cta {
  background: var(--color-primary);
  padding-block: 2.5rem;
}

.page-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .page-cta__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 2rem;
  }
}

.page-cta__copy h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.page-cta__copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  margin: 0.5rem 0 0;
  max-width: 28rem;
}

.page-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .page-cta__actions {
    flex-direction: row;
  }
}

.page-cta__btn {
  min-height: 3rem;
  padding-inline: 1.5rem;
  white-space: nowrap;
}

.page-cta__btn--solid {
  background: #fff !important;
  color: var(--color-primary) !important;
}

.page-cta__btn--ghost {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
}

/* ---- Contact ---- */
.contact-quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.contact-quick__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-surface);
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-quick__pill:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-quick__pill--wa {
  color: #128c7e;
  border-color: color-mix(in srgb, #25d366 35%, #e5e7eb);
}

.contact-quick__pill--wa:hover {
  border-color: #25d366;
}

.contact-main {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .contact-main {
    padding-bottom: 4.5rem;
  }
}

/* Breathing room above footer on static pages */
main:has(.contact-main) + .store-footer,
main:has(.page-cta) + .store-footer {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem;
  }
}

.contact-panel {
  background: var(--color-surface);
  border: 1px solid #f3f4f6;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .contact-panel {
    padding: 2rem;
  }
}

.contact-panel__head h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-text);
}

.contact-panel__head p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0.375rem 0 1.5rem;
  line-height: 1.5;
}

.contact-panel--success {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.contact-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-panel--success h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.contact-panel--success p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

.contact-form__row {
  display: grid;
  gap: 0;
}

@media (min-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
  }
}

.store-field {
  margin-bottom: 1rem;
}

.store-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.375rem;
}

.store-required {
  color: #ef4444;
}

.store-optional {
  font-weight: 400;
  color: var(--color-muted);
}

.store-field input,
.store-field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-surface);
}

.store-field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.store-field input:focus,
.store-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.store-field input.is-error,
.store-field textarea.is-error {
  border-color: #ef4444;
}

.store-field-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
}

.contact-form__submit {
  width: 100%;
  min-height: 3rem;
}

@media (min-width: 640px) {
  .contact-form__submit {
    width: auto;
    min-width: 11rem;
  }
}

.contact-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.store-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: page-spin 0.6s linear infinite;
}

@keyframes page-spin {
  to { transform: rotate(360deg); }
}

/* FAQ */
.contact-faq {
  margin-top: 2rem;
}

.contact-faq__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}

.contact-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-faq__item {
  background: var(--color-surface);
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  overflow: hidden;
}

.contact-faq__item summary {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.contact-faq__item summary::-webkit-details-marker {
  display: none;
}

.contact-faq__item summary::after {
  content: '+';
  float: right;
  font-weight: 400;
  color: var(--color-muted);
}

.contact-faq__item[open] summary::after {
  content: '−';
}

.contact-faq__item p {
  padding: 0 1rem 1rem;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Aside */
.contact-grid__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 992px) {
  .contact-grid__aside {
    position: sticky;
    top: 6rem;
  }
}

.contact-aside-card,
.contact-wa-card,
.contact-hours-card {
  background: var(--color-surface);
  border: 1px solid #f3f4f6;
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.contact-aside-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.contact-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-aside-list__item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.contact-aside-list__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  color: var(--color-primary);
}

.contact-aside-list__item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.contact-aside-list__item p {
  font-size: 0.875rem;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

.contact-aside-list__item a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-aside-list__item a:hover {
  text-decoration: underline;
}

.contact-aside-list__hint {
  font-size: 0.8125rem !important;
  color: var(--color-muted) !important;
  margin-top: 0.25rem !important;
}

.contact-wa-card h3,
.contact-hours-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.375rem;
}

.contact-wa-card p,
.contact-hours-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

.contact-wa-card__btn {
  width: 100%;
  margin-top: 1rem;
  min-height: 2.75rem;
  background: #25d366 !important;
  color: #fff !important;
}

.contact-hours-card__tagline {
  margin-top: 0.75rem !important;
  padding-top: 0.75rem;
  border-top: 1px solid #f3f4f6;
  font-style: italic;
  color: var(--color-text) !important;
}

/* Map */
.contact-map {
  margin-top: 3rem;
  padding-bottom: 0.5rem;
}

.contact-map__head {
  margin-bottom: 1.25rem;
}

.contact-map__frame {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.contact-map__frame iframe {
  width: 100%;
  height: 16rem;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .contact-map__frame iframe {
    height: 22rem;
  }
}

[x-cloak] {
  display: none !important;
}
