/* Concept photography for the home page and shared footer. Uses Phase 2 tokens. */
.hero--photo {
  position: relative;
  min-height: 40rem;
  overflow: hidden;
  padding: 0;
  background: var(--color-canvas);
}

.hero--photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(247 245 239 / 97%) 0%, rgb(247 245 239 / 86%) 30%, rgb(247 245 239 / 34%) 53%, transparent 76%);
  content: "";
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero__image-note {
  position: absolute;
  right: var(--page-gutter);
  bottom: var(--space-4);
  z-index: 2;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 88%);
  color: var(--color-text);
  font-size: var(--font-size-xs);
}

.hero--photo .hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 40rem;
  align-items: center;
  padding-block: var(--space-8);
}

.hero--photo .hero__copy {
  max-width: 39rem;
}

.hero--photo .hero__heading {
  max-width: none;
  font-size: clamp(2.3rem, 1.5rem + 2.2vw, 3.75rem);
}

.hero--photo .hero__copy .lead {
  max-width: 30rem;
  color: var(--color-text);
}

.hero--photo .button--secondary {
  background: rgb(255 255 255 / 76%);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-block-start: var(--space-7);
}

.mission-card {
  min-width: 0;
  overflow: hidden;
  border: var(--border-default);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.mission-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-blue);
}

.mission-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-card__title {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-serif);
  font-size: var(--font-size-lead);
  font-weight: 700;
}

.concept-note {
  margin-block: var(--space-3) 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

.home-cycle {
  margin-block-start: var(--section-space);
  padding: clamp(var(--space-5), 5vw, var(--space-8));
  border-radius: var(--radius-lg);
  background: var(--color-surface-blue);
}

.home-cycle .section-title {
  text-align: center;
}

.home-cycle .section-title__description {
  margin-inline: auto;
}

.cycle-diagram {
  position: relative;
  max-width: 62rem;
  margin-inline: auto;
}

.cycle-diagram__center {
  position: relative;
  z-index: 1;
  width: min(68vw, 16rem);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 0.5rem solid var(--color-surface);
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.cycle-diagram__center::after {
  position: absolute;
  right: -0.45rem;
  bottom: -0.65rem;
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-gold);
  content: "↻";
  font-size: 1.8rem;
  line-height: 1;
}

.cycle-diagram__image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.cycle-diagram__steps {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

.cycle-diagram__steps li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 3.75rem;
  padding: var(--space-3) var(--space-4);
  border: var(--border-default);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.cycle-diagram__steps li span {
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-weight: 700;
}

.cycle-diagram__steps li strong {
  font-size: var(--font-size-sm);
}

.cycle-diagram__steps li:not(:last-child)::after {
  margin-inline-start: auto;
  color: var(--color-gold);
  content: "↓";
}

.future-panel {
  position: relative;
  display: flex;
  min-height: 26rem;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  margin-block-start: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-surface-blue);
}

.future-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 20%, rgb(247 245 239 / 25%) 48%, rgb(247 245 239 / 94%) 66%, var(--color-canvas) 100%);
  content: "";
  pointer-events: none;
}

.future-panel__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.future-panel__copy {
  position: relative;
  z-index: 1;
  width: 43%;
  padding: var(--space-6);
}

.future-panel__copy h3 {
  margin-block-end: var(--space-4);
  color: var(--color-primary-hover);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1rem + 1.2vw, 2.4rem);
  line-height: 1.55;
}

.future-panel__copy p:not(.eyebrow) {
  color: var(--color-text);
}

.business-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.business-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-blue);
}

.business-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-card__body {
  padding: var(--space-5);
}

.business-card__number {
  margin-block-end: var(--space-3);
}

.business-card__catch {
  color: var(--color-primary);
  font-weight: 700;
}

.business-card__description {
  font-size: var(--font-size-sm);
}

.site-footer {
  padding-block: 0 var(--space-5);
}

.site-footer__landscape {
  position: relative;
  height: clamp(8rem, 18vw, 15rem);
  overflow: hidden;
  background: var(--color-surface-blue);
}

.site-footer__landscape::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 12%, rgb(23 58 45 / 20%) 63%, var(--color-primary-hover) 100%);
  content: "";
}

.site-footer__landscape-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.site-footer__inner {
  padding-block-start: var(--space-7);
}

@media (min-width: 48rem) {
  .cycle-diagram {
    min-height: 31rem;
  }

  .cycle-diagram__center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(25vw, 17rem);
    transform: translate(-50%, -50%);
  }

  .cycle-diagram__steps {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: var(--space-3) min(31vw, 20rem);
    min-height: 31rem;
    margin: 0;
  }

  .cycle-diagram__steps li:nth-child(1) { grid-area: 1 / 1; }
  .cycle-diagram__steps li:nth-child(2) { grid-area: 2 / 1; }
  .cycle-diagram__steps li:nth-child(3) { grid-area: 3 / 1; }
  .cycle-diagram__steps li:nth-child(4) { grid-area: 3 / 2; }
  .cycle-diagram__steps li:nth-child(5) { grid-area: 2 / 2; }
  .cycle-diagram__steps li:nth-child(6) { grid-area: 1 / 2; }

  .cycle-diagram__steps li:nth-child(3)::after { content: "→"; }
  .cycle-diagram__steps li:nth-child(4)::after,
  .cycle-diagram__steps li:nth-child(5)::after { content: "↑"; }
}

@media (min-width: 70rem) {
  .mission-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) and (max-width: 79.99rem) {
  .hero--photo {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .hero--photo::after {
    display: none;
  }

  .hero__media {
    position: relative;
    aspect-ratio: 1916 / 821;
  }

  .hero__image {
    object-position: center;
  }

  .hero--photo .hero__inner {
    display: block;
    min-height: 0;
    padding-block: var(--space-6) var(--space-7);
  }
}

@media (max-width: 79.99rem) {
  .hero__image-note {
    right: auto;
    left: var(--space-3);
  }
}

@media (max-width: 47.99rem) {
  .hero--photo {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .hero--photo::after {
    display: none;
  }

  .hero__media {
    position: relative;
    aspect-ratio: 8 / 5;
  }

  .hero__image {
    object-position: 68% center;
  }

  .hero--photo .hero__inner {
    display: block;
    min-height: 0;
    padding-block: var(--space-6) var(--space-7);
  }

  .hero__image-note {
    bottom: var(--space-3);
  }

  .future-panel {
    display: block;
    min-height: 0;
  }

  .future-panel::after {
    display: none;
  }

  .future-panel__image {
    position: static;
    aspect-ratio: 8 / 5;
    object-position: 34% center;
  }

  .future-panel__copy {
    width: auto;
    padding: var(--space-5);
    background: var(--color-canvas);
  }
}

@media (max-width: 23rem) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
}
