:root { --catalog-paper: #f1ede4; --catalog-deep: #343629; }

.catalog-page { background: var(--catalog-paper); }
.catalog-page .site-header { background: rgba(247, 245, 240, .9); }
.catalog-page .section { scroll-margin-top: 90px; }

.catalog-hero {
  min-height: min(780px, 92vh);
  padding: 150px 0 72px;
  overflow: hidden;
  background: var(--cream);
}

.catalog-hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  min-height: 570px;
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
}

.catalog-hero-copy { max-width: 620px; }
.catalog-hero-copy h1 { max-width: 670px; font-size: clamp(3.65rem, 6.4vw, 6.8rem); }
.catalog-hero-copy > p:not(.eyebrow) { max-width: 500px; margin-bottom: 30px; color: var(--muted); font-size: 1.06rem; }

.catalog-hero-image {
  position: relative;
  height: min(620px, 65vw);
  min-height: 460px;
  overflow: hidden;
  border-radius: 180px 180px 30px 30px;
  box-shadow: var(--shadow);
}

.catalog-hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(28, 29, 23, .45));
}

.catalog-hero-image img { transition: transform .8s ease; }
.catalog-hero-image:hover img { transform: scale(1.04); }
.catalog-hero-image span { position: absolute; z-index: 1; right: 26px; bottom: 22px; color: white; font-size: .68rem; font-weight: 700; letter-spacing: .14em; }

.catalog-jump { position: sticky; top: 82px; z-index: 20; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 249, .92); backdrop-filter: blur(12px); }
.catalog-jump > div { display: flex; overflow-x: auto; }
.catalog-jump a { flex: 1 0 auto; min-height: 58px; display: grid; place-items: center; padding: 0 20px; color: var(--muted); border-right: 1px solid var(--line); font-size: .72rem; font-weight: 700; letter-spacing: .04em; transition: color .2s ease, background .2s ease; }
.catalog-jump a:first-child { border-left: 1px solid var(--line); }
.catalog-jump a:hover, .catalog-jump a:focus-visible { color: white; background: var(--olive); }

.catalog-intro { padding: 96px 0 58px; }
.catalog-intro p { max-width: 620px; margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.7rem); line-height: 1.18; letter-spacing: -.025em; }

.catalog-category { padding: 72px 0; scroll-margin-top: 142px; }
.catalog-category-dark { color: white; background: var(--catalog-deep); }
.catalog-category-grid { display: grid; grid-template-columns: minmax(260px, .76fr) minmax(0, 1.24fr); gap: clamp(38px, 7vw, 105px); align-items: start; }

.catalog-category-heading { position: sticky; top: 166px; }
.catalog-category-heading > span { display: block; margin-bottom: 16px; color: var(--olive); font-size: .74rem; font-weight: 700; letter-spacing: .15em; }
.catalog-category-dark .catalog-category-heading > span { color: var(--olive-light); }
.catalog-category-heading h2 { margin-bottom: 18px; font-size: clamp(2.6rem, 4.5vw, 4.6rem); }
.catalog-category-heading p { max-width: 360px; margin-bottom: 28px; color: var(--muted); }
.catalog-category-dark .catalog-category-heading p { color: rgba(255, 255, 255, .65); }
.catalog-category-heading img { width: min(100%, 320px); height: 220px; border-radius: 112px 112px 18px 18px; box-shadow: var(--shadow); }

.catalog-list { border-top: 1px solid var(--line); }
.catalog-category-dark .catalog-list { border-color: rgba(255, 255, 255, .16); }
.catalog-service { display: grid; grid-template-columns: minmax(0, 1fr) auto 94px; gap: 22px; align-items: center; padding: 27px 0; border-bottom: 1px solid var(--line); }
.catalog-category-dark .catalog-service { border-color: rgba(255, 255, 255, .16); }
.catalog-service h3 { margin-bottom: 7px; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.catalog-service p, .catalog-service small { display: block; max-width: 500px; margin: 0; color: var(--muted); font-size: .84rem; }
.catalog-service small { margin-top: 5px; font-size: .72rem; }
.catalog-category-dark .catalog-service p, .catalog-category-dark .catalog-service small { color: rgba(255, 255, 255, .62); }
.catalog-service > strong { color: var(--olive); font-family: var(--serif); font-size: clamp(1.7rem, 2.5vw, 2.25rem); text-align: right; white-space: nowrap; }
.catalog-category-dark .catalog-service > strong { color: var(--olive-light); }
.catalog-service > strong small { margin: 0; color: inherit; font-family: var(--sans); font-size: .58rem; font-weight: 700; letter-spacing: .08em; }
.catalog-service > a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--olive); border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease; }
.catalog-service > a:hover { color: white; background: var(--olive); transform: translateY(-2px); }
.catalog-category-dark .catalog-service > a { color: white; border-color: rgba(255, 255, 255, .24); }
.catalog-category-dark .catalog-service > a:hover { color: var(--olive-dark); background: var(--white); }

.catalog-effects { padding: 100px 0 112px; background: var(--cream); }
.catalog-effects-heading { max-width: 680px; margin-bottom: 50px; }
.catalog-effects-heading h2 { font-size: clamp(3rem, 5vw, 5.3rem); }
.catalog-effects-heading > p:last-child { max-width: 480px; color: var(--muted); }
.effect-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.effect-cards a { position: relative; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 24px; color: white; border-radius: 120px 120px 24px 24px; isolation: isolate; box-shadow: var(--shadow); }
.effect-cards a:nth-child(even) { border-radius: 24px 24px 120px 120px; }
.effect-cards a::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(180deg, transparent 30%, rgba(27, 29, 21, .78)); }
.effect-cards img { position: absolute; z-index: -2; inset: 0; transition: transform .65s ease; }
.effect-cards a:hover img { transform: scale(1.06); }
.effect-cards span { margin-bottom: 4px; font-family: var(--serif); font-size: 1.65rem; line-height: 1; }
.effect-cards strong { color: rgba(255, 255, 255, .8); font-size: .72rem; letter-spacing: .06em; }

.catalog-cta { padding: 72px 0; color: white; background: var(--olive-dark); }
.catalog-cta > div { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.catalog-cta .eyebrow, .catalog-cta em { color: var(--olive-light); }
.catalog-cta h2 { max-width: 650px; margin-bottom: 0; font-size: clamp(2.5rem, 4.4vw, 4.7rem); }
.catalog-cta .btn { flex: 0 0 auto; background: var(--white); color: var(--olive-dark); box-shadow: none; }
.catalog-cta .btn:hover { background: var(--olive-light); }

@media (max-width: 900px) {
  .catalog-hero { min-height: auto; padding-top: 122px; }
  .catalog-hero-grid, .catalog-category-grid { grid-template-columns: 1fr; }
  .catalog-hero-grid { min-height: auto; }
  .catalog-hero-image { height: 480px; }
  .catalog-category-heading { position: static; display: grid; grid-template-columns: 1fr minmax(180px, .55fr); column-gap: 30px; }
  .catalog-category-heading > span, .catalog-category-heading h2, .catalog-category-heading p { grid-column: 1; }
  .catalog-category-heading img { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 100%; height: 250px; }
  .catalog-jump { top: 82px; }
  .effect-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .catalog-hero { padding-bottom: 54px; }
  .catalog-hero-copy h1 { font-size: clamp(3.2rem, 15vw, 4.5rem); }
  .catalog-hero-image { height: 400px; min-height: 0; border-radius: 130px 130px 24px 24px; }
  .catalog-jump { top: 72px; }
  .catalog-jump > div { width: 100%; }
  .catalog-jump a { min-height: 52px; padding: 0 14px; font-size: .66rem; }
  .catalog-intro { padding: 68px 0 38px; }
  .catalog-category { padding: 58px 0; }
  .catalog-category-heading { display: block; }
  .catalog-category-heading img { width: 100%; height: 210px; margin-top: 8px; }
  .catalog-service { grid-template-columns: 1fr auto; gap: 16px; }
  .catalog-service > a { grid-column: 1 / -1; width: 100%; }
  .catalog-service > strong { font-size: 1.7rem; }
  .effect-cards { grid-template-columns: 1fr; }
  .effect-cards a, .effect-cards a:nth-child(even) { min-height: 275px; border-radius: 96px 96px 20px 20px; }
  .catalog-cta > div { align-items: flex-start; flex-direction: column; }
  .catalog-cta .btn { width: 100%; }
}
