@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,300..900,0..100,0..1;1,9..144,300..900,0..100,0..1&family=Figtree:ital,wght@0,400..800;1,400..600&display=swap');

/* ==========================================================================
   ATLAS — authoritative long-form "law library" magazine (claimherald.com)
   Navy + warm ivory + brass. Fraunces display / Figtree UI & body.
   ========================================================================== */

:root {
  --at-navy: #0b2545;
  --at-navy-2: #13315c;
  --at-navy-deep: #071a33;
  --at-ivory: #faf6ee;
  --at-vellum: #f3ecdd;
  --at-paper: #fffdf8;
  --at-brass: #a8844a;          /* decorative only (rules, rings, ornaments) */
  --at-brass-ink: #7d5f2c;      /* gold text on ivory — 5.5:1 */
  --at-brass-lite: #c9a96e;     /* gold text on navy — 6.9:1 */
  --at-ink: #2b2b2b;            /* charcoal body text — 13:1 */
  --at-ink-soft: #5a5a5a;       /* secondary text — 6.4:1 */
  --at-mist: #b9c4d6;           /* secondary text on navy — 8.7:1 */
  --at-line: #e4dac6;
  --at-serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --at-sans: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --at-wrap: 1200px;
}

html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--at-ivory);
  color: var(--at-ink);
  font-family: var(--at-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { display: block; }
a { color: inherit; }
img { max-width: 100%; }

.at-wrap { max-width: var(--at-wrap); margin: 0 auto; padding: 0 1.5rem; box-sizing: border-box; }

.at-smallcaps {
  font-family: var(--at-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--at-brass-ink);
}
.at-meta { font-family: var(--at-sans); font-size: 0.82rem; color: var(--at-ink-soft); letter-spacing: 0.02em; }

/* ---------------------------------------------------------------- Masthead */
.at-skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--at-ivory); color: var(--at-navy); padding: 0.6rem 1rem; font-weight: 700; }
.at-skip:focus { left: 1rem; top: 1rem; }

.at-masthead {
  position: relative;
  z-index: 100;
  background: var(--at-navy);
  color: var(--at-ivory);
}
.at-mast-strip { background: var(--at-navy-deep); border-bottom: 1px solid rgba(201, 169, 110, 0.28); }
.at-mast-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 34px; }
.at-mast-motto { font-family: var(--at-serif); font-style: italic; font-size: 0.86rem; color: var(--at-mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-mast-aside { display: inline-flex; align-items: center; gap: 0.7rem; flex-shrink: 0; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.at-mast-aside span { color: var(--at-brass); font-size: 0.45rem; }
.at-mast-aside a { color: var(--at-mist); text-decoration: none; }
.at-mast-aside a:hover { color: var(--at-brass-lite); }

.at-mast-main { display: flex; justify-content: center; align-items: center; padding-top: 1.6rem; padding-bottom: 1.3rem; }
.at-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 0.45rem; text-decoration: none; color: var(--at-ivory); }
.at-brand-seal {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--at-brass);
  box-shadow: 0 0 0 3px var(--at-navy), 0 0 0 4px rgba(201, 169, 110, 0.45);
  font-family: var(--at-serif); font-size: 1.05rem; color: var(--at-brass-lite); line-height: 1;
}
.at-brand-name {
  font-family: var(--at-serif);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.at-brand:hover .at-brand-name { color: #fff; }
.at-brand:hover .at-brand-seal { background: var(--at-brass); color: var(--at-navy); }

.at-burger { display: none; }

.at-shelf { border-top: 1px solid rgba(201, 169, 110, 0.55); border-bottom: 1px solid var(--at-brass); box-shadow: inset 0 -4px 0 var(--at-navy), inset 0 -5px 0 rgba(201, 169, 110, 0.35); }
.at-shelf-list { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0 0 5px; }
.at-shelf-list li { display: flex; align-items: center; }
.at-shelf-list li + li::before { content: ''; width: 5px; height: 5px; background: var(--at-brass); transform: rotate(45deg); opacity: 0.8; }
.at-shelf-list a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1rem 0.8rem;
  font-family: var(--at-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--at-ivory); text-decoration: none; white-space: nowrap;
  transition: color 0.2s;
}
.at-shelf-list a i { display: none; }
.at-shelf-list a:hover, .at-shelf-list a.is-current { color: var(--at-brass-lite); }
.at-shelf-list a.is-current { text-decoration: underline; text-decoration-color: var(--at-brass); text-underline-offset: 6px; }
.at-shelf-home, .at-shelf-extra { display: none !important; }
.at-shelf-home + li::before { display: none; }
.at-shelf-list a:focus-visible, .at-brand:focus-visible, .at-burger:focus-visible, .at-btn-outline:focus-visible, .at-tile:focus-visible, .at-colophon a:focus-visible, .at-mast-aside a:focus-visible { outline: 2px solid var(--at-brass-lite); outline-offset: 3px; }

@media (max-width: 1060px) {
  .at-mast-strip { display: none; }
  .at-mast-main { justify-content: space-between; padding-top: 0.9rem; padding-bottom: 0.9rem; }
  .at-brand { flex-direction: row; gap: 0.6rem; }
  .at-brand-seal { width: 30px; height: 30px; font-size: 0.95rem; box-shadow: none; }
  .at-brand-name { font-size: 1.6rem; }
  .at-burger {
    display: inline-flex; align-items: center; gap: 0.65rem;
    background: none; border: 1px solid rgba(201, 169, 110, 0.55); border-radius: 0;
    color: var(--at-ivory); cursor: pointer; padding: 0.5rem 0.7rem;
    font-family: var(--at-sans); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  }
  .at-burger-icon { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
  .at-burger-icon span { display: block; height: 1.5px; background: var(--at-brass-lite); transition: transform 0.3s, opacity 0.3s; }
  .at-masthead.is-open .at-burger-icon span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .at-masthead.is-open .at-burger-icon span:nth-child(2) { opacity: 0; }
  .at-masthead.is-open .at-burger-icon span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  .at-shelf { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--at-navy-deep); border-top: 1px solid rgba(201, 169, 110, 0.4); border-bottom: 2px solid var(--at-brass); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6); }
  .at-masthead.is-open .at-shelf { display: block; }
  .at-masthead { border-bottom: 1px solid var(--at-brass); }
  .at-shelf-list { flex-direction: column; padding: 0.3rem 0 1rem; }
  .at-shelf-home, .at-shelf-extra { display: flex !important; }
  .at-shelf-list li + li::before, .at-shelf-home + li::before { display: none; }
  .at-shelf-list a { width: 100%; padding: 0.95rem 0; font-size: 0.78rem; border-bottom: 1px solid rgba(201, 169, 110, 0.18); }
  .at-shelf-list li:last-child a { border-bottom: 0; }
  .at-shelf-list a i { display: inline-block; width: 1.5rem; color: var(--at-brass-lite); font-size: 0.85rem; }
  .at-shelf-extra:first-of-type { margin-top: 0.4rem; }
}
@media (max-width: 480px) {
  .at-brand-name { font-size: 1.4rem; }
  .at-burger-label { display: none; }
}

/* -------------------------------------------------------- Section heads */
.at-sec-head { text-align: center; margin: 0 auto 2.75rem; max-width: 640px; }
.at-ornament {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem;
  font-family: var(--at-serif); font-style: italic; font-size: 1.1rem;
  color: var(--at-brass);
  margin-bottom: 0.4rem;
}
.at-ornament::before, .at-ornament::after { content: ''; width: 56px; height: 1px; background: var(--at-brass); }
.at-sec-title {
  font-family: var(--at-serif);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--at-navy);
  margin: 0;
}
.at-sec-sub { font-family: var(--at-serif); font-style: italic; font-size: 1.08rem; color: var(--at-ink-soft); margin: 0.7rem 0 0; }
.at-sec-head--light .at-sec-title { color: var(--at-ivory); }

/* ------------------------------------------------------------------ Hero */
.at-hero {
  position: relative;
  min-height: min(78vh, 700px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--at-navy);
  isolation: isolate;
}
.at-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.8); }
.at-hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(11, 37, 69, 0.55) 0%, rgba(11, 37, 69, 0.82) 70%),
    linear-gradient(180deg, rgba(7, 26, 51, 0.55) 0%, rgba(11, 37, 69, 0.35) 40%, rgba(7, 26, 51, 0.95) 100%);
}
.at-hero::after {
  content: ''; position: absolute; inset: 22px; pointer-events: none;
  border: 1px solid rgba(201, 169, 110, 0.45);
}
.at-hero-inner { text-align: center; max-width: 960px; padding: 5.5rem 2rem 5rem; box-sizing: border-box; animation: at-rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
.at-hero-cat { color: var(--at-brass-lite); display: inline-flex; align-items: center; gap: 0.8rem; }
.at-hero-cat::before, .at-hero-cat::after { content: ''; width: 28px; height: 1px; background: var(--at-brass); }
.at-hero-title {
  font-family: var(--at-serif);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 500;
  font-size: clamp(2.3rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--at-ivory);
  margin: 1.2rem 0 1.3rem;
  text-wrap: balance;
}
.at-hero-title a { text-decoration: none; color: inherit; }
.at-hero-dek {
  font-family: var(--at-serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5;
  color: #e6dfd0; max-width: 640px; margin: 0 auto 2.2rem;
}
.at-btn-outline {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 1.8rem;
  border: 1px solid var(--at-ivory);
  color: var(--at-ivory);
  text-decoration: none;
  font-family: var(--at-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s, gap 0.25s;
}
.at-btn-outline:hover { background: var(--at-ivory); color: var(--at-navy); gap: 1rem; }

@keyframes at-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------- Know your rights */
.at-rights { padding: 5.5rem 0 4.5rem; }
.at-tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--at-line); border-left: 1px solid var(--at-line); }
.at-tile {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 2rem 1.75rem;
  background: var(--at-paper);
  border-right: 1px solid var(--at-line); border-bottom: 1px solid var(--at-line);
  text-decoration: none; color: var(--at-ink);
  transition: background 0.25s;
}
.at-tile:hover { background: #fff; }
.at-seal {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--at-ivory);
  color: var(--at-navy);
  font-size: 1.25rem;
  border: 1.5px solid var(--at-brass);
  box-shadow: 0 0 0 4px var(--at-paper), 0 0 0 5px rgba(168, 132, 74, 0.45);
  transition: background 0.25s, color 0.25s;
}
.at-tile:hover .at-seal { background: var(--at-navy); color: var(--at-brass-lite); }
.at-tile-body { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.at-tile-name { font-family: var(--at-serif); font-variation-settings: 'SOFT' 100; font-weight: 600; font-size: 1.3rem; color: var(--at-navy); line-height: 1.2; }
.at-tile-hint { font-size: 0.93rem; color: var(--at-ink-soft); line-height: 1.45; }
.at-tile-count { margin-top: 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--at-brass-ink); display: inline-flex; gap: 0.5rem; align-items: center; }
.at-tile-count i { transition: transform 0.25s; }
.at-tile:hover .at-tile-count i { transform: translateX(4px); }

/* ------------------------------------------------------------- Zig-zag */
.at-featured { padding: 2rem 0 5rem; }
.at-featured--cat { padding-top: 4.5rem; }
.at-zig {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--at-line);
}
.at-zig:first-of-type { border-top: 0; }
.at-zig--rev .at-zig-media { order: 2; }
.at-zig-media { display: block; position: relative; aspect-ratio: 4 / 3; }
.at-zig-media::before {
  content: ''; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--at-brass); z-index: 0;
}
.at-zig--rev .at-zig-media::before { inset: 14px 14px -14px -14px; }
.at-zig-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--at-vellum); }
.at-zig-text { position: relative; }
.at-numeral {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--at-serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  font-style: normal; font-weight: 500;
  font-size: 1.3rem; line-height: 1;
  letter-spacing: 0.14em;
  color: var(--at-brass-ink);
  margin-bottom: 1rem;
}
.at-numeral::after { content: ''; width: 40px; height: 1px; background: var(--at-brass); }
.at-numeral-sec { font-size: 1.3rem; letter-spacing: 0; color: var(--at-brass); }
.at-kicker { display: inline-block; margin-bottom: 0.6rem; }
.at-zig-title {
  font-family: var(--at-serif);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.12; letter-spacing: -0.015em;
  color: var(--at-navy);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.at-zig-title a, .at-row-title a, .at-latest-title a { text-decoration: none; color: inherit; background-image: linear-gradient(var(--at-brass), var(--at-brass)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.35s; }
.at-zig-title a:hover, .at-row-title a:hover, .at-latest-title a:hover { background-size: 100% 1px; }
.at-zig-excerpt { font-size: 1.05rem; line-height: 1.7; color: var(--at-ink); margin: 0 0 1.4rem; }
.at-more { display: inline-flex; gap: 0.6rem; align-items: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--at-navy); text-decoration: none; padding-bottom: 0.3rem; border-bottom: 1px solid var(--at-brass); transition: gap 0.25s; }
.at-more:hover { gap: 0.95rem; }

/* ---------------------------------------------------------- Navy band */
.at-band {
  background: var(--at-navy);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(201, 169, 110, 0.09), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(19, 49, 92, 0.9), transparent 55%);
  color: var(--at-ivory);
  padding: 5rem 0 5.5rem;
  border-top: 1px solid var(--at-brass);
  border-bottom: 1px solid var(--at-brass);
}
.at-band .at-ornament { color: var(--at-brass-lite); }
.at-latest { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 3rem; }
.at-latest-item { padding: 1.8rem 0 2rem; border-top: 1px solid rgba(201, 169, 110, 0.55); }
.at-latest-item .at-kicker { color: var(--at-brass-lite); }
.at-latest-title { font-family: var(--at-serif); font-variation-settings: 'SOFT' 100; font-weight: 500; font-size: 1.4rem; line-height: 1.22; color: var(--at-ivory); margin: 0 0 0.7rem; }
.at-latest-excerpt { font-size: 0.95rem; line-height: 1.6; color: var(--at-mist); margin: 0 0 0.9rem; }
.at-band .at-meta { color: var(--at-mist); }

/* ------------------------------------------------------- Compact rows */
.at-archive { padding: 5rem 0 3rem; }
.at-rows { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3.5rem; }
.at-row { display: grid; grid-template-columns: 132px 1fr; gap: 1.4rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--at-line); }
.at-row-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--at-vellum); outline: 1px solid var(--at-line); outline-offset: 3px; }
.at-row-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.at-row:hover .at-row-media img { transform: scale(1.05); }
.at-row .at-kicker { margin-bottom: 0.35rem; font-size: 0.68rem; }
.at-row-title { font-family: var(--at-serif); font-variation-settings: 'SOFT' 50; font-weight: 600; font-size: 1.18rem; line-height: 1.25; color: var(--at-navy); margin: 0 0 0.45rem; }

.at-empty { text-align: center; padding: 1rem 0 5rem; font-family: var(--at-serif); font-style: italic; color: var(--at-ink-soft); font-size: 1.2rem; }

/* ----------------------------------------------------------- Category */
.at-cat-band {
  background: var(--at-navy);
  background-image: radial-gradient(ellipse at 50% 120%, rgba(201, 169, 110, 0.14), transparent 60%);
  color: var(--at-ivory);
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--at-brass);
  text-align: center;
}
.at-cat-band-inner { display: flex; flex-direction: column; align-items: center; }
.at-seal--lg { width: 84px; height: 84px; font-size: 1.9rem; background: var(--at-ivory); box-shadow: 0 0 0 6px var(--at-navy), 0 0 0 7px rgba(201, 169, 110, 0.7); margin-bottom: 1.6rem; }
.at-cat-label { color: var(--at-brass-lite); }
.at-cat-title {
  font-family: var(--at-serif);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1; letter-spacing: -0.025em;
  margin: 0.8rem 0 0.9rem;
  color: var(--at-ivory);
}
.at-cat-count { font-family: var(--at-serif); font-style: italic; color: var(--at-mist); font-size: 1.1rem; margin: 0; }

/* ---------------------------------------------------------------- Post */
.at-post { max-width: 700px; margin: 0 auto; padding: 3rem 1.5rem 2rem; box-sizing: content-box; }
.at-post-head { text-align: center; }
.at-crumbs { font-size: 0.8rem; color: var(--at-ink-soft); margin-bottom: 2.2rem; display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
.at-crumbs a { color: var(--at-ink-soft); text-decoration: none; }
.at-crumbs a:hover { color: var(--at-navy); text-decoration: underline; }
.at-post-cat { display: inline-flex; align-items: center; gap: 0.8rem; }
.at-post-cat::before, .at-post-cat::after { content: ''; width: 28px; height: 1px; background: var(--at-brass); }
.at-post-title {
  font-family: var(--at-serif);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 500;
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--at-navy);
  margin: 1.1rem 0 1.3rem;
  text-wrap: balance;
}
.at-dek { font-family: var(--at-serif); font-style: italic; font-weight: 300; font-size: 1.3rem; line-height: 1.5; color: #444; margin: 0 auto 1.6rem; max-width: 620px; }
.at-post-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.3rem 0.6rem; font-size: 0.85rem; color: var(--at-ink-soft); padding: 1rem 0; border-top: 1px solid var(--at-line); border-bottom: 1px solid var(--at-line); }
.at-dot { color: var(--at-brass); }
.at-post-head .taboola-placement { margin-top: 1.5rem; text-align: left; }

.at-post-figure {
  width: min(1000px, calc(100vw - 3rem));
  margin: 2.5rem 0 3rem 50%;
  transform: translateX(-50%);
  padding: 10px;
  border: 1px solid var(--at-brass);
  box-sizing: border-box;
  background: var(--at-paper);
}
.at-post-figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.at-post-body { font-family: var(--at-sans); font-size: 18px; line-height: 1.75; color: var(--at-ink); overflow-wrap: anywhere; }
.at-post-body pre, .at-post-body table { overflow-wrap: normal; }
.at-post-body p { margin: 0 0 1.4rem; }
.at-post-body .intro-paragraph, .at-post-body > p:first-child { font-size: 1.14em; line-height: 1.65; }
.at-post-body > p:first-child::first-letter,
.at-post-body > .intro-paragraph:first-child::first-letter {
  font-family: var(--at-serif); font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 600;
  float: left; font-size: 4.2em; line-height: 0.82; padding: 0.35rem 0.6rem 0 0; color: var(--at-navy);
}
.at-post-body h1, .at-post-body h2, .at-post-body h3, .at-post-body h4 { font-family: var(--at-serif); font-optical-sizing: auto; color: var(--at-navy); letter-spacing: -0.015em; }
.at-post-body h1, .at-post-body h2 { font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 600; font-size: 1.9rem; line-height: 1.18; margin: 3rem 0 1rem; }
.at-post-body h1::before, .at-post-body h2::before {
  content: '\00a7'; display: block; font-style: italic; font-weight: 400; font-size: 1.1rem; color: var(--at-brass); margin-bottom: 0.3rem;
}
.at-post-body h3 { font-variation-settings: 'SOFT' 50; font-weight: 600; font-size: 1.4rem; line-height: 1.25; margin: 2.2rem 0 0.8rem; }
.at-post-body h4 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; }
.at-post-body a { color: var(--at-navy); text-decoration: underline; text-decoration-color: var(--at-brass); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.at-post-body a:hover { color: var(--at-brass-ink); }
.at-post-body strong { color: #1b1b1b; font-weight: 700; }
.at-post-body ul, .at-post-body ol { margin: 0 0 1.6rem; padding-left: 1.6rem; }
.at-post-body li { margin-bottom: 0.6rem; padding-left: 0.3rem; }
.at-post-body ul { list-style: none; padding-left: 1.4rem; }
.at-post-body ul > li { position: relative; }
.at-post-body ul > li::before { content: ''; position: absolute; left: -1.1rem; top: 0.72em; width: 7px; height: 7px; background: var(--at-brass); transform: rotate(45deg); }
.at-post-body ol > li::marker { font-family: var(--at-serif); font-weight: 600; color: var(--at-brass-ink); }
.at-post-body blockquote, .at-post-body .content-quote {
  margin: 2.8rem 0; padding: 1.8rem 0.5rem;
  border: 0; border-top: 1px solid var(--at-brass); border-bottom: 1px solid var(--at-brass);
  background: none;
  font-family: var(--at-serif); font-variation-settings: 'SOFT' 100, 'WONK' 1; font-style: italic; font-weight: 400;
  font-size: 1.55rem; line-height: 1.4; color: var(--at-navy); text-align: center;
  position: relative;
}
.at-post-body blockquote::before, .at-post-body .content-quote::before {
  content: '\201C'; position: absolute; top: -0.62em; left: 50%; transform: translateX(-50%);
  background: var(--at-ivory); padding: 0 0.5rem; font-size: 2.6rem; line-height: 1; color: var(--at-brass); font-style: normal;
}
.at-post-body blockquote p { margin: 0; }
.at-post-body img { max-width: 100%; height: auto; }
.at-post-body hr { border: 0; height: 12px; margin: 2.8rem auto; width: 120px; background: linear-gradient(var(--at-brass), var(--at-brass)) center / 100% 1px no-repeat; position: relative; overflow: visible; }
.at-post-body hr::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; background: var(--at-ivory); border: 1px solid var(--at-brass); transform: translate(-50%, -50%) rotate(45deg); }
.at-post-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.6rem; font-size: 0.95rem; display: block; overflow-x: auto; }
.at-post-body th, .at-post-body td { border-bottom: 1px solid var(--at-line); padding: 0.6rem 0.7rem; text-align: left; }
.at-post-body th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--at-navy); border-bottom: 2px solid var(--at-brass); }
.at-post-body pre { overflow-x: auto; background: var(--at-vellum); padding: 1rem; }
.at-post-body .article-point { margin: 0 0 1.6rem; }
.at-post-body .point-title { font-family: var(--at-serif); color: var(--at-navy); }
.at-post-body .point-description { font-size: inherit; color: inherit; }

.at-notice {
  display: flex; gap: 1.1rem; align-items: flex-start;
  margin: 3rem 0 2rem; padding: 1.4rem 1.5rem;
  background: var(--at-vellum);
  border: 1px solid var(--at-line); border-left: 3px solid var(--at-brass);
}
.at-notice-icon { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--at-brass); color: var(--at-navy); background: var(--at-ivory); }
.at-notice p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--at-ink); }
.at-notice strong { color: var(--at-navy); }

.at-share { display: flex; align-items: center; gap: 0.7rem; padding: 1.4rem 0; border-top: 1px solid var(--at-line); }
.at-share .at-smallcaps { margin-right: auto; }
.at-share a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--at-line); border-radius: 50%; color: var(--at-navy); text-decoration: none; transition: all 0.2s; }
.at-share a:hover { background: var(--at-navy); color: var(--at-brass-lite); border-color: var(--at-navy); }

.at-related { padding: 3.5rem 0 4rem; background: var(--at-vellum); border-top: 1px solid var(--at-line); }
.at-related .at-sec-head { margin-bottom: 2.2rem; }
.at-related .at-ornament::before, .at-related .at-ornament::after { background: var(--at-brass); }
.at-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.at-rcard { display: flex; flex-direction: column; background: var(--at-paper); border: 1px solid var(--at-line); text-decoration: none; color: var(--at-ink); transition: transform 0.25s, box-shadow 0.25s; }
.at-rcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(11, 37, 69, 0.45); }
.at-rcard-top { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.95rem 1.2rem; background: var(--at-navy); border-bottom: 2px solid var(--at-brass); }
.at-rcard-top .at-smallcaps { color: var(--at-brass-lite); font-size: 0.68rem; }
.at-rcard-top i { color: var(--at-brass-lite); }
.at-rcard-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--at-vellum); }
.at-rcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-rcard-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.2rem 1.2rem 1.4rem; }
.at-rcard-title { font-family: var(--at-serif); font-variation-settings: 'SOFT' 50; font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--at-navy); }

/* -------------------------------------------------------------- Colophon */
.at-colophon {
  background: var(--at-navy-deep);
  color: var(--at-mist);
  font-family: var(--at-sans);
  border-top: 1px solid var(--at-brass);
  box-shadow: inset 0 4px 0 var(--at-navy-deep), inset 0 5px 0 rgba(168, 132, 74, 0.5);
}
.at-colophon-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 3.6rem; padding-bottom: 2.4rem; }
.at-colo-seal {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--at-brass); box-shadow: 0 0 0 4px var(--at-navy-deep), 0 0 0 5px rgba(201, 169, 110, 0.4);
  font-family: var(--at-serif); font-size: 1.5rem; color: var(--at-brass-lite); margin-bottom: 1.2rem;
}
.at-colo-name {
  font-family: var(--at-serif); font-optical-sizing: auto; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 600; font-size: 1.9rem; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--at-ivory); text-decoration: none;
}
.at-colo-desc { font-family: var(--at-serif); font-style: italic; font-size: 1.02rem; line-height: 1.55; color: var(--at-mist); max-width: 52ch; margin: 0.6rem 0 1.4rem; }
.at-colo-note {
  max-width: 64ch; margin: 0 0 2.2rem; padding: 0.9rem 1.2rem;
  font-size: 0.84rem; line-height: 1.6; color: var(--at-mist);
  border-top: 1px solid rgba(201, 169, 110, 0.3); border-bottom: 1px solid rgba(201, 169, 110, 0.3);
}
.at-colo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 0.4rem; }
.at-colo-row a { display: inline-flex; align-items: center; text-decoration: none; padding: 0.35rem 0; }
.at-colo-row a + a::before { content: ''; width: 4px; height: 4px; margin: 0 1rem; background: var(--at-brass); transform: rotate(45deg); flex-shrink: 0; }
.at-colo-cats a { font-family: var(--at-serif); font-size: 1rem; color: var(--at-ivory); }
.at-colo-cats a:hover { color: var(--at-brass-lite); }
.at-colo-house { margin-top: 1.1rem; }
.at-colo-house a { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--at-brass-lite); }
.at-colo-house a:hover { color: var(--at-ivory); }
.at-colo-legal { margin: 2.4rem 0 0; padding-top: 1.3rem; width: 100%; border-top: 1px solid rgba(201, 169, 110, 0.22); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--at-mist); }

/* -------------------------------------------------------- Static pages */
main > .container { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; box-sizing: border-box; }
.page-content { background: transparent; border-radius: 0; box-shadow: none; padding: 3.5rem 0 3rem; margin: 0; }
.page-content h1 {
  font-family: var(--at-serif); font-optical-sizing: auto; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.025em;
  color: var(--at-navy); text-align: center;
  padding: 0 0 1.6rem; margin: 0 0 2.5rem;
  border-bottom: 1px solid var(--at-line);
}
.page-content h1::before { content: '\00a7'; display: block; font-size: 1.2rem; font-style: italic; color: var(--at-brass); margin-bottom: 0.6rem; font-weight: 400; }
.page-content h1::after { display: none; }
.page-content h2 { font-family: var(--at-serif); font-variation-settings: 'SOFT' 100; font-weight: 600; font-size: 1.55rem; color: var(--at-navy); margin: 2.4rem 0 0.9rem; }
.page-content h3 { font-family: var(--at-serif); font-weight: 600; font-size: 1.2rem; color: var(--at-navy); }
.page-content p, .page-content li { font-size: 1.04rem; line-height: 1.75; color: var(--at-ink); }
.page-content a { color: var(--at-navy); text-decoration: underline; text-decoration-color: var(--at-brass); text-underline-offset: 3px; }
.page-content a:hover { color: var(--at-brass-ink); }
.page-content strong { color: var(--at-navy); }
.contact-content { gap: 2.5rem; }
.company-details { background: var(--at-paper); border: 1px solid var(--at-line); border-left: 3px solid var(--at-brass); border-radius: 0; padding: 1.3rem 1.4rem; }
.company-details p { margin: 0 0 0.5rem; }
.company-details p:last-child { margin: 0; }
.contact-form { background: var(--at-paper); border: 1px solid var(--at-line); border-top: 4px solid var(--at-navy); border-radius: 0; padding: 1.8rem; }
.contact-form h2 { margin-top: 0; }
.form-group label { font-family: var(--at-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--at-navy); }
.form-group input, .form-group textarea { box-sizing: border-box; border-radius: 0; border: 1px solid #cdc2ab; background: #fff; font-family: var(--at-sans); font-size: 1rem; color: var(--at-ink); padding: 0.8rem 0.9rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--at-navy); box-shadow: 0 0 0 2px rgba(11, 37, 69, 0.2); }
.btn-primary, .btn.btn-primary { background: var(--at-navy); color: var(--at-ivory); border: 1px solid var(--at-navy); border-radius: 0; font-family: var(--at-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 1rem 2rem; cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn-primary:hover { background: transparent; color: var(--at-navy); transform: none; }

/* ---------------------------------------------------------------- About */
.at-about-body { max-width: 720px; margin: 0 auto; padding: 3.5rem 1.5rem 4rem; box-sizing: content-box; }
.at-about-lede { font-family: var(--at-serif); font-variation-settings: 'SOFT' 100; font-weight: 400; font-size: 1.35rem; line-height: 1.55; color: var(--at-navy); margin: 0 0 1rem; }
.at-about-sec { padding-top: 2.4rem; margin-top: 2.4rem; border-top: 1px solid var(--at-line); }
.at-about-sec h2 { font-family: var(--at-serif); font-optical-sizing: auto; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 600; font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; color: var(--at-navy); margin: 0 0 1.1rem; }
.at-about-num { display: block; margin-bottom: 0.5rem; font-family: var(--at-serif); font-variation-settings: 'SOFT' 0, 'WONK' 0; font-weight: 500; font-size: 1.15rem; letter-spacing: 0.14em; color: var(--at-brass-ink); }
.at-about-sec p, .at-about-list li { font-size: 1.04rem; line-height: 1.75; color: var(--at-ink); }
.at-about-sec p { margin: 0 0 1.1rem; }
.at-about-sec a { color: var(--at-navy); text-decoration: underline; text-decoration-color: var(--at-brass); text-underline-offset: 3px; }
.at-about-sec a:hover { color: var(--at-brass-ink); }
.at-about-list { list-style: none; margin: 0 0 1.2rem; padding: 0 0 0 1.4rem; }
.at-about-list li { position: relative; margin-bottom: 0.7rem; }
.at-about-list li::before { content: ''; position: absolute; left: -1.1rem; top: 0.72em; width: 7px; height: 7px; background: var(--at-brass); transform: rotate(45deg); }
.at-about-list strong { color: var(--at-navy); }
.at-about-cats { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--at-line); border-left: 1px solid var(--at-line); }
.at-about-cats a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; background: var(--at-paper); border-right: 1px solid var(--at-line); border-bottom: 1px solid var(--at-line); text-decoration: none !important; font-family: var(--at-serif); font-variation-settings: 'SOFT' 100; font-weight: 600; font-size: 1.08rem; color: var(--at-navy) !important; }
.at-about-cats .at-seal { width: 40px; height: 40px; font-size: 0.95rem; box-shadow: none; }
.at-about-cats a:hover .at-seal { background: var(--at-navy); color: var(--at-brass-lite); }
.at-about-notice { margin: 2.6rem 0 0; }
.at-about-dl { margin: 0; background: var(--at-paper); border: 1px solid var(--at-line); border-left: 3px solid var(--at-brass); }
.at-about-dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--at-line); }
.at-about-dl > div:last-child { border-bottom: 0; }
.at-about-dl dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--at-brass-ink); padding-top: 0.2rem; }
.at-about-dl dd { margin: 0; color: var(--at-ink); overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .at-about-body { padding: 2.4rem 1.1rem 3rem; }
  .at-about-lede { font-size: 1.18rem; }
  .at-about-cats { grid-template-columns: 1fr; }
  .at-about-dl > div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* 404 / error */
.error-page { text-align: center; padding: 6rem 1rem 5rem; }
.error-page h1 { font-family: var(--at-serif); font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 500; font-size: clamp(3rem, 8vw, 5.5rem); color: var(--at-navy); margin: 0 0 1rem; letter-spacing: -0.03em; }
.error-page h1::before { content: '\00a7'; display: block; font-size: 1.4rem; font-style: italic; color: var(--at-brass); margin-bottom: 0.4rem; }
.error-page p { font-family: var(--at-serif); font-style: italic; font-size: 1.2rem; color: var(--at-ink-soft); margin: 0 0 2rem; }
.error-page .button { display: inline-block; padding: 0.95rem 1.9rem; background: var(--at-navy); color: var(--at-ivory); text-decoration: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid var(--at-navy); }
.error-page .button:hover { background: transparent; color: var(--at-navy); }

/* ---------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .at-tiles { grid-template-columns: repeat(2, 1fr); }
  .at-zig { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .at-latest { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
  .at-rows { grid-template-columns: 1fr; }
  .at-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .at-wrap { padding: 0 1.1rem; }
  .at-hero { min-height: 560px; }
  .at-hero::after { inset: 12px; }
  .at-hero-img { filter: saturate(0.9); }
  .at-hero-veil {
    background:
      linear-gradient(180deg, rgba(7, 26, 51, 0.7) 0%, rgba(11, 37, 69, 0.72) 45%, rgba(7, 26, 51, 0.8) 100%);
  }
  .at-hero-title, .at-hero-dek { text-shadow: 0 1px 14px rgba(7, 26, 51, 0.55); }
  .at-hero-cat { color: var(--at-ivory); }
  .at-hero-inner { padding: 4rem 1.4rem 3.6rem; }
  .at-rights { padding: 3.5rem 0 3rem; }
  .at-sec-head { margin-bottom: 2rem; }
  .at-tiles { grid-template-columns: 1fr; }
  .at-tile { padding: 1.4rem 1.2rem; }
  .at-seal { width: 50px; height: 50px; font-size: 1.1rem; }
  .at-zig, .at-zig--rev { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.2rem 0; }
  .at-zig--rev .at-zig-media { order: 0; }
  .at-zig-media::before, .at-zig--rev .at-zig-media::before { inset: 10px -8px -10px 8px; }
  .at-zig-media { margin-right: 8px; }
  .at-numeral { margin-bottom: 0.7rem; }
  .at-featured { padding-bottom: 3rem; }
  .at-featured--cat { padding-top: 2rem; }
  .at-band { padding: 3.5rem 0 3.8rem; }
  .at-latest { grid-template-columns: 1fr; }
  .at-archive { padding: 3.5rem 0 2rem; }
  .at-row { grid-template-columns: 92px 1fr; gap: 1rem; padding: 1.1rem 0; }
  .at-row-title { font-size: 1.05rem; }
  .at-cat-band { padding: 3.2rem 0 2.8rem; }
  .at-seal--lg { width: 70px; height: 70px; font-size: 1.55rem; }
  .at-post { padding: 2rem 1.1rem 1.5rem; }
  .at-post-figure { width: calc(100vw - 1.2rem); padding: 6px; margin: 2rem 0 2.2rem 50%; }
  .at-post-body { font-size: 17px; }
  .at-post-body h1, .at-post-body h2 { font-size: 1.55rem; }
  .at-post-body blockquote, .at-post-body .content-quote { font-size: 1.3rem; }
  .at-dek { font-size: 1.15rem; }
  .at-related-grid { grid-template-columns: 1fr; }
  .contact-content { grid-template-columns: 1fr; }
  .contact-form { padding: 1.4rem; }
  .at-colophon-inner { padding-top: 2.8rem; }
  .at-colo-row { column-gap: 1.3rem; }
  .at-colo-row a + a::before { display: none; }
  .at-colo-cats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; column-gap: 1rem; }
  .at-colo-cats a { justify-content: center; font-size: 0.95rem; }
  .at-colo-house { column-gap: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
