.category-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 560px;
  height: min(640px, 72svh);
  background: var(--navy, #070d18);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(50% + 16px) calc(100% - 16px), 50% 100%, calc(50% - 16px) calc(100% - 16px), 0 calc(100% - 16px));
}

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

.category-image { z-index: -3; object-fit: cover; object-position: center; }
.category-shade {
  z-index: -2;
  background: linear-gradient(90deg, rgba(7,13,24,.78), rgba(7,13,24,.44) 58%, rgba(7,13,24,.15));
}

.category-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  padding: 95px 20px 100px 6.5vw;
}

.category-monogram {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 6.5vw;
  transform: translateY(-53%);
  color: var(--gold, #ae9a63);
  opacity: .35;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 450px;
  line-height: .85;
  pointer-events: none;
}

.category-content h1 {
  max-width: 14ch;
  margin: 0 0 27px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(64px, 6.7vw, 96px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.category-content .eyebrow { color: #d8c48b; margin-bottom: 23px; }
.category-intro { max-width: 530px; margin: 0; color: #fff; font-size: 16px; line-height: 1.9; }
.category-hero-action { margin-top: 25px; background: var(--gold); border-color: var(--gold); color: var(--navy); }
.category-hero-action:hover { background: #c5b480; border-color: #c5b480; }
.category-hero.is-centered { justify-content: center; text-align: center; }
.category-hero.is-centered .category-content { padding: 95px 30px 100px; }
.category-hero.is-centered .category-monogram { left: 50%; transform: translate(-50%, -53%); }
.category-hero.is-centered .category-content h1,
.category-hero.is-centered .category-intro { margin-left: auto; margin-right: auto; }
.category-hero.is-centered .category-intro { max-width: 690px; }
.category-hero.is-centered .category-shade { background: rgba(7,13,24,.46); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px var(--page-gutter, 6.5vw);
  background: var(--paper);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.breadcrumb a { color: var(--ink, #18212b); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { color: #989da2; }

.category-gallery { background: var(--paper); padding: 60px clamp(20px, 5vw, 70px) 90px; }
.gallery-heading { max-width: 780px; margin: 0 auto 46px; text-align: center; }
.gallery-heading .eyebrow { color: var(--palette-label); margin-bottom: 17px; }
.gallery-heading h2 { margin: 0 0 19px; font-family: Georgia, 'Times New Roman', serif; font-size: 40px; line-height: 1.2; font-weight: 400; letter-spacing: -.025em; }
.gallery-heading p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.gallery-heading .gold-rule { margin-left: auto; margin-right: auto; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  max-width: 1440px;
  margin: 0 auto;
}

.portfolio-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1080px; }
.portfolio-card { display: block; min-width: 0; margin: 0; text-decoration: none; color: inherit; }
a.portfolio-card:hover .portfolio-caption h3 { color: var(--palette-label); }
.portfolio-card > a { display: block; text-decoration: none; color: inherit; }
.portfolio-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.portfolio-grid-landscape .portfolio-card img { aspect-ratio: 4 / 3; }
.category-edelbox .portfolio-grid .portfolio-card img { aspect-ratio: 1280 / 882; object-fit: cover; }
.category-edelbox-business .portfolio-card img { aspect-ratio: 16 / 9; }
.category-amante .portfolio-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); max-width: 1080px; }
.category-amante .portfolio-card-lead { grid-column: 1 / -1; }
.category-amante .portfolio-card img { aspect-ratio: auto; height: auto; object-fit: contain; }
.category-wellness .portfolio-grid .portfolio-card img { aspect-ratio: 1280 / 882; object-fit: cover; }
.portfolio-caption { margin: 20px 0 0; text-align: center; }
.portfolio-caption h3 { margin: 0 0 7px; color: var(--ink, #18212b); font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.7; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.portfolio-caption p { margin: 0; font-size: 11px; line-height: 1.8; color: var(--muted); }
.portfolio-note { max-width: 760px; margin: 45px auto 0; color: var(--muted); font-size: 11px; line-height: 1.9; text-align: center; }

.category-outro { padding: 80px var(--page-gutter, 6.5vw); background: var(--navy, #070d18); color: #fff; text-align: center; }
.category-outro .eyebrow { color: #c5b480; }
.category-outro h2 { max-width: 800px; margin: 0 auto 22px; font-family: Georgia, 'Times New Roman', serif; font-size: 44px; line-height: 1.25; font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
.category-outro p { max-width: 650px; margin: 0 auto 28px; color: #d0d5dc; font-size: 14px; line-height: 1.9; }
.category-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 27px; }
.category-actions .dark-button { background: var(--gold, #ae9a63); border-color: var(--gold, #ae9a63); color: var(--navy, #070d18); }
.category-actions .dark-button:hover { background: #c5b480; border-color: #c5b480; }
.category-actions .text-link { color: #fff; border-color: var(--gold, #ae9a63); margin-top: 0; }
.category-actions .text-link:hover { color: #d8c48b; }
.brand-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 70px; padding: 0 var(--page-gutter) 80px; background: var(--paper); }
.brand-details > h2 { grid-column: 1 / -1; margin: 0 0 10px; font-size: clamp(35px, 3.6vw, 52px); line-height: 1.2; letter-spacing: -.025em; }
.brand-details h3 { margin-bottom: 18px; font-size: 29px; line-height: 1.2; }
.brand-details p { max-width: 560px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.brand-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: start; gap: 25px 60px; border-top: 1px solid var(--line); padding-top: 30px; }
.brand-contact address { font-size: 14px; line-height: 1.9; font-style: normal; }
.brand-contact a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); overflow-wrap: anywhere; max-width: 100%; }

@media (max-width: 900px) {
  .category-content { max-width: 700px; }
  .category-content h1 { font-size: 70px; }
  .category-hero { min-height: 540px; height: auto; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 600px) {
  .category-hero { min-height: 0; height: auto; }
  .category-content,
  .category-hero.is-centered .category-content { padding: 100px 20px; max-width: 100%; }
  .category-image { object-position: center; }
  .category-shade { background: linear-gradient(90deg, rgba(7,13,24,.78), rgba(7,13,24,.48)); }
  .category-hero.is-centered .category-shade { background: rgba(7,13,24,.58); }
  .category-monogram { left: 15px; font-size: 320px; max-width: 100%; opacity: .3; }
  .category-content h1 { max-width: 100%; font-size: clamp(43px, 9.5vw, 58px); line-height: 1.1; letter-spacing: -.035em; overflow-wrap: normal; }
  .category-content .eyebrow { font-size: 9px; letter-spacing: .14em; }
  .category-intro { font-size: 15px; line-height: 1.85; }
  .breadcrumb { padding: 20px; font-size: 9px; }
  .category-gallery { padding: 45px 20px 60px; }
  .gallery-heading { margin-bottom: 32px; }
  .gallery-heading h2 { font-size: 33px; }
  .gallery-heading p { font-size: 14px; }
  .portfolio-grid,
  .portfolio-grid-two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .category-amante .portfolio-grid { grid-template-columns: minmax(0, 1fr); }
  .portfolio-caption { margin-top: 17px; }
  .portfolio-caption h3 { font-size: 11px; }
  .portfolio-note { margin-top: 35px; }
  .category-outro { padding: 60px 20px; }
  .category-outro h2 { font-size: 35px; }
  .category-actions { flex-direction: column; gap: 13px; }
  .category-actions .dark-button { max-width: 100%; white-space: normal; }
  .brand-details { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-bottom: 55px; }
  .brand-details h3 { font-size: 27px; }
  .brand-contact { flex-direction: column; gap: 14px; }
}

@media (max-width: 350px) {
  .category-content h1 { font-size: 43px; }
  .category-monogram { font-size: 290px; }
  .category-content .eyebrow { letter-spacing: .1em; }
  .gallery-heading h2, .category-outro h2 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  .category-page { scroll-behavior: auto; }
}
