:root {
  color-scheme: light;
  --ink: #1b1d18;
  --muted: #69695f;
  --paper: #f4f0e6;
  --panel: #ffffff;
  --line: #d9d0bf;
  --accent: #315f43;
  --accent-dark: #203f2f;
  --clay: #8d4f31;
  --gold: #b88e43;
  --shadow: 0 22px 55px rgba(37, 31, 24, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 243, 237, 0.92);
  border-bottom: 1px solid rgba(121, 111, 95, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a:hover,
.header-action:hover {
  color: var(--accent);
}

.header-action {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1b1715;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 22, 16, 0.92) 0%, rgba(18, 22, 16, 0.72) 42%, rgba(18, 22, 16, 0.14) 76%),
    linear-gradient(0deg, rgba(18, 22, 16, 0.54), rgba(18, 22, 16, 0.04) 48%);
}

.hero-content {
  position: relative;
  width: min(900px, calc(100% - 36px));
  margin: 0 clamp(18px, 7vw, 96px) clamp(70px, 12vh, 130px);
  color: #fff9ef;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e9c66f;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1 {
  max-width: 660px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.55rem, 8.4vw, 7.4rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  font-weight: 500;
}

h3 {
  font-size: 1.15rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 249, 239, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-band,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button,
.filter-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: rgba(255, 249, 239, 0.5);
  color: #fff9ef;
}

.button.secondary:hover {
  border-color: #fff9ef;
}

.button.secondary.on-light {
  border-color: var(--line);
  color: var(--accent-dark);
}

.button.secondary.on-light:hover {
  border-color: var(--accent);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: #fffaf2;
}

.ticker div {
  padding: 22px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.ticker div:last-child {
  border-right: 0;
}

.ticker strong,
.ticker span {
  display: block;
}

.ticker span {
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.page-hero {
  padding: clamp(86px, 12vw, 150px) clamp(18px, 7vw, 96px) clamp(48px, 7vw, 82px);
  background: #fbf8f2;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
}

.coming-soon-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.35rem);
}

.sold-archive-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.past-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(42px, 6vw, 70px);
}

.past-hero h1 {
  font-size: clamp(2.75rem, 5.8vw, 5.2rem);
}

.past-hero-copy .hero-actions {
  margin-top: 30px;
}

.past-hero-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr;
  grid-template-rows: 190px 190px;
  gap: 12px;
}

.past-hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.past-hero-gallery img:first-child {
  grid-row: 1 / 3;
}

.past-hero-gallery.is-empty {
  min-height: 392px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(49, 95, 67, 0.08), rgba(184, 142, 67, 0.12)),
    #fffdf8;
  border: 1px solid var(--line);
}

.past-hero-gallery.is-empty span {
  max-width: 260px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
  text-align: center;
}

.past-featured-section {
  padding-top: clamp(30px, 5vw, 58px);
}

.past-featured-section h2 {
  font-size: clamp(2rem, 3.8vw, 4rem);
}

.archive-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fffaf2;
}

.archive-stats div {
  padding: 24px clamp(18px, 5vw, 72px);
  border-right: 1px solid var(--line);
}

.archive-stats div:last-child {
  border-right: 0;
}

.archive-stats strong,
.archive-stats span {
  display: block;
}

.archive-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.archive-stats span {
  margin-top: 6px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-note {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.path-section {
  background: #fbf8f2;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.path-card {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(37, 31, 24, 0.08);
}

.path-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
}

.path-card span:last-child {
  color: var(--muted);
  font-size: 1rem;
}

.path-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.soon-section {
  background: #fbf8f2;
}

.soon-grid .finish-panel {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.coming-soon-card {
  background: #fffdf8;
}

.coming-soon-card .finish-panel::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.05)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 20px);
}

.filter-bar {
  margin-bottom: 26px;
}

.filter-button {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.filter-button.is-active,
.filter-button:hover {
  border-color: var(--accent);
  background: #e6f0eb;
  color: var(--accent-dark);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.empty-listing-section {
  padding-top: clamp(46px, 7vw, 84px);
}

.empty-listing {
  max-width: 780px;
}

.empty-listing h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

.empty-listing p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.7;
}

.listing-card {
  min-width: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(37, 31, 24, 0.08);
}

.finish-panel {
  min-height: 270px;
  position: relative;
  display: grid;
  align-items: end;
  padding: 18px;
  color: #fff;
  isolation: isolate;
}

.finish-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.34), transparent 30%),
    linear-gradient(145deg, var(--finish-a), var(--finish-b));
  z-index: -2;
}

.finish-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.06)),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
  z-index: -1;
}

.listing-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.listing-photo + .status-pill {
  background: rgba(20, 18, 16, 0.74);
}

.status-pill {
  width: fit-content;
  align-self: start;
  padding: 7px 10px;
  background: rgba(20, 18, 16, 0.62);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-count {
  width: fit-content;
  align-self: end;
  padding: 7px 10px;
  background: rgba(20, 18, 16, 0.68);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
}

.card-body {
  padding: 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta span:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #b1a797;
}

.listing-tagline {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.listing-note {
  margin: 12px 0 0;
  color: #39352f;
  font-size: 0.95rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.price {
  font-size: 1.2rem;
  font-weight: 850;
}

.listing-link {
  color: var(--accent);
  font-weight: 850;
}

.listing-link:hover {
  color: var(--accent-dark);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 7vw, 90px);
  background: #e9e1d2;
}

.about-copy {
  color: #39352f;
  font-size: 1.08rem;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  padding-left: 28px;
  position: relative;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.archive-section {
  background: #fbf8f2;
}

.compact .finish-panel {
  min-height: 210px;
}

.compact .listing-card {
  opacity: 0.9;
}

.featured-archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.featured-archive-grid .listing-card:first-child {
  grid-row: auto;
}

.featured-archive-grid .finish-panel {
  aspect-ratio: 1;
  min-height: auto;
}

.featured-archive-grid.has-one-feature {
  grid-template-columns: minmax(280px, 520px);
}

.featured-archive-grid.has-one-feature .listing-card:first-child {
  grid-row: auto;
}

.featured-archive-grid.has-one-feature .listing-card:first-child .finish-panel {
  aspect-ratio: 1;
  min-height: auto;
}

.archive-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.featured-empty {
  padding: clamp(28px, 5vw, 54px);
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.featured-empty p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.archive-note-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 7vw, 90px);
  background: #e9e1d2;
}

.archive-note-copy {
  color: #39352f;
  font-size: 1.08rem;
}

.archive-note-copy p {
  margin: 0;
}

.archive-note-copy p + p {
  margin-top: 18px;
}

.archive-list {
  display: grid;
  gap: 12px;
}

.archive-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 10px 18px 10px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.archive-item:hover {
  border-color: var(--accent);
}

.archive-item img {
  width: 92px;
  height: 92px;
  object-fit: cover;
}

.archive-item span {
  min-width: 0;
}

.archive-item strong,
.archive-item small {
  display: block;
}

.archive-item strong {
  font-size: 1.05rem;
}

.archive-item small {
  margin-top: 6px;
  color: var(--muted);
}

.archive-item em {
  color: var(--accent);
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.detail-copy h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
}

.detail-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.detail-placeholder-copy {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.02rem;
}

.detail-placeholder-copy p {
  margin: 0;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.spec-list div {
  padding: 14px;
  background: #fffdf8;
}

.spec-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 5px 0 0;
  font-weight: 750;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  cursor: zoom-in;
}

body.has-lightbox {
  overflow: hidden;
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  grid-template-rows: 64px minmax(0, 1fr);
  gap: 14px;
  padding: clamp(14px, 2vw, 26px);
  background: rgba(23, 24, 21, 0.9);
}

.photo-lightbox figure {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.photo-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 106px);
  object-fit: contain;
  border: 1px solid rgba(255, 253, 248, 0.24);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
}

.photo-lightbox figcaption {
  min-height: 28px;
  padding-top: 10px;
  color: #fffdf8;
  font-size: 0.86rem;
  font-weight: 800;
}

.lightbox-button {
  width: 100%;
  min-height: 48px;
  align-self: center;
  border: 1px solid rgba(255, 253, 248, 0.28);
  background: rgba(255, 253, 248, 0.12);
  color: #fffdf8;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-button:hover,
.lightbox-button:focus-visible {
  background: rgba(255, 253, 248, 0.22);
  outline: 2px solid rgba(255, 253, 248, 0.52);
  outline-offset: 2px;
}

.lightbox-close {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
}

.lightbox-prev {
  grid-column: 1;
  grid-row: 2;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 2;
}

.detail-featured.detail-hero-featured,
.x30-detail.detail-hero-featured {
  align-items: start;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(22px, 3vw, 38px);
}

.detail-featured.detail-hero-featured > img,
.x30-detail.detail-hero-featured > img {
  align-self: start;
  min-height: min(68vh, 720px);
  aspect-ratio: auto;
}

.detail-featured .detail-lede,
.x30-detail .detail-lede {
  max-width: 660px;
  margin: 18px 0 0;
}

.detail-featured .detail-summary {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.detail-featured .detail-badges,
.x30-detail .detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.detail-featured .detail-badges span,
.x30-detail .detail-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  background: #e6f0eb;
  border: 1px solid rgba(49, 95, 67, 0.22);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.detail-photo-section,
.x30-photo-section {
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: clamp(18px, 3vw, 34px);
}

.detail-video-section {
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: clamp(18px, 3vw, 34px);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--line);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-spec-section,
.x30-spec-section {
  padding-top: 0;
}

.x30-story-section {
  padding-top: clamp(42px, 6vw, 76px);
  background: #fffdf8;
  border-block: 1px solid var(--line);
}

.detail-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-story-grid article {
  min-height: 240px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(20px, 2.6vw, 30px);
  background: #fbf8f2;
  border: 1px solid var(--line);
}

.detail-story-grid h3 {
  max-width: 260px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
}

.detail-story-grid p {
  margin: 0;
  color: var(--muted);
}

.x30-feature-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 12px;
  padding-top: 0;
  padding-bottom: clamp(42px, 6vw, 76px);
}

.x30-feature-strip img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.x30-feature-strip img:first-child {
  min-height: 420px;
}

.contact-band {
  align-items: center;
  justify-content: space-between;
  margin: 0 clamp(18px, 5vw, 72px) clamp(48px, 7vw, 90px);
  padding: clamp(28px, 5vw, 50px);
  background: var(--ink);
  color: #fff9ef;
}

.contact-band .eyebrow {
  color: #e9c66f;
}

.contact-band h2 {
  max-width: 780px;
  font-size: clamp(1.9rem, 3.8vw, 4rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .ticker,
  .archive-stats,
  .listing-grid,
  .detail-hero,
  .detail-story-grid,
  .x30-feature-strip,
  .split-section,
  .archive-note-section,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .featured-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticker div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ticker div:last-child {
    border-bottom: 0;
  }

  .archive-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .archive-stats div:last-child {
    border-bottom: 0;
  }

  .past-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
    gap: 28px;
  }

  .past-hero h1 {
    font-size: clamp(2.75rem, 8vw, 4.6rem);
  }

  .past-hero-gallery {
    grid-template-rows: 180px 180px;
  }

  .featured-archive-grid .listing-card:first-child {
    grid-row: auto;
  }

  .featured-archive-grid .listing-card:first-child .finish-panel {
    min-height: 250px;
  }

  .section-heading {
    display: block;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .x30-detail.detail-hero-featured > img,
  .x30-feature-strip img,
  .x30-feature-strip img:first-child {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 180px;
  }

  .header-action {
    padding: 9px 11px;
  }

  .archive-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .archive-item img {
    width: 76px;
    height: 76px;
  }

  .archive-item em {
    grid-column: 2;
  }

  .past-hero {
    grid-template-columns: 1fr;
  }

  .spec-list,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .featured-archive-grid {
    grid-template-columns: 1fr;
  }

  .photo-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .photo-lightbox figure {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .photo-lightbox img {
    max-height: calc(100vh - 154px);
  }

  .lightbox-close {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: end;
    width: auto;
    padding: 0 16px;
  }

  .lightbox-prev {
    grid-column: 1;
    grid-row: 3;
  }

  .lightbox-next {
    grid-column: 2;
    grid-row: 3;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .detail-copy h1 {
    font-size: clamp(2.15rem, 11vw, 3.35rem);
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    margin-bottom: 54px;
  }

  .button,
  .filter-button {
    width: 100%;
  }

  .finish-panel {
    min-height: 230px;
  }

  .price-row,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
