/* Components for Our Story, Our Location and Our Process (PLAN 5.2 and 5.3). Not loaded on the homepage. */

/* ---------- Type scale ---------- */
.v2-tagline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--peach);
}
.v2-h1 {
  max-width: 1000px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.1;
  color: #fff;
}
.v2-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.12;
  color: var(--peach);
}
.v2-lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.4;
  color: var(--text);
}
.v2-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ---------- Hero ---------- */
.v2-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 132px 24px 96px;
  text-align: center;
}
.v2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(3,3,3,0.55);
}
.v2-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.v2-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
}
.v2-hero__content .v2-h1 { margin-top: 48px; }
.v2-hero__text {
  max-width: 593px;
  margin-top: 24px;
}

/* ---------- Statement ---------- */
.v2-statement {
  padding: 120px 24px;
}
.v2-statement__inner {
  max-width: 1024px;
  margin: 0 auto;
  text-align: left;
}
.v2-statement__inner > * + * { margin-top: 24px; }

/* ---------- Diamond divider (Story only) ---------- */
.v2-divider {
  position: relative;
  width: min(800px, calc(100% - 48px));
  height: 7px;
  margin: 0 auto 80px;
}
.v2-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 1px;
  background: var(--line);
}
.v2-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  background: var(--peach);
  transform: rotate(45deg);
}

/* ---------- Split (markup order: media, then text) ---------- */
.v2-split {
  display: grid;
  column-gap: 48px;
  align-items: center;
}
.v2-split__media {
  height: min(700px, 80vh);
}
.v2-split__text > * + * { margin-top: 24px; }
.v2-split + .v2-split { margin-top: 112px; }
.v2-split--img-left-narrow { grid-template-columns: 39fr 58fr; }
.v2-split--img-left-wide { grid-template-columns: 57fr 38fr; }
.v2-split--img-left-narrow .v2-split__text,
.v2-split--img-left-wide .v2-split__text { padding-right: 40px; }
.v2-split--img-right-wide { grid-template-columns: 38fr 57fr; }
.v2-split--img-right-wide .v2-split__text { order: 1; padding-left: 40px; }
.v2-split--img-right-wide .v2-split__media { order: 2; }

/* ---------- Checklist ---------- */
.v2-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}
.v2-checklist li {
  position: relative;
  padding-left: 26px;
}
.v2-checklist li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: calc(0.8em - 3.5px);
  width: 7px;
  height: 7px;
  background: var(--peach);
  transform: rotate(45deg);
}

/* ---------- Closing CTA ---------- */
.v2-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 642px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}
.v2-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(3,3,3,0.8), rgba(3,3,3,0.55));
}
.v2-cta__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.v2-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
}
.v2-cta .v2-h2 { color: #fff; }
.v2-cta__content .v2-body { margin-top: 20px; }
.v2-cta__info {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  font-style: normal;
  color: var(--text-soft);
}
.v2-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* ---------- Carousel slot (site.js moves .is-active) ----------
   The incoming photo fades in above the outgoing one, which stays opaque underneath,
   so the hero never dips toward black mid-fade. Each photo drifts slowly while shown. */
.slot--carousel > img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.4s cubic-bezier(0.45, 0, 0.55, 1);
}
.slot--carousel > img.is-leaving {
  opacity: 1;
  z-index: 0;
  transition: none;
  animation: slot-drift 12s linear forwards;
}
.slot--carousel > img.is-active {
  opacity: 1;
  z-index: 1;
  animation: slot-drift 12s linear forwards;
}
@keyframes slot-drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.v2-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.v2-hero__dots button {
  position: relative;
  width: 32px;
  height: 24px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.v2-hero__dots button::before {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1px;
  background: rgba(255,251,235,0.35);
  transition: background 1.2s ease;
}
.v2-hero__dots button[aria-current="true"]::before { background: var(--peach); }
.v2-hero__dots button:focus-visible { outline: 1px solid var(--peach); outline-offset: 2px; }

/* Slot labels over full-bleed backgrounds sit in the lower right, clear of the copy. */
.v2-hero__media .slot__label,
.v2-cta__media .slot__label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: calc(100% - 48px);
  padding: 0;
  text-align: right;
}
/* Below 768 the label wraps to 2 to 4 lines; an empty slot reserves room for it under the copy. */
@media (max-width: 767px) {
  .v2-hero:has(> .v2-hero__media > .slot > .slot__label),
  .v2-cta:has(> .v2-cta__media > .slot > .slot__label) { padding-bottom: 120px; }
}

@media (max-width: 1099px) {
  .v2-hero { padding-top: 112px; }
}

@media (max-width: 767px) {
  .v2-body { font-size: 16px; }
  .v2-hero { min-height: 90svh; padding: 104px 24px 72px; }
  .v2-statement { padding: 80px 24px; }
  .v2-split {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .v2-split .v2-split__media { order: -1; height: 320px; }
  .v2-split .v2-split__text { order: 0; padding: 0 24px; }
  .v2-split + .v2-split { margin-top: 72px; }
  .v2-cta { min-height: 480px; }
}

@media (max-width: 767px) {
  .v2-hero__dots { bottom: 20px; }
}
