/* ==========================================================================
   Landing page. Rhythm down the page:
   hero (huge type, then a full width annotated photograph) >
   now (thin navy band) > work (three big spreads, then a short list) >
   story (year by year register with photographs) >
   about (navy, two column) > contact (one giant email address)
   ========================================================================== */

/* --------------------------------------------------------- hero */

.hero .shell { padding-block: clamp(40px, 6vw, 88px) 0; }

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: var(--s-5) var(--s-8);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-side { padding-bottom: .4em; }

.hero-side .lede {
  font-size: 1.25rem;
  line-height: 1.45;
  margin-bottom: var(--s-4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* The photograph runs the full width of the shell. */
.hero .annotated .frame { aspect-ratio: 16 / 8.5; }

.hero .annotated .frame img { object-position: 50% 42%; }

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-3) var(--s-5);
  margin: var(--s-6) 0 0;
  padding-top: var(--s-4);
  border-top: 2px solid var(--ink);
}

.hero-strip > div { min-width: 0; }

.hero-strip dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-meta);
  color: var(--red);
  margin-bottom: 2px;
}

.hero-strip dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -.015em;
  line-height: 1.25;
}

/* The one moment: markers pop onto the photograph in order, once. */
@media (prefers-reduced-motion: no-preference) {
  .hero .mark { opacity: 0; animation: pin 420ms var(--ease) forwards; }
  .hero .mark:nth-child(1) { animation-delay: 500ms; }
  .hero .mark:nth-child(2) { animation-delay: 640ms; }
  .hero .mark:nth-child(3) { animation-delay: 780ms; }
  .hero .mark:nth-child(4) { animation-delay: 920ms; }
  .hero .mark:nth-child(5) { animation-delay: 1060ms; }
}

@keyframes pin {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.18); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* --------------------------------------------------------- now */

.now { margin-top: clamp(56px, 7vw, 104px); }

.now .shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--s-4) var(--s-7);
  align-items: start;
  padding-block: clamp(32px, 4vw, 56px);
}

.now h2 {
  font-size: 1.75rem;
  margin: 0;
}

.now h2 small {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: var(--t-meta);
  color: var(--on-navy-quiet);
  margin-top: var(--s-1);
  letter-spacing: 0;
}

.now ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4) var(--s-5);
}

.now li {
  padding-left: var(--s-3);
  border-left: 1px solid var(--navy-rule);
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--on-navy);
}

.now li b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 2px;
}

/* --------------------------------------------------------- section heads */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: var(--s-4) var(--s-8);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head h2 { margin: 0; max-width: 12ch; }

.section-head .note { padding-bottom: .5em; }

/* --------------------------------------------------------- work */

.work .shell { padding-block: clamp(72px, 9vw, 144px) 0; }

.spread {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s-5) clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--rule);
}

.spread:first-of-type { border-top: 0; padding-top: 0; }

.spread:nth-of-type(even) .spread-media { order: 2; }

.spread-media {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bone-2);
  line-height: 0;
  aspect-ratio: 4 / 3;
}

.spread-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-mid) var(--ease);
}

/* A spec plate stands in where there is no photograph yet. It says so. */
.spread-media.is-plate {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-4);
  padding: clamp(64px, 6vw, 88px) clamp(24px, 3.5vw, 48px) clamp(24px, 3vw, 40px);
  line-height: 1.4;
  aspect-ratio: auto;
  min-height: 100%;
}

.plate-spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3) var(--s-4);
  margin: 0;
}

.plate-spec dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-meta);
  color: var(--red-lift);
  margin-bottom: 2px;
}

.plate-spec dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, .9rem + .5vw, 1.25rem);
  letter-spacing: -.015em;
  line-height: 1.2;
  color: #fff;
}

.plate-note {
  margin: 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--navy-rule);
  font-size: var(--t-meta);
  color: var(--on-navy-quiet);
  max-width: none;
}

.spread-media .badge {
  position: absolute;
  left: var(--s-3);
  top: var(--s-3);
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-meta);
  line-height: 1.2;
  letter-spacing: -.005em;
}

.spread:hover .spread-media img { transform: scale(1.03); }

.spread-copy { min-width: 0; }

.spread-index {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "opsz" 96, "wdth" 78;
  font-size: clamp(4rem, 3rem + 5vw, 7.5rem);
  line-height: .85;
  letter-spacing: -.05em;
  color: var(--red);
  margin-bottom: var(--s-3);
}

.spread h3 {
  font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.75rem);
  margin-bottom: var(--s-3);
}

.spread h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.spread h3 a::after {
  /* whole spread is the target, without wrapping a block in an anchor */
  content: "";
  position: absolute;
  inset: 0;
}

.spread { position: relative; }

.spread:hover h3 a { color: var(--red); }

.spread .status {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-meta);
  color: var(--ink-2);
}

.spread .status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: var(--r-full);
  background: var(--red);
  flex: none;
}

.spread .status.is-quiet::before { background: var(--bone-3); border: 1px solid var(--ink-3); }

.spread p { margin-bottom: var(--s-4); }

.spread .tags { margin-bottom: var(--s-4); }

.spread .go {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.spread:hover .go { gap: var(--s-3); color: var(--red); }

/* The rest of the set, as a short list rather than three more cards. */
.more {
  list-style: none;
  margin: clamp(40px, 5vw, 72px) 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.more a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1.3fr) auto;
  align-items: baseline;
  gap: var(--s-2) var(--s-5);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: padding-left var(--t-fast) var(--ease);
}

.more a:hover { padding-left: var(--s-2); }

.more a:hover h3 { color: var(--red); }

.more .idx {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -.04em;
  color: var(--red);
  line-height: 1;
}

.more h3 {
  font-size: 1.5rem;
  margin: 0;
  transition: color var(--t-fast) var(--ease);
}

.more p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--ink-3);
}

.more .status {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-meta);
  color: var(--ink-2);
  white-space: nowrap;
}

/* --------------------------------------------------------- story */

.story .shell { padding-block: clamp(72px, 9vw, 144px) 0; }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.timeline > li {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 420px);
  gap: var(--s-3) var(--s-6);
  align-items: start;
  padding-block: clamp(28px, 3vw, 44px);
  border-bottom: 1px solid var(--rule);
}

.timeline > li.no-photo { grid-template-columns: 200px minmax(0, 1fr); }

.timeline time {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "opsz" 96, "wdth" 80;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--ink);
}

.timeline time small {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-meta);
  letter-spacing: 0;
  color: var(--red);
  margin-top: var(--s-2);
  font-variation-settings: "opsz" 12, "wdth" 100;
}

.timeline h3 { font-size: 1.5rem; margin-bottom: var(--s-2); }

.timeline p { font-size: 1.0625rem; color: var(--ink-2); }

.timeline .photo { align-self: start; }

.timeline > .photo img,
.timeline li > .photo img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 35%; }

.timeline .photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
}

.timeline .photo-pair img { aspect-ratio: 4 / 5; object-fit: cover; }

/* --------------------------------------------------------- press */

.press .shell { padding-block: clamp(72px, 9vw, 144px) 0; }

.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.press-list li { border-bottom: 1px solid var(--rule); }

.press-list a,
.press-list .press-static {
  display: grid;
  grid-template-columns: minmax(0, 300px) 150px minmax(0, 1fr) auto;
  gap: var(--s-2) var(--s-5);
  align-items: baseline;
  padding: clamp(24px, 3vw, 40px) 0;
  color: inherit;
  text-decoration: none;
  transition: padding-left var(--t-fast) var(--ease);
}

.press-list a:hover { padding-left: var(--s-2); }

.press-outlet {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "opsz" 96, "wdth" 84;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease);
}

.press-list a:hover .press-outlet { color: var(--red); }

.press-static .press-outlet { color: var(--ink-3); }

.press-kind {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-meta);
  color: var(--red);
}

.press-body b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -.015em;
  margin-bottom: var(--s-1);
}

.press-body > span {
  display: block;
  font-size: 1rem;
  color: var(--ink-3);
  max-width: 56ch;
}

.press-go {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  white-space: nowrap;
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.press-list a:hover .press-go { gap: var(--s-3); color: var(--red); }

/* --------------------------------------------------------- about */

.about { margin-top: clamp(72px, 9vw, 144px); }

.about .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6) clamp(40px, 6vw, 96px);
  padding-block: clamp(64px, 8vw, 120px);
}

.about h2 { max-width: 12ch; margin-bottom: var(--s-4); }

.about .lede { color: var(--on-navy); max-width: 40ch; }

.about-side { padding-top: .5em; }

.about p { margin-bottom: var(--s-3); }

.ask {
  margin: var(--s-5) 0 0;
  padding: var(--s-4) 0 0;
  border-top: 1px solid var(--navy-rule);
}

.ask h3 { font-size: 1.125rem; color: var(--red-lift); margin-bottom: var(--s-3); }

.ask ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ask li {
  padding: 6px 14px;
  border: 1.5px solid var(--navy-rule);
  border-radius: var(--r-full);
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-meta);
  color: #fff;
}

.toolbox {
  margin: var(--s-5) 0 0;
  padding-top: var(--s-4);
  border-top: 1px solid var(--navy-rule);
}

.toolbox h3 { font-size: 1.125rem; color: var(--red-lift); margin-bottom: var(--s-2); }

.toolbox p { font-size: 1.0625rem; color: var(--on-navy); }

.awards {
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--navy-rule);
}

.awards li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--navy-rule);
}

.awards time {
  font-family: var(--display);
  font-weight: 700;
  color: var(--red-lift);
}

.awards b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  font-size: 1.0625rem;
}

.awards span { font-size: var(--t-meta); color: var(--on-navy-quiet); }

.portrait {
  margin: var(--s-6) 0 0;
  max-width: 520px;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--r-lg);
}

.portrait figcaption {
  margin-top: var(--s-3);
  font-size: var(--t-meta);
  color: var(--on-navy-quiet);
  max-width: 44ch;
}

/* --------------------------------------------------------- contact */

.contact .shell { padding-block: clamp(72px, 10vw, 160px) clamp(56px, 7vw, 104px); }

.contact .kicker { margin-bottom: var(--s-3); }

.contact h2 { max-width: 16ch; margin-bottom: var(--s-5); }

.contact .mail-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-4);
  margin-bottom: var(--s-6);
}

.contact .mail-row .copy-btn { margin-left: 0; min-height: 44px; padding: 0 16px; font-size: var(--t-meta); }

.contact .big-mail {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "opsz" 96, "wdth" 82;
  font-size: clamp(1.625rem, 1rem + 3.6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  border-bottom: 4px solid var(--red);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.contact .big-mail:hover { color: var(--red); }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-links li { display: inline-flex; align-items: center; }

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: none;
}

.contact-links a span { color: var(--ink-3); font-weight: 500; }

.contact-links a:hover { color: var(--red); }

.contact-detail { margin-top: var(--s-4); color: var(--ink-3); font-size: var(--t-meta); }

/* --------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .press-list a,
  .press-list .press-static { grid-template-columns: minmax(0, 220px) 120px minmax(0, 1fr) auto; }
  .timeline > li { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 320px); }
  .timeline > li.no-photo { grid-template-columns: 150px minmax(0, 1fr); }
  .more a { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.2fr) auto; }
}

@media (max-width: 900px) {
  .hero-intro { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-side { padding-bottom: 0; }
  .hero .annotated .frame { aspect-ratio: 4 / 3; }
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .now .shell { grid-template-columns: minmax(0, 1fr); }
  .now ul { grid-template-columns: minmax(0, 1fr); }

  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section-head .note { padding-bottom: 0; }

  .spread { grid-template-columns: minmax(0, 1fr); }
  .spread:nth-of-type(even) .spread-media { order: 0; }

  .more a { grid-template-columns: 48px minmax(0, 1fr); }
  .more p { grid-column: 2; }
  .more .status { grid-column: 2; white-space: normal; }

  .timeline > li,
  .timeline > li.no-photo { grid-template-columns: minmax(0, 1fr); }
  .timeline .photo { max-width: 520px; }

  .about .shell { grid-template-columns: minmax(0, 1fr); }
  .about-side { padding-top: 0; }

  .press-list a,
  .press-list .press-static { grid-template-columns: minmax(0, 1fr) auto; }
  .press-kind { grid-column: 1; }
  .press-body { grid-column: 1 / -1; }
  .press-go { grid-column: 2; grid-row: 1; }
}

@media (max-width: 480px) {
  .hero .annotated .frame { aspect-ratio: 1 / 1; }
  .hero-strip { grid-template-columns: minmax(0, 1fr); }
  .timeline .photo-pair { grid-template-columns: minmax(0, 1fr); }
  .timeline .photo-pair img { aspect-ratio: 4 / 3; }
  .awards li { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
}
