/* Haas Arts · Editorial experience. Presentation only; existing content and URLs remain. */
body.blog {
  --container: 1440px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section-y: clamp(64px, 7vw, 112px);
  --ed-paper: #f6f3ed;
  --ed-ink: #292735;
  --ed-muted: #615b69;
  --ed-violet: #68547f;
  --ed-line: #dcd6cf;
  background: var(--ed-paper);
  color: var(--ed-ink);
  color-scheme: light;
}
body.blog main { isolation: isolate; }
body.blog main [id] { scroll-margin-top: 112px; }
body.blog :is(h1,h2,h3) { overflow-wrap: anywhere; hyphens: auto; }
body.blog :is(a,button,input,select):focus-visible { outline: 3px solid #68547f; outline-offset: 5px; }
body.blog .site-header { position: sticky; top: 0; z-index: 40; background: #f6f3edf2; backdrop-filter: blur(16px); border-bottom: 1px solid var(--ed-line); box-shadow: none; }
body.blog .header-inner { min-height: 90px; gap: 24px; }
body.blog .site-header .brand > .brand__logo { width: 208px; height: auto; }
body.blog .brand__tagline { width: 148px; flex: 0 0 148px; max-width: none; margin: 0 auto 0 0; font-size: 9px; line-height: 1.7; letter-spacing: .08em; color: var(--ed-muted); }
body.blog .primary-nav { gap: 16px; }
body.blog .primary-nav__list { gap: 17px; }
body.blog .primary-nav__list a { font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; }
body.blog .btn { min-height: 46px; border-radius: 2px; padding: 13px 20px; font-size: 13px; line-height: 1.5; white-space: normal; justify-content: center; }
body.blog .btn--sm { min-height: 42px; padding: 10px 14px; font-size: 11px; }
body.blog .btn--accent { background: #49375e; border-color: #49375e; color: #fff; }
body.blog .btn--accent:hover { background: #68547f; border-color: #68547f; color: #fff; }
body.blog .btn--ghost { background: transparent; border-color: #bcb4bf; }

/* A quiet, typographic opening. No scroll hijacking or text-obscuring effects. */
body.blog .hero { padding-block: clamp(58px,7vw,108px) clamp(52px,6vw,88px); background: radial-gradient(ellipse at 94% 10%,#e8e0ed70,transparent 58%); }
body.blog .hero__compact { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: 28px; row-gap: 28px; max-width: var(--container); }
body.blog .hero__compact > .eyebrow { grid-column: 1/-1; margin: 0; }
body.blog .hero__title { grid-column: 1/12; font-size: clamp(42px,6.4vw,92px); line-height: 1.02; letter-spacing: -.065em; font-weight: 500; margin: 0; max-width: 20ch; text-wrap: balance; }
body.blog .hero__compact > .lead { grid-column: 8/-1; grid-row: 3; align-self: end; font-size: clamp(16px,1.3vw,18px); line-height: 1.8; margin: 0; max-width: 48ch; }
body.blog .hero__actions { grid-column: 1/8; grid-row: 3; align-self: end; gap: 12px; margin: 0; }
body.blog .hero__meta { grid-column: 1/-1; }
body.blog .eyebrow { font-size: 10px; letter-spacing: .14em; color: var(--ed-muted); }
body.blog .section-head { padding-bottom: 24px; margin-bottom: 36px; border-bottom: 1px solid var(--ed-line); }
body.blog .section-head__title { font-size: clamp(28px,3vw,43px); line-height: 1.14; font-weight: 500; letter-spacing: -.04em; }
body.blog .section--tight { padding-block: clamp(50px,5vw,76px); }

/* Existing article order and links, presented as a visual editorial index. */
body.blog .card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 52px 32px; }
body.blog .card-grid > li { min-width: 0; }
body.blog .card { min-width: 0; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--ed-line); border-radius: 0; background: transparent; box-shadow: none; gap: 16px; transition: transform .28s ease,border-color .28s ease; }
body.blog .card:hover { transform: translateY(-4px); border-color: #68547f; box-shadow: none; }
body.blog .card__meta { gap: 12px; margin-top: 5px; }
body.blog .card__meta .tag { padding: 0; border: 0; background: transparent; color: #49375e; font: 500 10px/1.7 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
body.blog .card__type { font-size: 9px; line-height: 1.7; letter-spacing: .06em; color: var(--ed-muted); }
body.blog .card__title { font-size: clamp(22px,2vw,29px); line-height: 1.22; font-weight: 500; letter-spacing: -.035em; text-wrap: pretty; }
body.blog .card__title a { text-decoration: none; }
body.blog .card__text { font-size: 15px; line-height: 1.8; color: #55515e; }
body.blog .card__foot { gap: 7px; font-size: 10px; padding-top: 18px; border-top: 0; }
body.blog .card__more { min-height: 36px; display: inline-flex; align-items: center; margin-left: auto; }
body.blog .card__purchase { margin: 0; }
body.blog .editorial-card-visual { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 16/10; background: linear-gradient(140deg,#eee9f3,#f0ede7 70%); border: 1px solid #e5dfd9; border-radius: 2px; text-decoration: none; }
body.blog .editorial-card-visual img { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; padding: 12px; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
body.blog .editorial-card-visual--contained img { padding: clamp(20px,3vw,38px); }
@media(hover:hover) { body.blog .card:hover .editorial-card-visual img { transform: scale(1.035); } }
body.blog .featured-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 28px 40px; }
body.blog .featured-grid > .card { grid-column: span 6; }
body.blog .featured-grid > .card:first-child { grid-row: span 2; }
body.blog .featured-grid > .card:first-child .card__title { font-size: clamp(28px,3vw,40px); line-height: 1.16; letter-spacing: -.045em; }
body.blog .featured-grid > .card:not(:first-child) { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); column-gap: 24px; row-gap: 12px; align-content: start; }
body.blog .featured-grid > .card:not(:first-child) .editorial-card-visual { grid-column: 1; grid-row: 1/span 4; aspect-ratio: auto; min-height: 220px; height: 100%; }
body.blog .featured-grid > .card:not(:first-child) > :not(.editorial-card-visual) { grid-column: 2; }
body.blog .featured-grid > .card:not(:first-child) .card__title { font-size: clamp(21px,1.9vw,27px); }
body.blog .featured-grid > .card:not(:first-child) .card__text { font-size: 14px; }
body.blog .featured-grid > .card:not(:first-child) .card__foot { margin-top: 0; padding-top: 0; }
body.blog .featured-grid > .card:not(:first-child):not(:has(.editorial-card-visual)) { display: flex; }

/* Search, filters and archives keep their original controls and behavior. */
body.blog .section-head__tools { max-width: 100%; }
body.blog .search { border: 1px solid #bcb4bf; border-radius: 2px; background: #fbf9f5; padding: 5px; gap: 8px; }
body.blog .search:focus-within { outline: 2px solid #68547f; outline-offset: 3px; }
body.blog .search__input { min-width: 0; width: min(250px,100%); border: 0; background: transparent; border-radius: 0; font-size: 14px; padding: 10px; }
body.blog .search__input:focus-visible { outline: none; }
body.blog .search__status { font-size: 12px; line-height: 1.7; }
body.blog .filter { gap: 20px; padding: 24px; border: 1px solid var(--ed-line); background: #fbf9f5; border-radius: 2px; }
body.blog .filter__select { min-height: 46px; max-width: 100%; border-radius: 2px; }
body.blog .archive-year { margin-block: 56px; }
body.blog .archive-year__title { font-size: 36px; letter-spacing: -.045em; font-weight: 500; }
body.blog .archive-item__link { grid-template-columns: 100px minmax(0,1fr) 150px; padding-block: 23px; gap: 24px; }
body.blog .archive-item__title { font-size: 20px; font-weight: 500; line-height: 1.4; }
body.blog .archive-item__date,body.blog .archive-item__category { font-size: 11px; line-height: 1.7; }

/* Reading is intentionally calmer than the overview. Original article markup stays intact. */
body.blog .article { width: 100%; max-width: var(--container); margin-inline: auto; padding-top: clamp(54px,7vw,108px); padding-inline: var(--gutter); }
body.blog .article__header { max-width: 1080px; margin-bottom: clamp(42px,5vw,72px); }
body.blog .article__title { font-size: clamp(36px,5vw,72px); line-height: 1.08; font-weight: 500; letter-spacing: -.055em; margin-block: 22px 30px; max-width: 24ch; text-wrap: balance; }
body.blog .article__lead { max-width: 64ch; font-size: clamp(18px,1.6vw,22px); line-height: 1.75; margin-bottom: 28px; }
body.blog .article__meta { gap: 10px; font-size: 11px; line-height: 1.8; }
body.blog .article > .prose { max-width: 70ch; font-size: clamp(17px,1.3vw,19px); line-height: 1.88; }
body.blog .article .prose > p { margin-bottom: 1.5em; }
body.blog .article .prose :is(h2,h3) { line-height: 1.25; letter-spacing: -.035em; text-wrap: pretty; }
body.blog .article .prose h2 { font-size: clamp(26px,2.8vw,36px); margin-top: 2.2em; margin-bottom: .8em; }
body.blog .article .prose h3 { font-size: clamp(22px,2.2vw,28px); margin-top: 1.8em; }
body.blog .article .prose li { margin-block: .45em; }
body.blog .article .prose blockquote { border-left: 2px solid #68547f; padding: 12px 0 12px 28px; background: transparent; color: #49375e; font-size: 1.13em; }
body.blog .article .heading-anchor { font-size: .55em; margin-left: .45em; }
body.blog .article__media { max-width: 1120px; margin-block: 56px; }
body.blog .article__media img { border: 1px solid var(--ed-line); border-radius: 2px; max-height: 700px; width: 100%; object-fit: contain; background: #eeeae3; }
body.blog .article .prose > figure { width: min(1120px,calc(100vw - 2 * var(--gutter))); max-width: none; margin-inline: calc((100% - min(1120px,calc(100vw - 2 * var(--gutter)))) / 2); margin-block: clamp(38px,5vw,70px); }
body.blog .article .prose figure img { border-radius: 2px; border: 1px solid var(--ed-line); background: #eeeae3; }
body.blog .article :is(.article__media,.prose figure) figcaption { font-size: 12px; line-height: 1.8; color: var(--ed-muted); padding-top: 9px; max-width: 80ch; }
body.blog .article .prose pre { max-width: 100%; border-radius: 2px; overflow: auto; }
body.blog .article .prose table { font-size: .88em; }
body.blog .article > .related { max-width: 100%; margin-block: 88px; }
body.blog .related__title { font-size: clamp(28px,3vw,42px); font-weight: 500; letter-spacing: -.04em; margin-bottom: 32px; }
body.blog .related .card__title { font-size: clamp(21px,2vw,27px); }
body.blog .project-box,body.blog .cta { border-radius: 2px; }
body.blog .share { border-block: 1px solid var(--ed-line); padding-block: 28px; margin-block: 52px; }

/* The existing newsletter CTA remains the same content and destination. */
body.blog .newsletter-invite { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: 40px; row-gap: 20px; margin-block: 80px; padding: clamp(28px,5vw,64px); background: #eee9f3; border: 0; }
body.blog .newsletter-invite__eyebrow { grid-column: 1/-1; }
body.blog .newsletter-invite__title { grid-column: 1/9; font-size: clamp(30px,3.5vw,48px); margin: 0; }
body.blog .newsletter-invite > p:not([class]) { grid-column: 1/9; font-size: 16px; margin: 0; }
body.blog .newsletter-invite__actions { grid-column: 9/-1; grid-row: 2/span 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; margin: 0; gap: 16px; }
body.blog .newsletter-invite__note { grid-column: 1/-1; max-width: 86ch; font-size: 12px; margin: 0; }
body.blog .site-footer { background: #eeeae3; border-top: 1px solid var(--ed-line); padding-top: 68px; }
body.blog .footer__grid { gap: 44px; }
body.blog .footer__bottom { gap: 24px; padding-top: 30px; }

/* Optional JavaScript enhancement: native modal, explicit controls, no hidden reading content. */
body.blog .editorial-zoomable { position: relative; }
body.blog .editorial-image-trigger { position: absolute; right: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid #dcd6cf; border-radius: 2px; padding: 9px 13px; background: #fbf9f5f2; color: #49375e; font: 500 12px/1.4 var(--font-sans); cursor: zoom-in; box-shadow: 0 3px 14px #2927350a; }
body.blog .editorial-image-trigger svg { width: 16px; height: 16px; }
body.blog .editorial-inline-trigger { position: static; margin-block: 10px; }
body.blog .editorial-image-trigger:hover { background: #fff; border-color: #68547f; }
body.blog .editorial-zoomable img[data-editorial-open] { cursor: zoom-in; }
body.blog.editorial-ready > .im-read { display: none; }
.editorial-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 65; pointer-events: none; }
.editorial-progress > span { display: block; height: 100%; background: #68547f; transform: scaleX(0); transform-origin: left; }
html.editorial-dialog-open { overflow: hidden; scrollbar-gutter: stable; }
.editorial-lightbox { width: min(1440px,calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #766c83; border-radius: 3px; background: #292735; color: #f6f3ed; box-shadow: 0 24px 100px #0005; }
.editorial-lightbox::backdrop { background: #201e2be8; backdrop-filter: blur(8px); }
.editorial-lightbox [hidden] { display: none !important; }
.editorial-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; }
.editorial-lightbox-counter { font: 12px/1.5 var(--font-mono); color: #d4c8df; }
.editorial-lightbox-tools { display: flex; gap: 8px; margin-left: auto; }
.editorial-lightbox :is(button,a) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 10px 13px; border: 1px solid #85788f; border-radius: 2px; background: transparent; color: #f6f3ed; text-decoration: none; font: 500 12px/1.4 var(--font-sans); cursor: pointer; }
.editorial-lightbox :is(button,a):hover { background: #493e57; }
.editorial-lightbox :is(button,a):focus-visible,.editorial-lightbox-stage:focus-visible { outline: 3px solid #d4b5f1; outline-offset: -4px; }
.editorial-lightbox svg { width: 18px; height: 18px; }
.editorial-lightbox-stage { display: grid; place-items: center; height: min(72dvh,900px); padding: 18px; overflow: auto; background: #eeeae3; overscroll-behavior: contain; }
.editorial-lightbox-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(min(72dvh,900px) - 36px); object-fit: contain; margin: auto; }
.editorial-lightbox.is-zoomed .editorial-lightbox-stage { display: block; }
.editorial-lightbox.is-zoomed .editorial-lightbox-stage img { max-width: none; max-height: none; }
.editorial-lightbox-foot { display: flex; align-items: center; gap: 20px; padding: 16px 18px; }
.editorial-lightbox-caption { margin: 0; font: 13px/1.7 var(--font-sans); overflow-wrap: anywhere; max-height: 5em; overflow: auto; flex: 1; }
.editorial-lightbox-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.editorial-lightbox.is-loading .editorial-lightbox-stage { opacity: .65; }

@media(max-width:1100px) {
  body.blog .header-inner { min-height: 80px; justify-content: space-between; }
  body.blog .brand__tagline { display: none; }
  body.blog .nav-toggle { display: inline-flex; width: 46px; height: 46px; margin-left: auto; }
  body.blog .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 22px var(--gutter) 28px; border-bottom: 1px solid var(--ed-line); background: var(--ed-paper); flex-direction: column; align-items: stretch; max-height: calc(100dvh - 82px); overflow-y: auto; }
  body.blog .primary-nav.is-open { display: flex; }
  body.blog .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  body.blog .primary-nav__list a { min-height: 46px; font-size: 15px; }
  body.blog .hero__compact > .lead { grid-column: 7/-1; }
  body.blog .hero__actions { grid-column: 1/7; }
  body.blog .featured-grid { column-gap: 28px; }
  body.blog .featured-grid > .card:not(:first-child) { display: flex; }
  body.blog .featured-grid > .card:not(:first-child) .editorial-card-visual { aspect-ratio: 16/9; min-height: 0; height: auto; }
  body.blog .featured-grid > .card:first-child { grid-row: auto; grid-column: 1/-1; }
  body.blog .featured-grid > .card:first-child .editorial-card-visual { max-height: 440px; }
  body.blog .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 28px; }
  body.blog .newsletter-invite__title,body.blog .newsletter-invite > p:not([class]) { grid-column: 1/8; }
  body.blog .newsletter-invite__actions { grid-column: 8/-1; }
  html:not(.js) body.blog .site-header { position: relative; }
  html:not(.js) body.blog .header-inner { flex-wrap: wrap; }
  html:not(.js) body.blog .nav-toggle { display: none; }
  html:not(.js) body.blog .primary-nav { display: flex; position: static; flex-basis: 100%; max-height: none; padding-inline: 0; border: 0; }
  html:not(.js) body.blog .primary-nav__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
  body.blog .hero__compact { display: flex; flex-direction: column; gap: 24px; }
  body.blog .hero__title { font-size: clamp(38px,8.7vw,64px); max-width: 20ch; }
  body.blog .hero__compact > .lead { max-width: 54ch; align-self: auto; }
  body.blog .hero__actions { align-self: auto; margin-top: 4px; }
  body.blog .hero__compact > .lead { order: 0; }
  body.blog .featured-grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
  body.blog .featured-grid > .card { grid-column: auto; grid-row: auto; }
  body.blog .featured-grid > .card:first-child { grid-column: auto; }
  body.blog .featured-grid > .card:first-child .card__title { font-size: 30px; }
  body.blog .featured-grid > .card:not(:first-child) .card__title { font-size: 26px; }
  body.blog .section-head--row { align-items: stretch; }
  body.blog .section-head__tools { width: 100%; }
  body.blog .search { width: 100%; }
  body.blog .search__input { flex: 1; width: 0; }
  body.blog .archive-item__link { grid-template-columns: minmax(0,1fr); gap: 6px; }
  body.blog .article__header { margin-bottom: 36px; }
  body.blog .article__title { font-size: clamp(34px,7.2vw,52px); letter-spacing: -.045em; margin-block: 18px 24px; }
  body.blog .article > .related { margin-block: 60px; }
  body.blog .newsletter-invite { display: flex; flex-direction: column; gap: 20px; margin-block: 52px; }
  body.blog .newsletter-invite__actions { align-items: flex-start; }
  body.blog .editorial-image-trigger { top: 8px; right: 8px; font-size: 11px; padding: 9px 10px; }
  .editorial-lightbox { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .editorial-lightbox-bar { padding: 8px; gap: 8px; }
  .editorial-lightbox-tools { gap: 6px; }
  .editorial-lightbox-tools a { font-size: 11px; }
  .editorial-lightbox-stage { height: 62dvh; padding: 8px; }
  .editorial-lightbox-stage img { max-height: calc(62dvh - 16px); }
  .editorial-lightbox-foot { padding: 12px; flex-wrap: wrap; gap: 12px; }
  .editorial-lightbox-caption { flex-basis: calc(100% - 120px); font-size: 12px; }
}
@media(max-width:520px) {
  body.blog .site-header .brand > .brand__logo { width: 176px; }
  body.blog .card-grid { grid-template-columns: minmax(0,1fr); }
  body.blog .hero__actions .btn { flex: 1 1 130px; }
  body.blog .card__title { font-size: 26px; }
  body.blog .article .prose blockquote { padding-left: 18px; }
  body.blog .footer__grid { gap: 30px; }
  .editorial-lightbox-tools .editorial-zoom-label { display: none; }
}
@media(prefers-reduced-motion:reduce) {
  body.blog *,body.blog *::before,body.blog *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  body.blog .card:hover,body.blog .card:hover .editorial-card-visual img { transform: none; }
}
@media print {
  body.blog { background: #fff; color: #000; }
  body.blog .editorial-card-visual,body.blog .editorial-image-trigger,.editorial-progress,.editorial-lightbox { display: none !important; }
  body.blog .card-grid,body.blog .featured-grid { display: block; }
  body.blog .card { break-inside: avoid; margin-block: 24px; }
  body.blog .article .prose > figure { width: 100%; max-width: 100%; margin-inline: 0; }
  body.blog .hero__title,body.blog .article__title { font-size: 30pt; }
  body.blog .article > .prose { max-width: none; font-size: 11pt; }
}
