:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --ink: #26372f;
  --muted: #5c685f;
  --line: #d3d9ce;
  --accent: #a13f2c;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button,
input,
select,
a {
  touch-action: manipulation;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #315cb8;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.shell {
  max-width: 1240px;
  margin: auto;
  padding: 0 36px;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  min-height: 94px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 32px;
  letter-spacing: -1.5px;
  font-weight: 700;
}
.brand > span:first-child {
  font-size: 37px;
  font-weight: 400;
  color: var(--accent);
  margin-right: 4px;
}
.brand .period {
  color: var(--accent);
  margin-left: -8px;
}
.maker {
  font-size: 13px;
  text-decoration: none;
  min-height: 44px;
  align-content: center;
}
.intro {
  padding: 38px 0 28px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: var(--muted);
}
h1 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 4.7vw, 61px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 400;
  margin: 12px 0 14px;
}
h1 em {
  color: var(--accent);
  font-weight: 400;
}
.intro > p:last-child {
  color: var(--muted);
  font-size: 16px;
}
.filters {
  padding: 0 0 25px;
  border-bottom: 1px solid var(--line);
}
#search-form > label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}
.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #aebba7;
  border-radius: 10px;
  background: #fffefa;
  min-height: 58px;
  max-width: 720px;
  padding: 0 15px;
  gap: 12px;
}
.search-box > span {
  font-size: 30px;
  color: var(--muted);
}
input[type="search"] {
  border: 0;
  background: transparent;
  outline-offset: 0;
  min-width: 0;
  width: 100%;
  font-size: 17px;
  padding: 13px 0;
  appearance: none;
}
input[type="search"]::-webkit-search-cancel-button {
  display: none;
}
#clear-search {
  border: 0;
  background: transparent;
  font-size: 26px;
  min-width: 44px;
  min-height: 44px;
}
.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}
.categories {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.categories button {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  min-height: 44px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 550;
}
.categories button span {
  margin-left: 6px;
  font-size: 11px;
  opacity: 0.9;
}
.categories button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.categories button:hover:not([aria-pressed="true"]) {
  background: #e8ecdf;
}
.topic-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
select {
  background: #fffefa;
  border: 1px solid #aebba7;
  border-radius: 7px;
  font-size: 14px;
  padding: 9px 10px;
  min-height: 44px;
  max-width: 100%;
}
.muted {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 18px;
}
.results-heading h2 {
  font-size: 17px;
  font-weight: 600;
}
.results-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.text-button {
  background: transparent;
  border: 0;
  min-height: 44px;
  text-decoration: underline;
  padding: 0 3px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}
.catalog-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fffefa;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.art {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-overlap {
  background: #dfe6f5;
  flex-direction: column;
  color: #304f98;
}
.clock-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 12px 0 20px;
}
.clock {
  height: 66px;
  width: 66px;
  position: relative;
  border: 1px solid #4264a9;
  border-radius: 50%;
  background: #f4f6fc;
}
.clock:before,
.clock:after {
  content: "";
  position: absolute;
  left: 32px;
  bottom: 32px;
  transform-origin: bottom;
  border-radius: 2px;
  background: #304f98;
  width: 2px;
  height: 24px;
}
.clock:after {
  height: 18px;
  transform: rotate(100deg);
}
.c2:before {
  transform: rotate(35deg);
}
.c2:after {
  transform: rotate(240deg);
}
.c3:before {
  transform: rotate(160deg);
}
.c3:after {
  transform: rotate(40deg);
}
.art-caption {
  font-family: Georgia, serif;
  font-size: 24px;
  letter-spacing: -0.6px;
}
.art-recall {
  background: #e9e2f2;
  color: #51438b;
}
.study-card {
  width: 195px;
  background: #fffefa;
  border: 1px solid #b9acd1;
  border-radius: 9px;
  box-shadow: -9px 6px 0 #d5c8e5;
  transform: rotate(-5deg);
  text-align: center;
  padding: 15px;
}
.study-card > span {
  font-size: 8px;
  letter-spacing: 1px;
}
.study-card > strong {
  display: block;
  font-size: 27px;
  font-weight: 550;
  margin: 6px 0 11px;
}
.ten-art {
  display: grid;
  grid-template-columns: repeat(5, 14px);
  gap: 4px;
  justify-content: center;
}
.ten-art i {
  height: 14px;
  width: 14px;
  border: 1px solid #537342;
  border-radius: 50%;
}
.ten-art .filled {
  background: #537342;
}
.art-time-zone-guide {
  background: #eee8d6;
  color: #6c512e;
}
.guide-art {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 11px;
}
.guide-art > span {
  font-size: 9px;
  letter-spacing: 1.3px;
}
.guide-art strong {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1;
  font-size: 57px;
  letter-spacing: -3px;
}
.guide-art i {
  color: var(--accent);
  font-size: 40px;
  font-weight: 400;
}
.card-copy {
  padding: 23px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-category {
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.card-category span {
  margin: 0 4px;
  color: #78836d;
}
.card-copy h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.7px;
  margin: 10px 0 12px;
}
.description {
  font-size: 14px;
  color: #4f5f53;
  line-height: 1.8;
}
.card-detail {
  font-size: 11px;
  color: var(--muted);
  margin: 16px 0 24px;
}
.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  min-height: 48px;
  padding-top: 12px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.card-link:hover {
  color: var(--accent);
}
.empty {
  text-align: center;
  border: 1px dashed #aebba7;
  padding: 40px 20px;
  border-radius: 12px;
  min-height: 270px;
}
.empty > span {
  font-size: 35px;
  color: var(--accent);
}
.empty h2 {
  font-size: 23px;
  font-weight: 550;
  margin: 8px 0;
}
.empty p {
  color: var(--muted);
  margin-bottom: 18px;
}
.button {
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
  border-radius: 7px;
  min-height: 44px;
  padding: 9px 18px;
}
.about {
  border-block: 1px solid var(--line);
  margin-top: 40px;
  padding: 15px 0;
  font-size: 13px;
  color: var(--muted);
}
.about summary {
  min-height: 44px;
  align-content: center;
  cursor: pointer;
  width: fit-content;
  font-weight: 550;
  color: var(--ink);
}
.about p {
  max-width: 730px;
  margin: 5px 0 14px;
}
.about > a {
  display: inline-block;
  min-height: 44px;
  align-content: center;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 24px 0 80px;
  font-size: 11px;
  color: var(--muted);
}
footer a {
  text-decoration: none;
  min-height: 44px;
  align-content: center;
}
.skip {
  position: fixed;
  left: 15px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 15px;
}
@media (max-width: 980px) {
  .shell {
    padding-inline: 25px;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-row {
    gap: 12px;
  }
  .topic-label {
    margin-left: auto;
  }
}
@media (max-width: 600px) {
  .shell {
    padding-inline: 18px;
  }
  .site-header {
    min-height: 76px;
  }
  .brand {
    font-size: 28px;
  }
  .maker {
    font-size: 11px;
  }
  .intro {
    padding: 26px 0 22px;
  }
  h1 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }
  .intro > p:last-child {
    font-size: 14px;
    max-width: 340px;
  }
  .search-box {
    min-height: 54px;
    padding-inline: 12px;
  }
  .search-box input {
    font-size: 16px;
  }
  .categories {
    gap: 6px;
  }
  .categories button {
    padding: 7px 11px;
    font-size: 12px;
  }
  .topic-label {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  .topic-label select {
    flex: 1;
    max-width: 230px;
  }
  .results-heading h2 {
    font-size: 15px;
  }
  .results-heading > div {
    font-size: 11px;
    gap: 7px;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .art {
    height: 175px;
  }
  .card-copy {
    padding: 21px;
  }
  .card-copy h3 {
    font-size: 25px;
  }
  .card-detail {
    margin-bottom: 17px;
  }
  footer {
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  footer > span {
    flex-basis: 100%;
  }
  .about {
    margin-top: 28px;
  }
  .results-heading {
    padding-top: 18px;
  }
  .clock {
    width: 60px;
    height: 60px;
  }
  .clock:before,
  .clock:after {
    left: 29px;
    bottom: 29px;
  }
  .clock-row {
    gap: 18px;
    margin-bottom: 13px;
  }
  .art-caption {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
