/* ==========================================================================
   About & Contact page styles
   ========================================================================== */

.page-shell {
  margin-top: 0;
  background: var(--white);
}

.page-banner {
  position: relative;
  display: grid;
  aspect-ratio: 1513 / 700;
  min-height: 0;
  padding-top: var(--header-h);
  overflow: hidden;
  place-items: center;
}

.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.38) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.page-banner-content {
  position: absolute;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 0 20px;
  color: var(--white);
  text-align: center;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--pill);
  background: rgba(15, 23, 42, 0.28);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  backdrop-filter: blur(6px);
}

.page-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus-visible {
  color: var(--white);
}

.page-breadcrumb span[aria-current] {
  color: var(--white);
  font-weight: 700;
}

.page-banner h1 {
  margin-top: 0;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.36);
}

.page-banner p {
  max-width: 620px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.page-eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-muted {
  background: #f6f8fb;
}

.container-narrow {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-head {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.page-head h2,
.page-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
}

.page-head p:not(.page-eyebrow),
.page-copy p:not(.page-eyebrow) {
  margin-top: 14px;
  color: var(--gray);
}

.page-head--left {
  margin: 0 0 32px;
  text-align: left;
}

/* ---------- About ---------- */
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 44px;
  align-items: center;
}

.about-story-grid .page-copy p {
  font-size: 1.03rem;
  line-height: 1.75;
}

.about-visual {
  position: relative;
}

.about-visual > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.about-quote-card {
  position: relative;
  width: min(380px, calc(100% - 40px));
  margin: -58px auto 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(8px);
}

.about-quote-card blockquote {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
}

.about-quote-card figcaption {
  margin-top: 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 54px 0 0;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.stat-strip div {
  padding: 10px 12px;
  text-align: center;
}

.stat-strip div + div {
  border-left: 1px solid var(--border);
}

.stat-strip dd {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
}

.stat-strip dt {
  margin-top: 10px;
  color: var(--gray);
  font-size: 0.9rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  padding: 26px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(44, 114, 219, 0.24);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.value-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #eef4fd;
  color: var(--blue);
}

.value-card h3 {
  margin-top: 18px;
  font-size: 1.1rem;
  font-weight: 800;
}

.value-card p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 0.94rem;
  line-height: 1.65;
}

.about-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.timeline-item > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #eef4fd;
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 800;
}

.timeline-item h3 {
  font-size: 1.12rem;
  font-weight: 800;
}

.timeline-item p {
  margin-top: 8px;
  color: var(--gray);
}

.showroom-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.showroom-intro h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
}

.showroom-intro p:not(.page-eyebrow) {
  max-width: 580px;
  margin-top: 12px;
  color: var(--gray);
}

.showroom-tabs {
  display: inline-flex;
  gap: 6px;
  margin-top: 24px;
  padding: 5px;
  border-radius: var(--pill);
  background: var(--light);
}

.showroom-tab {
  padding: 10px 22px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: var(--gray);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.showroom-tab:hover,
.showroom-tab:focus-visible {
  color: var(--blue);
}

.showroom-tab.active {
  background: var(--blue);
  color: var(--white);
}

.showroom-panel {
  margin-top: 24px;
  animation: page-panel-in 0.28s var(--ease);
}

.showroom-panel[hidden] {
  display: none;
}

.showroom-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 800;
}

.showroom-panel address {
  color: var(--text);
  font-size: 1.08rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.6;
}

.showroom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contact-location .showroom-actions a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.contact-location .showroom-actions a:hover,
.contact-location .showroom-actions a:focus-visible {
  text-decoration: underline;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.accordion-item:has(.accordion-trigger[aria-expanded="true"]) {
  border-color: rgba(44, 114, 219, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 62px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.accordion-trigger:focus-visible {
  outline: 3px solid rgba(44, 114, 219, 0.35);
  outline-offset: -3px;
}

.accordion-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef4fd;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  opacity: 0;
}

.accordion-panel {
  padding: 0 22px 22px;
  animation: page-panel-in 0.24s var(--ease);
}

.accordion-panel[hidden] {
  display: none;
}

.accordion-panel p {
  margin: 0;
  color: var(--gray);
}

/* ---------- Contact ---------- */
.contact-intro {
  padding-bottom: 34px;
}

.contact-intro .page-copy {
  padding: 28px;
  border-left: 3px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: #fbfcfe;
}

.contact-intro .page-copy p:last-child {
  margin-bottom: 0;
}

.contact-main-section {
  background: #f6f8fb;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.contact-info h2,
.contact-form-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
}

.contact-info {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.contact-info .showroom-tabs {
  width: 100%;
}

.contact-info .showroom-tab {
  flex: 1;
}

.contact-location address {
  font-size: 1rem;
  font-weight: 650;
}

.contact-location .showroom-actions {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 18px;
}

.hours-panel {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hours-panel h3 {
  margin-bottom: 14px;
  font-size: 1.1rem;
  font-weight: 800;
}

.hours-panel li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--gray);
  font-size: 0.94rem;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hours-panel li.today {
  background: #eef4fd;
  color: var(--blue);
  font-weight: 800;
}

.contact-form-card {
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.09);
}

.contact-form {
  margin-top: 26px;
}

.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-input);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 114, 219, 0.18);
}

.contact-type-group {
  margin: 20px 0;
  border: 0;
}

.contact-type-group legend {
  margin-bottom: 10px;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-type-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.contact-type-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact-type-option span {
  display: grid;
  width: 100%;
  min-height: 46px;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  background: var(--white);
  color: var(--gray);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.contact-type-option input:checked + span {
  border-color: var(--blue);
  background: #eef4fd;
  color: var(--blue);
}

.contact-type-option input:focus-visible + span {
  outline: 3px solid rgba(44, 114, 219, 0.35);
  outline-offset: 2px;
}

.contact-honey {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.form-error {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.9rem;
  text-align: center;
}

.form-error.show {
  display: block;
}

.submit-loading .submit-label {
  opacity: 0.72;
}

/* ---------- Motion ---------- */
body.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--delay, 0ms);
}

body.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes page-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.js .reveal,
  .showroom-panel,
  .accordion-panel {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .about-story-grid,
  .about-process-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  .page-banner {
    aspect-ratio: auto;
    min-height: calc(var(--header-h) + 240px);
  }

  .page-banner-content {
    padding: 0 18px;
  }

  .page-banner h1 {
    font-size: 1.75rem;
  }

  .page-banner p {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .page-breadcrumb {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .page-head {
    margin-bottom: 24px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px;
  }

  .stat-strip div {
    padding: 18px 8px;
  }

  .stat-strip div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .about-quote-card {
    width: 100%;
    margin-top: -34px;
  }

  .showroom-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contact-type-options {
    grid-template-columns: 1fr;
  }

  .contact-honey {
    display: none;
  }
}
