/*
 * About Preview — homepage editorial layout
 * Cloud LEFT (~70%), text RIGHT. SVG clip blob; images rotate inside (main.js).
 */

.about-preview {
  overflow: hidden;
  position: relative;
  background: linear-gradient(165deg, #faf8f5 0%, #f3ede6 45%, #ebe4db 100%);
  border-top: 1px solid rgba(47, 47, 47, 0.06);
  border-bottom: 1px solid rgba(47, 47, 47, 0.06);
}

/* Subtle grain (CSS-only, no image) */
.about-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.about-preview-inner {
  display: grid;
  grid-template-columns: 70fr 30fr;
  align-items: center;
  min-height: clamp(520px, 58vw, 720px);
  position: relative;
  z-index: 1;
}

/* --- Cloud zone --- */
.about-cloud-zone {
  position: relative;
  min-height: clamp(400px, 46vw, 620px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* No border-radius: outer box is rectangular; visible silhouette is the SVG clip (cloud) only */
.about-cloud-svg-wrap {
  position: absolute;
  left: -32%;
  top: 50%;
  transform: translateY(-50%);
  width: 108%;
  max-width: min(99vw, 920px);
  aspect-ratio: 16 / 10;
  min-height: 500px;
  max-height: 720px;
  filter: drop-shadow(14px 28px 40px rgba(47, 47, 47, 0.14))
    drop-shadow(0 6px 20px rgba(178, 42, 31, 0.1));
}

.about-cloud-svg {
  display: block;
  width: 100%;
  height: 100%;
  /* cover: fill the wrap with no letterboxing around the SVG (slice inside viewBox handles photos) */
  object-fit: cover;
}

.about-cloud-svg .about-cloud-img {
  transition: opacity 0.5s ease;
}

.about-cloud-svg .about-cloud-img-next {
  opacity: 0;
}

.about-cloud-svg .about-cloud-img-current {
  opacity: 1;
}

.about-cloud-svg .about-cloud-flash {
  opacity: 0;
  transition: opacity 0.12s ease-out;
}

.about-cloud-svg .about-cloud-flash.is-flashing {
  opacity: 0.72;
}

/* --- Text zone --- */
.about-text-zone {
  padding: clamp(20px, 3.5vw, 44px) 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Nudge text column toward the cloud (desktop/tablet); reset on mobile */
  margin-left: clamp(-12px, -1.5vw, -4px);
}

.about-text-container {
  width: 100%;
  max-width: 100%;
  /* Minimal left padding — sit closer to the cloud column */
  padding-left: clamp(0px, 0.5vw, 8px);
  padding-right: clamp(8px, 1.75vw, 16px);
}

.about-text {
  max-width: min(31rem, 100%);
}

.about-eyebrow {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-red, #b22a1f);
  margin: 0 0 0.75rem;
  border-left: 3px solid var(--color-accent-red, #b22a1f);
  padding-left: 0.75rem;
}

.about-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 600;
  color: var(--color-dark-gray, #2f2f2f);
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.about-lead {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.0625rem);
  font-weight: 500;
  color: #3a3a3a;
  line-height: 1.68;
  margin: 0 0 0.875rem;
}

.about-description {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9125rem;
  color: #555;
  line-height: 1.72;
  margin: 0 0 1.25rem;
}

.about-highlights {
  list-style: none;
  margin: 0 0 1.875rem;
  padding: 1.125rem 1.25rem;
  display: grid;
  gap: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(47, 47, 47, 0.08);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.about-highlight-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.875rem;
  align-items: start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(47, 47, 47, 0.07);
}

.about-highlight-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-highlight-item:first-child {
  padding-top: 0;
}

.about-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  color: var(--color-accent-red, #b22a1f);
  background: rgba(178, 42, 31, 0.08);
  border-radius: 10px;
}

.about-highlight-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.about-highlight-text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.828125rem;
  line-height: 1.58;
  color: #444;
}

.about-highlight-text strong {
  font-weight: 600;
  color: var(--color-dark-gray, #2f2f2f);
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem 1.125rem;
  margin-top: 0.125rem;
}

.about-cta-primary.btn {
  padding: 0.8rem 1.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
}

.about-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-dark-gray, #2f2f2f);
  background: transparent;
  border: 2px solid rgba(47, 47, 47, 0.25);
  border-radius: 6px;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.about-cta-secondary:hover {
  border-color: var(--color-accent-red, #b22a1f);
  color: var(--color-accent-red, #b22a1f);
  background: rgba(178, 42, 31, 0.04);
}

@media (max-width: 1024px) {
  .about-preview-inner {
    min-height: clamp(480px, 52vw, 660px);
  }

  .about-cloud-zone {
    min-height: clamp(380px, 44vw, 560px);
  }

  .about-cloud-svg-wrap {
    left: -16%;
    width: 98%;
    max-width: min(96vw, 720px);
    min-height: 420px;
    max-height: 580px;
  }

  .about-text-zone {
    margin-left: clamp(-10px, -1.2vw, -3px);
  }

  .about-text-container {
    padding-left: clamp(0px, 0.8vw, 10px);
    padding-right: 16px;
  }

  .about-text {
    max-width: min(32rem, 100%);
  }
}

@media (max-width: 768px) {
  .about-preview-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 2.25rem;
    min-height: auto;
  }

  .about-text-zone {
    order: 1;
    padding: 0 0 0.5rem;
    justify-content: center;
    margin-left: 0;
  }

  .about-text-container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
  }

  .about-text {
    max-width: min(36rem, 100%);
    margin: 0 auto;
    text-align: center;
  }

  .about-eyebrow {
    display: inline-block;
    border-left: none;
    padding-left: 0;
    border-bottom: 3px solid var(--color-accent-red, #b22a1f);
    padding-bottom: 0.5rem;
    margin: 0 0 0.875rem;
  }

  .about-heading {
    margin-bottom: 1rem;
  }

  .about-highlights {
    text-align: left;
    padding: 1rem 1.125rem;
    margin-bottom: 1.75rem;
  }

  .about-cta-row {
    justify-content: center;
    margin-top: 0;
  }

  .about-cloud-zone {
    order: 2;
    min-height: 320px;
    justify-content: center;
  }

  .about-cloud-svg-wrap {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: min(92vw, 520px);
    margin: 0 auto;
    min-height: 320px;
    max-height: 460px;
  }
}

@media (max-width: 480px) {
  .about-cloud-svg-wrap {
    width: 100%;
    max-width: 100%;
    min-height: 280px;
    max-height: 400px;
  }

  .about-text-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .about-cta-primary.btn,
  .about-cta-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Reduced motion: show content without waiting for JS */
@media (prefers-reduced-motion: reduce) {
  .about-cloud-svg .about-cloud-img {
    transition: none;
  }
}
