@font-face {
  font-family: "Bootzy Condensed TM";
  src: url("/assets/bootzy-condensed.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: DMAG;
  src: local("Neue Haas Grotesk Text Pro"), local("NeueHaasGroteskText Pro");
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #111;
  --muted: #555;
  --rule: #c4c4c4;
  --accent: #e8e8e8;
  --display: "Bootzy Condensed TM", "Arial Narrow", Arial, sans-serif;
  --gutter: clamp(18px, 4vw, 64px);
  font-family: DMAG, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: min(100% - var(--gutter) * 2, 1440px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 12px; transform: translateY(-150%); padding: 10px; background: var(--paper); z-index: 2; }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--ink); }
.utility, .sections { display: flex; align-items: center; }
.utility { justify-content: space-between; gap: 14px; min-height: 66px; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-block; width: 76px; flex: none; }
.wordmark img, .masthead img { filter: brightness(0); width: 100%; height: auto; }
.edition, .eyebrow, .desk-link, .story-meta, .footer-end {
  font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase;
}
.edition span { display: inline-block; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; margin-right: 4px; }
.sections { gap: clamp(17px, 3vw, 44px); min-height: 48px; }
.sections a { min-height: 44px; display: inline-flex; gap: 7px; align-items: center; font-size: 14px; font-weight: 600; }
.sections .search-link { margin-left: auto; }
.sections a[aria-current], .sections a:hover, .desk-link:hover, .block-heading a:hover, .back:hover { text-decoration: underline; text-underline-offset: 4px; }

.masthead { margin: 27px 0 15px; }
.masthead img { width: 100%; }
.issue-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 13px; border-top: 1px solid var(--ink); }
.hero { display: grid; grid-template-columns: 1.45fr 1fr; background: var(--accent); }
.hero-visual { display: block; overflow: hidden; min-width: 0; min-height: 0; position: relative; }
.hero-image { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center 44%; }
.hero-text { min-height: clamp(300px, 35vw, 530px); display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: clamp(24px, 4.4vw, 68px); }
.hero-text .eyebrow { margin: 0 0 24px; }
.hero h2 { margin: 0; font-size: clamp(48px, 6.5vw, 100px); line-height: .94; letter-spacing: -.071em; font-weight: 700; overflow-wrap: anywhere; }
.hero-summary { max-width: 35ch; margin: 21px 0 17px; line-height: 1.45; font-size: clamp(15px, 1.4vw, 21px); }
.hero-cta { display: inline-flex; align-items: center; gap: 23px; min-height: 44px; font-size: 13px; font-weight: 700; border-bottom: 1px solid currentColor; }
.hero-cta:hover { border-bottom-width: 2px; }

.block-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: clamp(46px, 8vw, 95px); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.block-heading h2, .page-title h1, .article-head h1, .login-inner h1 { margin: 0; font-weight: 700; letter-spacing: -.065em; line-height: .98; }
.block-heading h2 { font-size: clamp(40px, 5.5vw, 76px); }
.block-heading a { font-size: 14px; white-space: nowrap; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 17px; margin: 22px 0; }
.story { min-width: 0; }
.story-media { display: block; overflow: hidden; background: #ddd; }
.story-image { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.typographic { display: grid; place-items: center; padding: 12px; background: #dedede; font-size: clamp(17px, 3vw, 48px); font-weight: 700; letter-spacing: -.06em; overflow-wrap: anywhere; }
.story-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 14px 0 9px; }
.story-meta a { text-decoration: underline; text-underline-offset: 3px; }
.story-meta time { color: var(--muted); font-size: 10px; }
.story :is(h2, h3) { font-size: clamp(30px, 3.3vw, 48px); letter-spacing: -.052em; line-height: 1.04; margin: 0; overflow-wrap: anywhere; }
.story :is(h2, h3) a:hover { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .08em; }
.story p { line-height: 1.5; color: var(--muted); margin: 8px 0 0; }
.section-list { border-top: 1px solid var(--ink); }
.block-heading + .section-list { border-top: 0; }
.section-list a { display: grid; grid-template-columns: clamp(22px, 7vw, 108px) 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.section-list a:hover { background: #eee; }
.section-list strong { font-size: clamp(26px, 5vw, 64px); letter-spacing: -.058em; }
.section-list a > :last-child { font-size: 22px; padding-right: 4px; }

.page-title, .article-head { padding: clamp(34px, 7vw, 100px) 0 24px; border-bottom: 1px solid var(--ink); }
.page-title h1, .article-head h1 { font-size: clamp(43px, 8vw, 124px); overflow-wrap: anywhere; }
.page-title p:last-child { font-size: 18px; line-height: 1.45; max-width: 52ch; }
.page-title p:empty { display: none; }
.article-head { padding-bottom: 30px; }
.article-head h1 { max-width: 19ch; margin: 14px 0; font-size: clamp(42px, 7.6vw, 108px); }
.category-link, .back { text-decoration: underline; text-underline-offset: 4px; }
.article-lead { font-size: clamp(18px, 2.4vw, 32px); line-height: 1.35; max-width: 54ch; margin: 0; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 19px; font-size: 13px; font-weight: 700; }
.article-image { width: 100%; max-height: 690px; object-fit: cover; object-position: center 43%; margin: 22px 0 0; }
.article-text { width: min(100%, 66ch); margin: clamp(26px, 5vw, 66px) auto; font-size: clamp(17px, 2vw, 21px); line-height: 1.65; overflow-wrap: anywhere; }
.contact-links, .pagination { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.contact-links a, .pagination a { text-decoration: underline; text-underline-offset: 4px; }
.empty { border-bottom: 1px solid var(--rule); padding: 18px 0; color: var(--muted); }
.search-form { max-width: 680px; padding: 24px 0 10px; }
.search-form label { display: block; margin-bottom: 10px; }
.search-form > div { display: flex; }
.search-form input { min-width: 0; flex: 1; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--accent); border: 1px solid var(--ink); padding: 11px 19px; min-height: 48px; color: var(--ink); font-weight: 700; cursor: pointer; }
.button:hover { background: #dedede; }
input { background: transparent; border: 1px solid #767676; border-radius: 0; min-height: 48px; color: var(--ink); padding: 11px; }

.site-footer { margin-top: clamp(60px, 10vw, 120px); background: var(--ink); color: var(--paper); }
.site-footer .wordmark img { filter: none; }
.footer-main { display: grid; grid-template-columns: minmax(75px, 1fr) 1fr auto; align-items: center; gap: 20px; padding: 38px 0; }
.footer-main .wordmark { width: min(100%, 210px); }
.footer-main p { font-size: 16px; line-height: 1.45; margin: 0; }
.footer-main nav { display: grid; grid-template-columns: auto auto; gap: 8px 21px; font-size: 13px; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-end { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid #767676; color: #ddd; }
.site-footer :focus-visible { outline-color: var(--paper); }

.login-layout { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.login-art { position: relative; display: grid; place-items: center; min-width: 0; background: #191919; color: white; isolation: isolate; overflow: hidden; }
.login-art > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 42%; z-index: -2; }
.login-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0002, #0007 50%, #000b); z-index: -1; }
.login-logo { display: block; width: 78%; }
.login-logo img { width: 100%; height: auto; }
.login-art-caption { position: absolute; bottom: 24px; left: var(--gutter); font-size: 11px; letter-spacing: .12em; }
.login-panel { display: flex; flex-direction: column; padding: clamp(22px, 4vw, 64px); }
.login-panel .back { align-self: flex-start; font-size: 14px; padding: 6px 0; }
.login-inner { width: min(100%, 440px); margin: auto; padding: 46px 0; }
.login-inner .eyebrow { margin-bottom: 15px; }
.login-inner h1 { font-size: clamp(48px, 7vw, 88px); margin-bottom: 28px; }
.login-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.login-form label { font-size: 13px; font-weight: 700; }
.login-form input { margin-bottom: 8px; }
.login-form .button { margin-top: 4px; }
.login-error { padding: 10px; border-left: 3px solid #111; background: #eee; margin: 0 0 12px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { aspect-ratio: 4 / 3; }
  .hero-text { min-height: 0; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(175px, 32svh) auto; }
  .login-logo { width: min(65%, 300px); }
  .login-art-caption { bottom: 12px; }
  .login-inner { padding: 30px 0 22px; }
}
@media (max-width: 480px) {
  .utility { min-height: 58px; }
  .utility .wordmark { width: 58px; }
  .edition, .desk-link, .issue-line { font-size: 9px; letter-spacing: .08em; }
  .sections { flex-wrap: wrap; gap: 0 16px; padding: 4px 0; }
  .sections a { min-height: 35px; font-size: 12px; }
  .sections .search-link { margin-left: 0; }
  .masthead { margin: 20px 0 10px; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main nav { grid-column: 1 / -1; justify-content: start; }
}

.education { --accent: #f36b21; }
.education .button:hover { background: #ff8b52; }

.learn-hero { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; background: var(--accent); color: var(--ink); }
.learn-hero > div { padding: clamp(24px, 5vw, 76px); align-self: center; }
.learn-hero h1 { font-size: clamp(50px, 8vw, 124px); line-height: .94; letter-spacing: -.075em; margin: 0; }
.learn-hero p:not(.eyebrow) { font-size: clamp(17px, 2vw, 24px); line-height: 1.35; max-width: 31ch; }
.learn-hero img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.mentoring-hero { background: var(--accent); color: var(--ink); }
.mentoring-hero img { max-height: 480px; object-position: center 38%; }
.learn-note { border-left: 4px solid var(--accent); background: #eee; padding: 13px 16px; margin: 20px 0; line-height: 1.45; }
.learn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.learn-course { padding: clamp(20px, 3vw, 44px); border: 1px solid var(--rule); display: flex; flex-direction: column; align-items: flex-start; }
.learn-course h2 { font-size: clamp(28px, 4vw, 60px); line-height: 1; letter-spacing: -.056em; margin: 15px 0 0; }
.learn-course p, .learn-line p { color: var(--muted); line-height: 1.45; }
.learn-course p { flex: 1; }
.learn-course .back { margin-top: 18px; }
.learn-meta { font-size: 12px; color: var(--muted); font-weight: 700; }
.learn-cross { margin-top: 35px; }
.learn-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--rule); padding: 21px 0; }
.learn-line h2 { font-size: clamp(22px, 3vw, 35px); line-height: 1.07; letter-spacing: -.04em; margin: 0; }
.learn-line p { margin: 6px 0 0; }
.learn-line form, .learn-actions form { margin: 0; }
.learn-account { max-width: 540px; padding: 24px 0 8px; line-height: 1.5; }
.learn-form { display: grid; gap: 10px; }
.learn-form label { font-weight: 700; }
.learn-form input:not([type="checkbox"]) { width: 100%; margin-bottom: 8px; }
.learn-consent { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.learn-form .button { justify-self: start; }
.learn-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiet-button { background: transparent; }
.quiet-button:hover { background: #eee; }
.learn-lesson { margin-top: 24px; padding: 23px 0; border-bottom: 1px solid var(--rule); max-width: 70ch; line-height: 1.55; }
.learn-lesson h2 { font-size: clamp(25px, 4vw, 46px); letter-spacing: -.045em; margin: 0; }

@media (max-width: 760px) {
  .learn-hero { grid-template-columns: minmax(0, 1fr); }
  .learn-hero img { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .learn-grid { grid-template-columns: minmax(0, 1fr); }
}

:is(.hero, .block-heading, .story, .page-title, .article-head, .newsletter, .learn-hero,
  .learn-course, .learn-line, .learn-lesson) :is(h1, h2, h3):not(.masthead),
.section-list strong {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .01em;
}

.hero-image, .story-image, .article-image, .newsletter img { filter: grayscale(1); }

@media (prefers-reduced-motion: no-preference) {
  .hero-image { animation: cover-reveal 3s ease-out both; }
}

@keyframes cover-reveal {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: center;
  background: #eee;
  padding: clamp(20px, 5vw, 72px);
  margin-top: clamp(44px, 7vw, 100px);
}

.newsletter img {
  width: min(100%, 340px);
  height: auto;
  justify-self: center;
}

.newsletter-copy { width: min(100%, 32rem); justify-self: center; }
.newsletter h2 { margin: 0; font-size: clamp(38px, 6vw, 84px); line-height: .95; }
.newsletter p { line-height: 1.45; }
.newsletter form { display: grid; gap: 10px; }
.newsletter form > label:first-child { font-size: 14px; font-weight: 700; }
.newsletter input[type="email"], .newsletter .button { border-radius: 999px; padding-inline: 18px; }
.newsletter input[type="email"] { width: 100%; background: var(--paper); }
.newsletter .button { justify-content: center; background: var(--ink); color: var(--paper); }
.newsletter .button:hover { background: #333; }
.newsletter-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.newsletter-consent input { min-height: auto; accent-color: var(--ink); }
.newsletter-contact { font-size: 14px; margin-bottom: 0; }
.newsletter-contact a { text-decoration: underline; }

@media (max-width: 760px) {
  .newsletter { grid-template-columns: minmax(0, 1fr); }
  .newsletter img { width: min(100%, 250px); aspect-ratio: 4 / 3; object-fit: cover; }
}

.article-categories { display: flex; flex-wrap: wrap; gap: .5rem; }
.note-content img { display: block; max-width: 100%; height: auto; margin-block: 1.4em; }
.note-content video, .note-content audio { max-width: 100%; }
.note-content iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.note-content .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.note-content .gallery figure { margin: 0; }
.note-content a { text-decoration: underline; text-underline-offset: .17em; }
.note-content blockquote { border-inline-start: 2px solid; padding-inline-start: 1em; margin-inline: 0; }

.article-cover, .article-text figure { margin-inline: 0; }
.article-cover figcaption, .article-text figcaption {
  font-size: .8rem;
  line-height: 1.4;
}

@media (max-width: 700px), (pointer: coarse) {
  .story-meta a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
}
