/* Commission — depth cards (mockup: soft cards, recommended badge, pill CTAs) */
.commission{
  position:relative;
  background:var(--pearl,#eef0f2);
  color:var(--ink,#17151a);
  padding:clamp(56px,8vh,96px) 0;
}
.comm-head{
  position:relative;
  /* Extra room so the raised “recommended” card never kisses the intro copy */
  margin-bottom:clamp(3.2rem,6.5vh,4.8rem);
  text-align:left;
  max-width:none;
}
.comm-head h2{
  font-family:var(--font-serif);
  font-weight:500;
  font-size:clamp(2rem,4.4vw,3.4rem);
  color:var(--ink);
  margin:0;
  line-height:1.12;
}
.comm-head h2 em{color:var(--purple);font-style:italic}
.comm-head p{
  color:var(--muted,#4b4a50);
  margin:.85rem 0 0;
  line-height:1.7;
  max-width:none;
  font-size:.92rem;
  font-weight:300;
}

.comm-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.16fr) minmax(0,1fr);
  gap:clamp(1.1rem,2.2vw,1.75rem);
  align-items:center;
  padding-top:clamp(.85rem,1.8vw,1.35rem);
}
.comm-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid rgba(23,21,26,.08);
  border-radius:6px;
  overflow:hidden;
  min-width:0;
  box-shadow:0 12px 36px -22px rgba(23,21,26,.35);
  transition:box-shadow .35s var(--ease,cubic-bezier(.22,1,.36,1)),transform .35s var(--ease,cubic-bezier(.22,1,.36,1));
}
.comm-card:hover{
  box-shadow:0 18px 44px -20px rgba(23,21,26,.4);
}
.comm-card.is-featured{
  background:linear-gradient(180deg,#fbf7ef 0%,#f7f1e6 100%);
  border-color:rgba(212,175,55,.7);
  box-shadow:0 20px 48px -20px rgba(114,49,118,.28),0 0 0 1px rgba(212,175,55,.25);
  position:relative;
  z-index:2;
  margin-block:calc(-1 * clamp(.9rem,2vw,1.6rem));
}
.comm-card.is-featured .comm-body{
  padding-block:clamp(1.5rem,2.8vw,2.15rem);
}
.comm-card.is-featured .comm-cta.btn-primary,
.commission .comm-card.is-featured .comm-cta.btn-primary{
  background:var(--purple)!important;
  border-color:var(--purple)!important;
  color:var(--pearl)!important;
}
.comm-card.is-featured .comm-cta.btn-primary:hover,
.comm-card.is-featured .comm-cta.btn-primary:focus-visible,
.commission .comm-card.is-featured .comm-cta.btn-primary:hover,
.commission .comm-card.is-featured .comm-cta.btn-primary:focus-visible,
.comm-card.is-featured .is-fluid.comm-cta.btn-primary:hover,
.comm-card.is-featured .is-fluid.comm-cta.btn-primary.is-filling,
.commission .comm-card.is-featured .is-fluid.comm-cta.btn-primary:hover,
.commission .comm-card.is-featured .is-fluid.comm-cta.btn-primary.is-filling{
  background:var(--pearl)!important;
  border-color:var(--pearl)!important;
  color:var(--velvet)!important;
}

.comm-thumb{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  background:var(--pearl-2,#e6e8eb);
  border-radius:6px 6px 0 0;
}
.comm-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.comm-badge{
  position:absolute;
  top:.85rem;right:.85rem;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.42rem .75rem;
  border-radius:999px;
  background:var(--gold,#d4af37);
  color:#fff;
  font-family:var(--font-sans);
  font-size:.58rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  line-height:1;
  box-shadow:0 6px 18px rgba(23,21,26,.22);
}
.comm-badge-star{
  font-size:.72rem;
  line-height:1;
}

.comm-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:clamp(1.25rem,2.2vw,1.65rem) clamp(1.2rem,2vw,1.55rem) 1.45rem;
  color:var(--ink);
}
.comm-title{
  font-family:var(--font-serif);
  font-weight:500;
  font-size:clamp(1.35rem,2vw,1.7rem);
  line-height:1.15;
  color:var(--ink);
  margin:0;
}
.comm-lead{
  margin:.7rem 0 0;
  color:var(--muted,#4b4a50);
  font-size:.9rem;
  line-height:1.65;
  font-weight:300;
}
.comm-body-text{
  margin:.85rem 0 0;
  color:var(--muted,#4b4a50);
  font-size:.84rem;
  line-height:1.65;
  font-weight:300;
}

/* Diamond point markers (match weddings stack cards) */
.comm-list{
  list-style:none;
  margin:1.15rem 0 0;
  padding:0;
  flex:1;
}
.comm-list li{
  display:flex;
  align-items:flex-start;
  gap:.55rem;
  padding:.4rem 0;
  font-size:.84rem;
  line-height:1.5;
  color:var(--ink);
  font-weight:300;
}
.comm-list li::before{
  content:"";
  flex:0 0 5px;
  width:5px;
  height:5px;
  margin-top:.48em;
  background:var(--gold,#d4af37);
  transform:rotate(45deg);
}
.comm-card.is-featured .comm-list li::before{
  background:var(--purple,#723176);
}

.comm-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  margin-top:1.4rem;
  align-self:stretch;
  width:100%;
  box-sizing:border-box;
  padding:.85em 1.35em;
  border-radius:6px;
  font-family:var(--font-sans);
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.14em;
  line-height:1.2;
  text-transform:uppercase;
  text-decoration:none;
  transition:background .35s var(--ease,cubic-bezier(.22,1,.36,1)),color .35s var(--ease,cubic-bezier(.22,1,.36,1)),border-color .35s var(--ease,cubic-bezier(.22,1,.36,1)),transform .35s var(--ease,cubic-bezier(.22,1,.36,1));
}
.comm-cta:not(.is-fluid) > span,
.comm-cta .fluid-label > span{
  display:inline-flex;
  align-items:center;
  line-height:1;
  transition:transform .35s var(--ease,cubic-bezier(.22,1,.36,1));
}
.comm-cta:not(.is-fluid):hover > span,
.comm-cta.is-fluid:hover .fluid-label > span{
  transform:translateX(3px);
}

/* Outline CTAs — gold border/text, gold fill on hover (home-style) */
.commission .comm-cta.btn-gold-line,
.commission .btn-gold-line,
.comm-cta.btn-gold-line,
.btn-gold-line{
  background:transparent!important;
  color:var(--gold)!important;
  border:1px solid var(--gold)!important;
}
.commission .comm-cta.btn-gold-line:hover,
.commission .comm-cta.btn-gold-line:focus-visible,
.commission .btn-gold-line:hover,
.commission .btn-gold-line:focus-visible,
.comm-cta.btn-gold-line:hover,
.comm-cta.btn-gold-line:focus-visible,
.btn-gold-line:hover,
.btn-gold-line:focus-visible{
  background:var(--gold)!important;
  color:var(--velvet)!important;
  border-color:var(--gold)!important;
}

@media(max-width:960px){
  .comm-grid{grid-template-columns:1fr;max-width:520px;margin-inline:auto;align-items:stretch}
  .comm-grid--5{grid-template-columns:1fr}
  .comm-grid--5 .comm-card{grid-column:auto}
  .comm-card.is-featured{order:-1;margin-block:0}
}

@media(min-width:961px){
  .comm-grid--5{
    grid-template-columns:repeat(6,minmax(0,1fr));
    align-items:stretch;
  }
  .comm-grid--5 .comm-card:nth-child(1){grid-column:1 / 3}
  .comm-grid--5 .comm-card:nth-child(2){grid-column:3 / 5}
  .comm-grid--5 .comm-card:nth-child(3){grid-column:5 / 7}
  .comm-grid--5 .comm-card:nth-child(4){grid-column:2 / 4}
  .comm-grid--5 .comm-card:nth-child(5){grid-column:4 / 6}
}
