:root {
  --ink: #102332;
  --ink-deep: #071825;
  --ink-soft: #344654;
  --muted: #63717a;
  --paper: #f9f7f2;
  --canvas: #f0eee8;
  --white: #fffefa;
  --gold: #be9b59;
  --gold-dark: #866834;
  --line: #dcd9d0;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.65 var(--sans); }
.a360-articles-page { font-size: 15px; }
.a360-articles-page .a360-header { color: #fff; }
.a360-articles-page :is(.hero-photo, .closing-photo, .card-media img) { height: 100%; }
.a360-articles-page .a360-nav a[data-primary-link][aria-current="page"] { color: #e4c58e; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 4px; }
.shell { width: min(100% - 56px, 1280px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: -90px; left: 24px; padding: 10px 16px; background: white; }
.skip-link:focus { top: 12px; }
.eyebrow { margin: 0 0 18px; color: var(--gold-dark); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }

.book-link { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 12px 21px; background: var(--gold); color: var(--ink-deep); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: background .2s; }
.a360-articles-page .book-link { color: var(--ink-deep); }
.book-link:hover { background: #d9b979; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-deep); color: var(--white); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(7, 24, 37, .51), transparent 170px), linear-gradient(90deg, rgba(7, 24, 37, .77), rgba(7, 24, 37, .34) 57%, rgba(7, 24, 37, .08)), linear-gradient(0deg, rgba(7, 24, 37, .36), transparent 48%); pointer-events: none; }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.hero-inner { display: flex; align-items: center; min-height: 650px; padding-top: 91px; }
.hero-copy { width: min(100%, 760px); padding-block: 86px 91px; }
.hero .eyebrow { color: #e6ca97; }
.hero h1 { margin-bottom: 25px; color: white; font-size: clamp(69px, 7vw, 104px); line-height: .92; letter-spacing: -.035em; }
.hero h1 em { color: #e5c48b; font-weight: 500; }
.hero-copy > p:not(.eyebrow) { max-width: 610px; margin-bottom: 0; color: #f2f0e9; font-size: 16px; line-height: 1.85; text-shadow: 0 1px 8px #07182561; }
.hero-notes { display: flex; align-items: center; margin-top: 49px; padding-top: 20px; border-top: 1px solid #ffffff66; color: #e8e6df; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-notes strong { color: #f1d8a6; font-weight: 800; }

/* Searchable article directory */
.library { padding-block: 88px 118px; background: var(--canvas); scroll-margin-top: 20px; }
.library-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 32px; }
.library-heading h2 { margin: 0; font-size: clamp(53px, 5.6vw, 82px); line-height: .95; letter-spacing: -.035em; }
.library-heading p:last-child { max-width: 410px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.library-tools { display: flex; align-items: end; gap: 16px; margin-bottom: 20px; }
.search-wrap { flex: 1; min-width: 0; }
.search-label { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.search-control { position: relative; }
.search-field { display: flex; align-items: center; height: 57px; padding: 0 16px; border: 1px solid #bbbdb9; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: var(--gold-dark); box-shadow: 0 0 0 3px #be9b5930; }
.search-field svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.search-field input { width: 100%; min-width: 0; padding: 12px 12px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-field input::placeholder { color: #81898a; }
.clear-search { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border: 0; background: transparent; color: var(--muted); font-size: 23px; font-weight: 400; line-height: 1; }
.clear-search:hover { color: var(--ink); }
.filter-toggle { display: grid; place-items: center; width: 49px; height: 40px; flex: none; margin-right: -9px; margin-left: 8px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--ink); }
.filter-toggle:hover, .filter-toggle[aria-expanded="true"], .filter-toggle[data-active="true"] { color: var(--gold-dark); }
.filter-toggle svg { width: 22px; height: 22px; }
.filter-popover { position: absolute; z-index: 5; top: calc(100% + 8px); right: 0; width: min(340px, 100%); padding: 11px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 45px #10233233; }
.filter-popover p { margin: 3px 9px 8px; color: var(--gold-dark); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.filter-popover button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 41px; padding: 8px 10px; border: 0; background: transparent; color: var(--ink-soft); text-align: left; font-size: 11px; font-weight: 700; }
.filter-popover button:hover, .filter-popover button[aria-pressed="true"] { background: var(--ink); color: white; }
.filter-popover button span { margin-left: 12px; color: inherit; opacity: .72; font-size: 10px; }
.view-control { display: flex; height: 57px; border: 1px solid #bbbdb9; background: var(--white); }
.view-control button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 95px; padding: 0 12px; border: 0; background: transparent; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.view-control button + button { border-left: 1px solid var(--line); }
.view-control button[aria-pressed="true"] { background: var(--ink); color: white; }
.view-control svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; border-top: 1px solid #cdd1cd; color: var(--muted); font-size: 11px; }
.results-bar p { margin: 0; }
.results-bar strong { color: var(--ink); }
.results-context { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 18px; scroll-margin-top: 28px; }
.article-card { min-width: 0; border: 1px solid #dfdfd8; background: var(--white); transition: transform .22s, box-shadow .22s, border-color .22s; }
.article-card:hover { transform: translateY(-4px); border-color: #cdbf9e; box-shadow: 0 14px 34px #10233216; }
.article-card > a { display: flex; flex-direction: column; height: 100%; }
.card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1.55; background: #d8d8d0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 23px 24px; }
.card-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 13px; color: var(--gold-dark); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-meta time { color: #7c8587; font-weight: 700; white-space: nowrap; }
.card-body h3 { margin: 0; font-size: clamp(28px, 2.5vw, 34px); line-height: 1.07; letter-spacing: -.02em; }
.card-excerpt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin: 13px 0 23px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.card-read { display: inline-flex; align-items: center; margin-top: auto; padding-top: 21px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.article-card:hover .card-read { color: var(--gold-dark); }
.article-grid[data-view="list"] { display: grid; grid-template-columns: 1fr; gap: 13px; }
.article-grid[data-view="list"] .article-card > a { display: grid; grid-template-columns: minmax(170px, 28%) minmax(0, 1fr); min-height: 196px; }
.article-grid[data-view="list"] .card-media { height: 100%; min-height: 196px; aspect-ratio: auto; }
.article-grid[data-view="list"] .card-body { padding: 22px 30px; }
.article-grid[data-view="list"] .card-body h3 { font-size: clamp(29px, 3.1vw, 43px); }
.article-grid[data-view="list"] .card-excerpt { max-width: 760px; margin-bottom: 12px; -webkit-line-clamp: 2; }
.article-grid[data-view="list"] .card-read { padding-top: 0; border-top: 0; }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.page-status { flex-basis: 100%; margin-bottom: 4px; color: var(--ink-soft); text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.page-numbers { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; }
.pagination button { display: grid; place-items: center; min-width: 41px; min-height: 41px; padding: 8px 11px; border: 1px solid #c5c9c3; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 800; }
.pagination button:hover:not(:disabled), .pagination button[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: white; }
.pagination button:disabled { opacity: .42; cursor: default; }
.pagination .page-step { min-width: 104px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.page-ellipsis { padding-inline: 4px; color: var(--muted); font-size: 12px; }
.no-results { max-width: 600px; margin: 50px auto 0; padding: 45px; border: 1px solid var(--line); background: var(--white); text-align: center; }
.no-results h3 { margin-bottom: 9px; font-size: 38px; }
.no-results p { color: var(--muted); font-size: 13px; }
.no-results button { padding: 9px 0; border: 0; border-bottom: 1px solid var(--gold-dark); background: transparent; color: var(--gold-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.closing { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 420px; padding-block: 90px; background: var(--ink); color: white; }
.closing::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7, 24, 37, .86), rgba(7, 24, 37, .57) 58%, rgba(7, 24, 37, .35)); pointer-events: none; }
.closing-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 52%; }
.closing-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.closing h2 { max-width: 760px; margin: 0; color: white; font-size: clamp(48px, 5vw, 76px); line-height: .97; }
.closing .eyebrow { color: #d8bd87; }
.closing .book-link { flex: none; }

@media (max-width: 1100px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 36px, 1280px); }
  .hero::after { background: linear-gradient(180deg, rgba(7, 24, 37, .54), transparent 165px), linear-gradient(90deg, rgba(7, 24, 37, .73), rgba(7, 24, 37, .47)), linear-gradient(0deg, rgba(7, 24, 37, .33), transparent 60%); }
  .hero-photo { object-position: 56% center; }
  .hero-inner { min-height: 576px; padding-top: 76px; }
  .hero-copy { padding-block: 66px 70px; }
  .hero h1 { font-size: clamp(62px, 11vw, 84px); }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; }
  .hero-notes { margin-top: 38px; }
  .library-heading { display: block; }
  .library-heading p:last-child { margin-top: 17px; }
  .library { padding-block: 70px 86px; }
  .library-heading { margin-bottom: 26px; }
  .library-tools { align-items: stretch; flex-direction: column; }
  .view-control { align-self: flex-end; }
  .results-context { display: none; }
  .article-grid[data-view="list"] .article-card > a { grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); min-height: 170px; }
  .article-grid[data-view="list"] .card-media { min-height: 170px; }
  .article-grid[data-view="list"] .card-body { padding: 17px 19px; }
  .article-grid[data-view="list"] .card-body h3 { font-size: 28px; }
  .article-grid[data-view="list"] .card-excerpt { display: none; }
  .closing { min-height: 440px; }
  .closing::after { background: linear-gradient(180deg, rgba(7, 24, 37, .58), rgba(7, 24, 37, .82)); }
  .closing-photo { object-position: 62% 50%; }
  .closing-inner { display: block; }
  .closing h2 { margin-bottom: 28px; }
}
@media (max-width: 560px) {
  .article-grid { grid-template-columns: 1fr; gap: 13px; }
  .card-media { aspect-ratio: 1.55; }
  .card-body h3 { font-size: 33px; }
  .article-grid[data-view="list"] .article-card > a { grid-template-columns: minmax(105px, 32%) minmax(0, 1fr); min-height: 155px; }
  .article-grid[data-view="list"] .card-media { min-height: 155px; }
  .article-grid[data-view="list"] .card-body { padding: 13px 14px; }
  .article-grid[data-view="list"] .card-body h3 { font-size: 24px; }
  .article-grid[data-view="list"] .card-read { margin-top: 8px; font-size: 8px; }
  .article-grid[data-view="list"] .card-meta { margin-bottom: 7px; }
  .article-grid[data-view="list"] .card-meta time { display: none; }
  .hero-notes { gap: 15px; font-size: 9px; }
  .pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 354px; margin-inline: auto; }
  .page-status { grid-column: 1 / -1; }
  .page-numbers { grid-column: 1 / -1; grid-row: 2; gap: 4px; }
  #page-prev { grid-column: 1; grid-row: 3; }
  #page-next { grid-column: 2; grid-row: 3; }
  .pagination .page-step { width: 100%; }
  .pagination button { min-width: 36px; min-height: 40px; padding-inline: 7px; }
  .no-results { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .article-card { transition: none; }
}
