:root {
  color-scheme: light;
  --navy: #071f3f;
  --secondary: #3a536b;
  --blue: #e5f8ff;
  --red: #d62325;
  --white: #fff;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  color: var(--navy);
  background: var(--blue);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 3px solid #a12227; outline-offset: 4px; }
.shell { width: min(100% - 3rem, 1440px); margin-inline: auto; }
.header { background: var(--white); }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-size: clamp(1.1rem, 2.2vw, 1.8rem); font-weight: 650; letter-spacing: -.025em; }
.brand img { border-radius: 50%; }
nav { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.6rem); }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
nav a:not(.button):hover,
body:has(#books:target) nav a[href="#books"],
body:has(#etsy:target) nav a[href="#etsy"],
body:has(#photography:target) nav a[href="#photography"] {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: .3em;
}
.banner { width: 100%; height: auto; }
.collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding-block: 1.5rem 2rem; }
.panel { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid #cbe7f1; border-radius: 1rem; background: var(--white); box-shadow: 0 .35rem 1rem #163b5910; scroll-margin-top: 1rem; }
.panel:target { outline: 2px solid #17618b; outline-offset: 2px; }
h2 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -.03em; line-height: 1.15; }
h2::after { display: block; width: 1.75rem; height: 3px; margin-top: .65rem; background: var(--red); content: ""; }
.intro { color: var(--secondary); line-height: 1.5; margin: .75rem 0 1.1rem; }
.pair { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
article { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.art { width: 100%; height: auto; border-radius: .45rem; }
.book-art { display: grid; place-items: center; height: clamp(7rem, 14vw, 13rem); background: #f0f6f8; padding: .45rem; }
.book-art img { width: auto; height: 100%; min-height: 0; object-fit: contain; box-shadow: 0 2px 5px #071f3f30; }
.card-art { aspect-ratio: 7 / 5; object-fit: contain; background: #f0f6f8; }
h3 { font-size: 1rem; line-height: 1.3; margin: .65rem 0 .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; max-width: 100%; padding: .55rem .8rem; border-radius: .45rem; background: var(--navy); color: var(--white); font-weight: 500; text-decoration: none; }
.button:hover { background: #174c74; }
.books .button { margin-top: auto; }
.section-action { margin-top: auto; }
figure { width: 100%; margin-bottom: 1rem; }
.photo-art { aspect-ratio: 3 / 2; object-fit: cover; }
figcaption { color: var(--secondary); font-size: .9rem; margin-top: .45rem; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; padding: 1.25rem; border-top: 1px solid #cbe7f1; background: var(--white); color: var(--secondary); font-size: .9rem; }
footer a { text-underline-offset: .2em; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: .5rem; left: .5rem; z-index: 1; padding: .6rem; background: var(--white); }
@media (max-width: 900px) {
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-art { height: clamp(10rem, 25vw, 15rem); }
  .intro { min-height: 3em; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 1.5rem, 1440px); }
  .header-inner { flex-wrap: wrap; justify-content: center; gap: .4rem; padding-block: .45rem .65rem; }
  .brand img { width: 42px; height: 42px; }
  nav { flex-wrap: wrap; justify-content: center; gap: .25rem .85rem; width: 100%; }
  .collections { grid-template-columns: 1fr; gap: .85rem; padding-top: .85rem; }
  .book-art { height: clamp(9rem, 44vw, 15rem); }
  .intro { min-height: 0; }
}
