/* index.html page layout (reserved site, Oct 14).
   Page layout only. Sharp edges only, no new colors (tokens are in sections.css), no em or en dash anywhere. */

/* Opening: the orbit frame fills the hero at every width; the earth sits right, the words left over the shade. */
#intro .d-he__photo img { object-position: 78% 50%; }
@media (max-width: 760px) {
  #intro > .d-he__photo { bottom: 0; }
  #intro .d-he__photo img { height: 100%; object-position: 72% 50%; }
  #intro::after { background: linear-gradient(to bottom, rgba(11,12,13,.45) 0, rgba(11,12,13,.2) 30%, rgba(11,12,13,.82) 55%, rgba(11,12,13,.94) 100%); }
}
@media (max-width: 760px) and (prefers-reduced-transparency: reduce) {
  #intro::after { background: linear-gradient(to bottom, rgba(11,12,13,.45) 0, rgba(11,12,13,.2) 30%, var(--night) 55%, var(--night) 100%); }
}

/* Our work: two named rows. */
#work h2 { max-width: 16ch; }
.pair { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; max-width: 1180px; }
.pair li { border-top: 1px solid var(--night-line); }
.pair a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; padding: 24px 0 28px; color: var(--night-text); text-decoration: none; }
.pair__name { font: 300 clamp(30px, 3vw, 46px)/1 var(--head); text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.pair__line { grid-column: 1; font: 400 18px/1.5 var(--body); color: var(--night-text); }
.pair a .ichthys-direction { grid-column: 2; grid-row: 1; width: 22px; height: 22px; align-self: center; }
.pair a:hover .pair__name { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

/* Contact block. */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px 72px; align-items: end; }
.reach { display: grid; gap: 22px; }
.reach .lede { margin: 0; }
.reach__email { display: grid; gap: 10px; padding: 20px 0; border-block: 1px solid var(--hairline); }
.reach__value { margin: 0; font: 400 clamp(22px, 2vw, 28px)/1.3 var(--head); color: var(--muted); }
.reach__place { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 500 14px/1.4 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.reach__place .ichthys-direction { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .contact-grid, .pair { grid-template-columns: 1fr; }
}
