/* ------------------------------------------------ */
/* Homepage — magazine cover layout                 */
/* Colors reuse the shared site palette from main.css */
/* (--ink, --ink-ui, --link, --page-bg, --text)      */
/* rather than redefining their own.                 */
/* ------------------------------------------------ */


.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px 16px 26px;
  border-bottom: 3px solid var(--ink);
  background-color: var(--ink);
  color: #fff;
}
.masthead .issue {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1em;
}
.masthead nav {
  display: flex;
  gap: 28px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.masthead nav a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.masthead nav a:hover,
.masthead nav a[aria-current="page"] {
  border-color: var(--link);
  color: var(--link);
}

.cover {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}
.cover-photo {
  position: absolute;
  inset: 0;
}
.cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
  filter: saturate(0.92) contrast(1.03);
}
.cover-text {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 56px;
  background: rgba(0, 48, 110, 0.8);
}
.kicker {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--baby-blue);
  margin: 0;
}
.cover-headline {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(54px, 8vw, 98px);
  line-height: 0.95;
  margin: 0 0 20px;
  letter-spacing: .01em;
  color: #fff;
}
/* The trailing period sits outside the centered text: .headline-last is
   what text-align: center actually centers (just "in NYC"), and the dot
   is absolutely positioned right after it, so its width never skews
   where "in NYC" itself gets centered. */
.headline-last {
  position: relative;
  display: inline-block;
}
.headline-dot {
  position: absolute;
  left: 100%;
  bottom: 2px;
  margin-left: 0.05em;
  font-size: 56px;
}
.coverline {
  max-width: 300px;
  margin: 0 0 28px;
}
.coverline p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}
.cover-tags {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cover-tags span {
  color: #fff;
}
.cover-tags span::before {
  content: "— ";
  color: var(--baby-blue);
}

.bio {
  padding: 48px;
  border-top: 3px solid var(--ink);
}
.bio-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.bio-photo {
  flex: 0 0 auto;
}
.bio-photo picture {
  display: block;
  width: 140px;
}
.bio-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--ink);
  filter: saturate(0.92) contrast(1.03);
}
.bio-text {
  flex: 1 1 auto;
  min-width: 0;
}
.bio-text p {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
.bio-text p:last-child {
  margin-bottom: 0;
}

.toc {
  padding: 48px 48px 30px 48px;
  border-top: 3px solid var(--ink);
}
.toc-head {
  max-width: 900px;
  margin: 0 auto 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.toc-head h2 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: .03em;
  margin: 0;
  color: var(--ink);
  padding-bottom: 0;
}
.toc-head .sub {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-ui);
}
.toc-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.toc-item {
  display: grid;
  grid-template-columns: 150px 1fr 200px;
  align-items: center;
  column-gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--baby-blue);
}
.toc-item:last-child {
  border-bottom: none;
}
.toc-item--no-thumb {
  grid-template-columns: 1fr 200px;
}
.toc-thumb {
  width: 150px;
  height: 150px;
  border-radius: 2px;
  overflow: hidden;
  filter: grayscale(0.15);
}
.toc-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}
.toc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.toc-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 6px;
  color: var(--ink);
  padding-bottom: 0;
}
.toc-body p {
  font-family: 'Playfair Display', serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
  max-width: 520px;
}
.toc-links {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: right;
}
.toc-links a {
  display: block;
  color: var(--link);
  text-decoration: none;
  white-space: nowrap;
  margin-bottom: 6px;
}
.toc-links a:last-child {
  margin-bottom: 0;
}
.toc-links a:hover {
  text-decoration: underline;
}
.toc-links .sep {
  display: none;
}
.toc-links .ext-icon {
  width: 0.7em;
  height: 0.7em;
  margin-left: 4px;
  vertical-align: -0.05em;
}

.connect {
  background: var(--ink);
}
.connect-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}
.connect-title {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 24px;
}
.connect-title h2 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1;
}
.connect-links {
  display: flex;
  flex: 0 0 auto;
}
.connect-link {
  position: relative;
  width: 140px;
  aspect-ratio: 1;
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font: 700 13px/1.2 "Raleway", sans-serif;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.connect-link:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.connect-link i {
  font-size: 26px;
}
.connect-link:hover {
  background: var(--link);
}
.connect-link .ext-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 14px;
  height: 14px;
}

/* A plain line-drawn external-link arrow (not a Unicode character, which
   renders as a colorful emoji glyph on iOS/some Android fonts). Inherits
   its color from the surrounding text via currentColor. */
.ext-icon {
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .connect-title {
    display: none;
  }
  .coverline p {
    font-size: 18px;
  }
  .masthead {
    padding: 16px 20px;
  }
  .masthead nav {
    gap: 16px;
  }
  .cover {
    min-height: 420px;
  }
  .cover-text {
    width: 100%;
    padding: 32px 24px;
    background: rgba(0, 48, 110, 0.8);
  }
  .bio {
    padding: 32px 24px;
  }
  .bio-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .bio-photo {
    display: none;
  }
  .toc {
    padding: 40px 24px;
  }
  .toc-item {
    grid-template-columns: 84px 1fr;
    grid-template-areas: "thumb body" ". links";
    row-gap: 10px;
  }
  .toc-item--no-thumb {
    grid-template-columns: 1fr;
    grid-template-areas: "body" "links";
  }
  .toc-thumb {
    grid-area: thumb;
    width: 84px;
    height: 84px;
  }
  .toc-body {
    grid-area: body;
  }
  .toc-links {
    grid-area: links;
    text-align: left;
  }
  .connect-inner {
    flex-wrap: wrap;
  }
  .connect-title {
    flex: 1 1 100%;
    padding: 24px 24px 16px;
  }
  .connect-links {
    flex: 1 1 100%;
    flex-wrap: wrap;
  }
  .connect-link {
    width: auto;
    flex: 1 1 20%;
  }
}

@media (max-width: 600px) {
  .connect-link .link-label {
    display: none;
  }
}

