.edge-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 8px 12px; background: #efeae1; }
.edge-options a { font-size: 13px; font-weight: 800; padding: 8px 12px; text-decoration: none; }
.edge-options a[aria-current] { background: var(--green); color: white; }
.edge-options a:hover { text-decoration: underline; }
.edge-hero { position: relative; isolation: isolate; width: 100%; overflow: hidden; background: #eee8df; }
.edge-images { width: 100%; }
.edge-images figure { margin: 0; position: relative; }
.edge-images img { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.edge-grown img { object-position: 43% 26%; }
.edge-images figcaption { position: absolute; bottom: 12px; right: 14px; color: white; background: #17211de6; padding: 3px 10px; font-size: 12px; }
.edge-young { display: none; }
.edge-copy { padding: clamp(22px, 4vw, 65px) clamp(18px, 5vw, 80px); }
.edge-copy h1 { font-size: clamp(30px, 4.5vw, 68px); }
.edge-copy .lead { max-width: 27em; }
.edge-story { display: inline-flex; align-items: center; min-height: 46px; margin: 16px 0 0 14px; font-weight: 800; text-underline-offset: 5px; }
[data-edge="wide"] .edge-grown { height: clamp(350px, 55vw, 680px); }
[data-edge="wide"] .edge-copy { background: var(--white); }

[data-edge="full"] .edge-grown { height: 85svh; min-height: 520px; max-height: 1000px; }
[data-edge="full"] .edge-copy { position: absolute; inset: auto 0 0; color: white; padding-top: 90px; background: linear-gradient(transparent, #17211deb); }
[data-edge="full"] .edge-copy .eyebrow { color: #f4e4cf; }
[data-edge="full"] .edge-copy .button { background: var(--white); color: var(--green); }
[data-edge="full"] .edge-grown figcaption { top: 12px; bottom: auto; }

[data-edge="caption"] .edge-grown { height: clamp(350px, 59vw, 760px); }
[data-edge="caption"] .edge-copy { text-align: center; background: #e6ded3; }
[data-edge="caption"] .edge-copy .lead { margin-inline: auto; }

[data-edge="pair"] .edge-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-edge="pair"] .edge-young { display: block; }
[data-edge="pair"] .edge-images figure { height: clamp(270px, 47vw, 650px); min-width: 0; }
[data-edge="pair"] .edge-young img { object-position: 60% center; }
[data-edge="pair"] .edge-copy { background: var(--green); color: var(--white); }
[data-edge="pair"] .edge-copy .eyebrow { color: #e7ceb6; }
[data-edge="pair"] .edge-copy .button { color: var(--green); background: var(--white); }

[data-edge="poster"] .edge-grown { height: clamp(520px, 76svh, 900px); }
[data-edge="poster"] .edge-copy { position: absolute; inset: 0; background: linear-gradient(180deg, #fffdf9f5, #fffdf9d9 17%, transparent 42%); }
[data-edge="poster"] .edge-copy h1 { font-size: clamp(32px, 5.8vw, 86px); }
[data-edge="poster"] .edge-copy .lead { display: none; }
@media (min-width: 850px) {
  [data-edge="wide"] .edge-grown { height: min(72svh, 800px); min-height: 560px; }
  [data-edge="wide"] .edge-grown img { object-position: 43% 26%; }
  [data-edge="wide"] .edge-copy { position: absolute; inset: 0 0 0 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: linear-gradient(90deg, #fffdf9f5, #fffdf9e3 28%, transparent 57%); }
  [data-edge="wide"] .edge-copy h1 { max-width: 9em; }
  [data-edge="wide"] .edge-copy .lead { max-width: 23em; }
}
@media (prefers-reduced-motion: no-preference) {
  .edge-copy h1 { animation: edge-title 650ms ease-out both; }
  @keyframes edge-title { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* Larger title on the adopted full-photo homepage. */
[data-edge="full"] .edge-copy h1 {
  font-size: clamp(40px, 6.2vw, 92px);
  line-height: 1.2;
}