@font-face {
  font-family: Inter;
  src: url("./media/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./media/instrument.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./media/instrument-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

.jbjart-home {
  --paper: #faf9f5;
  --ink: #252720;
  --muted: #595b50;
  --green: #344b3c;
  --line: #d9d5c8;
  --display: "Instrument Serif", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
}

.jbjart-home *, .jbjart-home *::before, .jbjart-home *::after { box-sizing: border-box; }
html:has(body.jbjart-home-page) { scroll-padding-top: 1.5rem; }
.jbjart-home { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--body); }
.jbjart-home button { font: inherit; color: inherit; }
.jbjart-home a { color: inherit; }
.jbjart-home img { display: block; max-width: 100%; height: auto; }
.jbjart-home [hidden] { display: none !important; }
.jbjart-home figure, .jbjart-home p, .jbjart-home h1, .jbjart-home h2, .jbjart-home h3 { margin: 0; }
.jbjart-home :focus-visible { outline: 3px solid #345fb0; outline-offset: 5px; }
.jbjart-home ::selection { color: #24261f; background: #efc6b9; }
.jbjart-home .wrap { width: min(1200px, calc(100% - 5.75rem)); margin-inline: auto; }
.jbjart-home-skip-link { position: absolute; color: #252720; z-index: 3; left: 1rem; top: 1rem; padding: .6rem 1rem; background: #faf9f5; }
.jbjart-home-skip-link:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }

.jbjart-home .site-header { background: #fdfcf8; border-bottom: 1px solid var(--line); }
.jbjart-home .site-banner {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: .75rem 1rem;
  color: #fff;
  text-align: center;
  background: linear-gradient(rgb(22 24 31 / 36%), rgb(22 24 31 / 36%)), url("./media/leaf-banner.webp") center 51% / cover;
}
.jbjart-home .site-banner p { font-size: clamp(.96rem, 1.5vw, 1.22rem); font-weight: 500; }
.jbjart-home .masthead { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.jbjart-home .site-name { font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; letter-spacing: -.015em; }
.jbjart-home .site-name strong { font-weight: 760; }
.jbjart-home .site-menu { display: flex; align-items: center; justify-content: flex-end; gap: .35rem clamp(.73rem, 1.7vw, 1.5rem); flex-wrap: wrap; }
.jbjart-home .site-menu a {
  padding-block: .6rem;
  font-size: .8875rem;
  font-weight: 540;
  line-height: 1.35;
  text-decoration: none;
  text-underline-offset: .38em;
}
.jbjart-home .site-menu a:hover, .jbjart-home .site-menu [aria-current="page"] { text-decoration: underline; }
.jbjart-home .menu-toggle { display: none; align-items: center; gap: .65rem; background: none; border: 1px solid #aaa99e; padding: .4rem .72rem; min-height: 44px; cursor: pointer; }
.jbjart-home .menu-toggle span { display: inline-block; width: .95rem; height: .65rem; border-block: 1.5px solid currentColor; position: relative; }
.jbjart-home .menu-toggle span::after { position: absolute; content: ""; width: 100%; height: 1.5px; inset: calc(50% - .75px) 0 auto; background: currentColor; }

.jbjart-home .hero { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(2rem, 6.4vw, 6rem); padding-block: clamp(2.5rem, 4.6vw, 4.4rem) clamp(2.8rem, 5.7vw, 5rem); }
.jbjart-home .hero h1 { font: 400 clamp(4rem, 6.6vw, 6.15rem)/.9 var(--display); letter-spacing: -.025em; }
.jbjart-home .hero h1 em { color: var(--green); }
.jbjart-home .hero-copy p { max-width: 28rem; margin-top: 1.55rem; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.jbjart-home .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .68rem 1.35rem; margin-top: 1.45rem; }
.jbjart-home .button {
  min-height: 49px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .6rem .97rem;
  font-size: .92rem;
  font-weight: 680;
  text-decoration: none;
}
.jbjart-home .button-primary { color: #fff; background: var(--green); border: 1px solid var(--green); }
.jbjart-home .button-primary:hover { background: #263b2d; }
.jbjart-home .text-link { font-size: .93rem; font-weight: 670; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.jbjart-home .text-link:hover { text-decoration-thickness: 2px; }
.jbjart-home .hero-mat { display: grid; place-items: center; padding: clamp(1.25rem, 3vw, 2.6rem); background: #efe8dc; }
.jbjart-home .hero-mat img { width: min(100%, 333px); box-shadow: 0 7px 21px rgb(37 27 22 / 18%); }
.jbjart-home .hero-mat:hover img, .jbjart-home .art-mat:hover img { filter: brightness(1.04); }
.jbjart-home .hero-art figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; padding-top: .65rem; color: var(--muted); font-size: .89rem; }

.jbjart-home .collections { border-block: 1px solid var(--line); background: #f1eee5; padding-block: clamp(3rem, 6vw, 5rem); }
.jbjart-home .section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.45rem; }
.jbjart-home .section-heading h2, .jbjart-home .about h2, .jbjart-home .services h2 { font: 400 clamp(3.2rem, 5.8vw, 5.15rem)/.93 var(--display); letter-spacing: -.018em; }
.jbjart-home .art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.2rem); }
.jbjart-home .collection { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.jbjart-home .art-mat { width: 100%; aspect-ratio: 6 / 5.8; display: grid; place-items: center; overflow: hidden; padding: 1rem; }
.jbjart-home .art-mat img { width: auto; height: 100%; max-width: 100%; min-height: 0; object-fit: contain; }
.jbjart-home .cycling-mat { background: #ded6c8; }
.jbjart-home .botanical-mat { background: #dfe2d7; }
.jbjart-home .pastel-mat { background: #e7d8d1; }
.jbjart-home .collection h3 { margin-top: .85rem; font: 400 clamp(2.15rem, 3vw, 3.1rem)/1 var(--display); }
.jbjart-home .collection p { margin-top: .5rem; color: var(--muted); }
.jbjart-home .collection > .text-link, .jbjart-home .collection-links { margin-top: auto; padding-top: .7rem; }
.jbjart-home .collection-links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }

.jbjart-home .about { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); align-items: center; gap: clamp(2rem, 7.9vw, 7.5rem); width: min(980px, calc(100% - 5.75rem)); padding-block: clamp(3rem, 6vw, 5.8rem); }
.jbjart-home .portrait { padding: clamp(.75rem, 2.3vw, 1.5rem); background: #e9e4d7; }
.jbjart-home .portrait a, .jbjart-home .album a { display: block; }
.jbjart-home .portrait img { width: 100%; }
.jbjart-home .about p { max-width: 29rem; margin-block: 1rem .8rem; color: var(--muted); }
.jbjart-home .services { background: #293a30; color: #f9f6ee; padding-block: clamp(2.75rem, 5.5vw, 4.7rem); }
.jbjart-home .services :focus-visible { outline-color: #f0d4a7; }
.jbjart-home .services-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 4vw, 3.5rem); }
.jbjart-home .services h2 { font-size: clamp(2.7rem, 4.85vw, 4.25rem); }
.jbjart-home .services p { margin-block: .9rem 1rem; color: #e3e7dd; max-width: 30rem; }
.jbjart-home .licensing { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.53fr); gap: 1.4rem; align-items: start; padding-left: clamp(2rem, 4.5vw, 4rem); border-left: 1px solid #57665a; }
.jbjart-home .shop-links { display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; }
.jbjart-home .album img { width: 100%; }
.jbjart-home .album figcaption { color: #e3e7dd; font-size: .81rem; margin-top: .4rem; }
.jbjart-home .footer { background: #fdfcf8; color: var(--muted); }
.jbjart-home .footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; min-height: 70px; padding-block: .8rem; font-size: .875rem; }
.jbjart-home .footer-inner div { display: flex; gap: .75rem 1.5rem; flex-wrap: wrap; }
.jbjart-home .back-to-top { padding: 0; border: 0; background: transparent; text-decoration-line: underline; cursor: pointer; }
.jbjart-home .social-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .65rem; padding: 2rem 1rem; background: #f3f5f6; border-bottom: 1px solid var(--line); }
.jbjart-home .social-links a { display: block; border-radius: 50%; }
.jbjart-home .social-links img { width: 53px; height: 53px; }
.jbjart-home .social-links a:hover img { filter: brightness(1.08); }

@media (max-width: 1050px) {
  .jbjart-home .wrap { width: calc(100% - 3.5rem); }
  .jbjart-home .hero { gap: 2.2rem; }
  .jbjart-home .hero h1 { font-size: clamp(3.7rem, 7.7vw, 5.1rem); }
}
@media (max-width: 900px) {
  .jbjart-home .masthead { flex-wrap: wrap; padding-block: .65rem; gap: .5rem; }
  .jbjart-home .site-menu { width: 100%; justify-content: flex-start; }
  .jbjart-home .has-menu-toggle .menu-toggle { display: inline-flex; }
  .jbjart-home .has-menu-toggle:not(.menu-open) .site-menu { display: none; }
  .jbjart-home .menu-open .site-menu { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .05rem .65rem; padding-block: .7rem .15rem; border-top: 1px solid var(--line); }
  .jbjart-home .site-menu a { padding-block: .62rem; min-height: 42px; }
  .jbjart-home .licensing { align-items: end; }
}
@media (max-width: 710px) {
  .jbjart-home .wrap { width: calc(100% - 2.1rem); }
  .jbjart-home .site-banner { min-height: 89px; }
  .jbjart-home .hero, .jbjart-home .services-grid { grid-template-columns: minmax(0,1fr); }
  .jbjart-home .hero h1 { font-size: clamp(3.6rem, 10vw, 6rem); }
  .jbjart-home .hero-copy p { margin-top: 1.1rem; }
  .jbjart-home .actions { margin-top: 1.1rem; }
  .jbjart-home .art-grid { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 1.5rem; }
  .jbjart-home .about { grid-template-columns: minmax(0,.75fr) minmax(0,1fr); gap: 1.2rem; }
  .jbjart-home .licensing { border-left: 0; border-top: 1px solid #57665a; padding: 1.75rem 0 0; }
  .jbjart-home .album { max-width: 155px; }
}
@media (max-width: 420px) {
  .jbjart-home .art-grid, .jbjart-home .about { grid-template-columns: 1fr; }
  .jbjart-home .art-mat { aspect-ratio: 6 / 5.5; }
  .jbjart-home .portrait { grid-row: 2; max-width: 280px; }
  .jbjart-home .licensing { grid-template-columns: minmax(0,1fr) minmax(0,.45fr); gap: .75rem; }
  .jbjart-home .services h2 { font-size: clamp(2.5rem, 10vw, 3.2rem); }
}
@media (max-width: 420px) {
  .jbjart-home .site-name, .jbjart-home .menu-toggle { font-size: .875rem; }
  .jbjart-home .menu-toggle { padding-inline: .55rem; }
  .jbjart-home .site-menu a { overflow-wrap: anywhere; }
}
@media (max-width: 365px) {
  .jbjart-home .menu-open .site-menu { grid-template-columns: 1fr; }
}

body.jbjart-home-page { margin: 0; }
.wp-site-blocks > .jbjart-home-content { margin-block-start: 0; }
.jbjart-home .text-link { color: inherit; text-decoration-line: underline; }
.jbjart-home .hero h1,
.jbjart-home .section-heading h2,
.jbjart-home .collection h3,
.jbjart-home .about h2 { color: var(--ink); }
.jbjart-home .services h2 { color: inherit; }

.jbjart-home.jbjart-blocks .wp-block-group { --wp--style--block-gap: 0px; }
.jbjart-home.jbjart-blocks .wp-block-image { margin-block: 0; }
.jbjart-home.jbjart-blocks .wp-block-image figcaption { margin-block: 0; }
.jbjart-home .hero-print > a {
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 3vw, 2.6rem);
  background: #efe8dc;
}
.jbjart-home .hero-print img { width: min(100%, 333px); box-shadow: 0 7px 21px rgb(37 27 22 / 18%); }
.jbjart-home .hero-print a:hover img { filter: brightness(1.04); }
.jbjart-home.jbjart-blocks .art-mat { display: block; aspect-ratio: auto; overflow: visible; padding: 0; background: none; }
.jbjart-home.jbjart-blocks .art-mat > a {
  box-sizing: border-box;
  aspect-ratio: 6 / 5.8;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  padding: 1rem;
  overflow: hidden;
}
.jbjart-home.jbjart-blocks .cycling-mat > a { background: #ded6c8; }
.jbjart-home.jbjart-blocks .botanical-mat > a { background: #dfe2d7; }
.jbjart-home.jbjart-blocks .pastel-mat > a { background: #e7d8d1; }
.jbjart-home.jbjart-blocks .art-mat figcaption,
.jbjart-home.jbjart-blocks .portrait figcaption { padding-top: .45rem; color: var(--muted); }
.jbjart-home.jbjart-blocks .album figcaption { padding-top: .4rem; }
.jbjart-home.jbjart-blocks .collection > .jbjart-link-wrap { margin-top: auto; padding-top: .7rem; }
.jbjart-home.jbjart-blocks .collection-links p,
.jbjart-home.jbjart-blocks .shop-links p { margin: 0; }

@media (max-width: 420px) {
  .jbjart-home.jbjart-blocks .art-mat > a { aspect-ratio: 6 / 5.5; }
}
