.year-detail {
  --year-accent: #9b4a25;
  --year-warm: color-mix(in srgb, var(--surface-card) 90%, #dfb58e);
  --year-line: color-mix(in srgb, var(--surface-border) 75%, #b78b68);
  width: min(1160px, calc(100% - 3rem));
  margin: 0 auto;
  color: var(--color-text);
}
.year-detail a { color: inherit; text-decoration: none; }
.year-detail a:hover { color: var(--year-accent); }
.year-detail :is(a, button, select):focus-visible { outline: 2px solid var(--year-accent); outline-offset: 5px; }
.year-detail h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; letter-spacing: -.04em; }
.year-detail h3 { margin: 0 0 1.2rem; font-size: 1rem; }
.year-eyebrow { margin: 0 0 .85rem; color: var(--year-accent); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.year-hero { padding: 1.4rem 0 2.8rem; }
.year-hero .breadcrumbs { padding: 0; margin: 0 0 2.6rem; max-width: none; }
.year-hero__grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 2.8rem; }
.year-hero__title { margin: 0; font-family: var(--font-display); }
.year-hero__title > span { display: block; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.03em; }
.year-hero__title strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(6rem, 12vw, 10rem); line-height: 1.1; font-weight: 400; letter-spacing: -.065em; }
.year-hero__tagline { margin: .6rem 0; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.45; max-width: 32ch; }
.year-hero__intro { color: var(--color-text-muted); line-height: 1.7; font-size: .9rem; max-width: 43ch; margin: .75rem 0 1.4rem; }
.year-stats { display: flex; flex-wrap: wrap; gap: 1.8rem; margin: 1.4rem 0 1.8rem; }
.year-stats > div { display: flex; flex-direction: column-reverse; gap: .25rem; }
.year-stats dt { color: var(--color-text-muted); font-size: .75rem; }
.year-stats dd { margin: 0; font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.year-detail .year-button { display: inline-flex; align-items: center; justify-content: center; gap: 1.7rem; border: 1px solid var(--year-accent); border-radius: 5px; padding: .85rem 1.2rem; background: var(--year-accent); color: #fff; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; }
.year-detail .year-button:hover { background: #7c381a; color: #fff; }
.year-jump-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.year-jump-links .year-text-link { min-height: 44px; }
.year-shelf { display: flex; align-items: stretch; justify-content: center; gap: 1rem; padding: 2rem 1.3rem 1.2rem; border-radius: 50% 50% 6px 6px / 20% 20% 6px 6px; background: var(--year-warm); min-width: 0; }
.year-shelf__bottle { flex: 1 1 0; min-width: 0; max-width: 190px; text-align: center; }
.year-shelf__identity { display: block; }
.year-shelf__bottle img { display: block; width: 100%; height: clamp(150px, 18vw, 225px); object-fit: contain; transition: transform .25s; }
.year-shelf__bottle:nth-child(2) img { transform: translateY(-14px); }
.year-shelf__bottle:hover img { transform: translateY(-8px); }
.year-shelf__brand { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-muted); margin: .8rem 0 .3rem; }
.year-shelf__name { display: block; font-size: .85rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.year-shelf__description { margin: .8rem 0 .3rem; font-size: .8rem; line-height: 1.65; text-align: left; }
.year-detail .year-shelf__source { display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; font-size: .7rem; color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 3px; }
.year-hero--compact { padding-bottom: .6rem; }
.year-hero--compact .year-hero__grid, .year-hero--text-only .year-hero__grid { display: block; }
.year-hero--text-only .year-hero__copy { max-width: 720px; }
.year-hero--compact .year-hero__title strong { display: inline; font-size: 3.5rem; }
.year-hero--compact .year-hero__title > span { display: inline; }
.year-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-block: 1px solid var(--year-line); padding: .7rem 0; }
.year-strip__years { display: flex; justify-content: center; flex: 1; gap: .3rem; }
.year-strip__years > :is(a, span) { padding: .7rem 1rem; font-size: .8rem; border-radius: 3px; }
.year-strip [aria-current], .year-decade [aria-current] { background: var(--year-warm); font-weight: 700; color: var(--year-accent); }
.year-strip__direction { padding: .6rem; font-size: .75rem; }
.year-section { padding: 3.4rem 0; border-bottom: 1px solid var(--year-line); scroll-margin-top: 6rem; }
.year-section__heading { display: flex; justify-content: space-between; gap: 1.3rem; align-items: flex-end; margin-bottom: 1.6rem; }
.year-section__intro { font-size: .9rem; line-height: 1.7; color: var(--color-text-muted); max-width: 70ch; margin: -.6rem 0 1.8rem; }
.year-text-link { display: inline-flex; gap: 1rem; align-items: center; font-size: .78rem; font-weight: 600; padding-block: .4rem; }
.year-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.year-story { display: grid; grid-template-columns: 1fr 1.7fr; gap: 3rem; }
.year-story__body > p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.85; }
.year-sources { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.3rem; font-size: .7rem; color: var(--color-text-muted); }
.year-sources a { text-decoration: underline; text-underline-offset: 3px; }
.year-palette__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; }
.year-palette__grid--facets-only, .year-palette__grid--notes-only { grid-template-columns: 1fr; }
.year-palette__grid--notes-only { max-width: 720px; }
.year-palette__grid--facets-only .year-palette__facets { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.year-notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.year-notes a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.year-note__label { display: flex; align-items: center; gap: .7rem; font-size: .85rem; }
.year-note__label img { object-fit: contain; }
.year-note__count { font-size: .7rem; color: var(--color-text-muted); white-space: nowrap; }
.year-notes meter { display: block; width: 100%; height: 7px; margin-top: .4rem; border: 0; border-radius: 4px; background: var(--year-warm); }
.year-notes meter::-webkit-meter-bar { background: var(--year-warm); border: 0; border-radius: 4px; }
.year-notes meter::-webkit-meter-optimum-value { background: var(--year-accent); border-radius: 4px; }
.year-notes meter::-moz-meter-bar { background: var(--year-accent); border-radius: 4px; }
.year-method { font-size: .72rem; line-height: 1.7; color: var(--color-text-muted); margin: 1.1rem 0; max-width: 85ch; }
.year-palette__facets { display: grid; align-content: start; gap: 2.3rem; }
.year-pills { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.year-pills a { display: flex; align-items: center; gap: .85rem; padding: .6rem .8rem; border: 1px solid var(--year-line); border-radius: 4px; font-size: .8rem; }
.year-pills a > span { color: var(--color-text-muted); font-size: .7rem; }
.year-family-list, .year-people ul { list-style: none; padding: 0; margin: 0; }
.year-family-list a, .year-people li a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--year-line); font-size: .85rem; }
.year-family-list a > span, .year-people li a > span { color: var(--color-text-muted); font-size: .72rem; white-space: nowrap; }
.year-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4rem; }
.year-people h2 { margin-bottom: 1rem; }
.year-catalog__total { margin: 0; color: var(--color-text-muted); font-size: .8rem; white-space: nowrap; }
.year-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem; padding: 1.1rem; background: var(--year-warm); border-radius: 5px; }
.year-filters > div { flex: 1 1 155px; min-width: 0; }
.year-filters label { display: block; font-size: .68rem; margin-bottom: .45rem; color: var(--color-text-muted); }
.year-filters select { width: 100%; padding: .8rem 1.8rem .8rem .65rem; border: 1px solid var(--year-line); border-radius: 4px; font: inherit; font-size: .8rem; background: var(--surface-card); color: var(--color-text); }
.year-detail #filtered-parfums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 1.5rem 0 0; }
.year-detail #filtered-parfums > .perfume-card { width: 100%; min-width: 0; max-width: none; }
.year-detail--sparse #filtered-parfums { grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); }
.year-detail--sparse .year-section { padding-block: 2rem; }
.year-empty { grid-column: 1 / -1; padding: 2rem 0; color: var(--color-text-muted); line-height: 1.8; }
.year-empty a { text-decoration: underline; }
.year-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; padding: 2rem 0 0; font-size: .78rem; }
.year-pagination > div { display: flex; gap: .35rem; }
.year-pagination a, .year-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 42px; padding: .4rem .65rem; border-radius: 4px; }
.year-pagination [aria-current] { background: var(--year-accent); color: #fff; font-weight: 700; }
.year-pagination a { border: 1px solid var(--year-line); }
.year-continue { text-align: center; border-bottom: 0; }
.year-decade { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.7rem 0 1rem; }
.year-decade > :is(a, span) { padding: .85rem 1rem; border: 1px solid var(--year-line); border-radius: 4px; font-size: .85rem; }
@media (max-width: 900px) {
  .year-hero__grid { gap: 1.5rem; }
  .year-palette__grid, .year-people { gap: 2rem; }
  .year-detail #filtered-parfums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 640px) {
  .year-detail { width: calc(100% - 2rem); }
  .year-hero { padding: .5rem 0 1.5rem; }
  .year-hero .breadcrumbs { margin-bottom: 1.5rem; }
  .year-hero__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .year-hero__title strong { font-size: 6.5rem; }
  .year-hero__intro { margin-bottom: .8rem; }
  .year-stats { margin: 1rem 0 1.3rem; gap: 2rem; }
  .year-shelf { display: grid; gap: 0; padding: .3rem 1rem; border-radius: 6px; }
  .year-shelf__bottle { position: relative; max-width: none; min-height: 128px; padding: .85rem 0 .85rem 86px; text-align: left; }
  .year-shelf__bottle + .year-shelf__bottle { border-top: 1px solid var(--year-line); }
  .year-shelf__bottle img { position: absolute; top: .85rem; left: 0; width: 72px; height: 96px; }
  .year-shelf__bottle:nth-child(2) img { transform: none; }
  .year-shelf__brand { margin-top: 0; }
  .year-shelf__description { margin-top: .45rem; }
  .year-strip { gap: .1rem; }
  .year-strip__direction span { display: none; }
  .year-strip__years > :is(a, span) { padding: .7rem .6rem; font-size: .75rem; }
  .year-section { padding: 2.3rem 0; }
  .year-section__heading { align-items: flex-start; flex-wrap: wrap; gap: .6rem; }
  .year-story, .year-palette__grid, .year-people { grid-template-columns: 1fr; gap: 1.7rem; }
  .year-filters { padding: .8rem; }
  .year-filters > div { flex-basis: calc(50% - .8rem); }
  .year-filters > div:first-child { flex-basis: 100%; }
  .year-detail #filtered-parfums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .year-detail--sparse #filtered-parfums { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 360px; }
  .year-pagination { gap: .7rem; }
  .year-pagination > div { order: -1; justify-content: center; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .year-shelf__bottle img { transition: none; } }
