/* Smile Gallery: original Highland colors and typography. */
.smile-gallery-page {
  --sg-border: #d8cbb6;
  --sg-muted: #625b51;
  --sg-gold-ink: #75591f;
}
.sg-header { padding: 64px clamp(24px, 5vw, 80px) 52px; background: var(--cream-soft); border-bottom: 1px solid var(--sg-border); }
.sg-header-inner, .sg-layout { max-width: 1280px; margin-inline: auto; }
.sg-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; font-size: 14px; line-height: 1.6; color: var(--sg-muted); }
.sg-breadcrumb a { color: var(--navy); text-underline-offset: 4px; }
.sg-header h1 { font-size: clamp(46px, 5.5vw, 78px); line-height: 1.12; text-transform: uppercase; }
.sg-header p { max-width: 620px; margin: 20px 0 0; font-size: 18px; }
.sg-main { padding: 64px clamp(24px, 5vw, 80px) 88px; background: #fff; }
.sg-layout { display: grid; grid-template-columns: minmax(210px, .85fr) minmax(0, 2fr); align-items: start; gap: clamp(28px, 4vw, 64px); }
.sg-filters { display: grid; gap: 14px; }
.sg-filter-label { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sg-muted); margin: 0 0 4px; }
.sg-filter { width: 100%; min-height: 72px; border: 2px solid var(--navy); background: var(--navy); color: #fff; padding: 18px 20px; font: 500 clamp(20px, 2vw, 27px)/1.3 'Oswald', sans-serif; cursor: pointer; text-align: center; overflow-wrap: break-word; transition: background-color .18s ease, border-color .18s ease; }
.sg-filter:hover { background: var(--navy-deep); border-color: var(--gold); }
.sg-filter[aria-pressed="true"] { color: var(--navy); background: var(--cream-soft); border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.smile-gallery-page .sg-filter:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.sg-results { min-width: 0; }
.smile-gallery-page .sg-results h2 { font-size: clamp(38px, 4.5vw, 62px); line-height: 1.16; margin: 0 0 32px; }
.sg-pending { border-top: 1px solid var(--sg-border); padding-top: 24px; }
.sg-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sg-pair figure { min-width: 0; margin: 0; }
.sg-photo-label { display: block; margin: 0 0 10px; color: var(--navy); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.sg-photo-pending { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--sg-border); background: var(--cream-soft); color: var(--sg-muted); text-align: center; font-size: 14px; line-height: 1.5; }
.sg-photo-pending svg { width: 42px; height: 42px; color: var(--gold); }
.sg-pending-copy { padding: 28px 0 0; }
.sg-pending-copy .sg-eyebrow { display: block; margin-bottom: 12px; color: var(--sg-gold-ink); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.sg-pending-copy h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.3; margin-bottom: 12px; }
.sg-pending-copy p { max-width: 620px; margin-bottom: 0; }
.sg-contact { margin: 28px 0 0; border-top: 1px solid var(--sg-border); padding-top: 24px; font-size: 16px; }
.sg-contact a { color: var(--navy); text-underline-offset: 4px; font-weight: 800; }
.sg-case-list { display: grid; gap: 46px; }
.sg-case-list:empty { display: none; }
.sg-case { padding-bottom: 36px; border-bottom: 1px solid var(--sg-border); }
.sg-case .sg-pair img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--cream-soft); }
.sg-case-copy { padding-top: 24px; }
.sg-case-category { display: block; margin-bottom: 10px; color: var(--sg-gold-ink); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.sg-case-copy h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; margin-bottom: 12px; }
.sg-case-copy p { margin: 0; }
.sg-outcomes { color: var(--sg-muted); font-size: 14px; margin: 28px 0 0; }
.sg-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.smile-gallery-page [hidden] { display: none !important; }
@media (max-width: 1100px) and (min-width: 921px) {
  .sg-main, .sg-header { padding-inline: 28px; }
  .sg-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 26px; }
  .sg-filter { padding-inline: 12px; font-size: 22px; }
}
@media (max-width: 760px) {
  .sg-header { padding-block: 44px 36px; }
  .sg-header p { font-size: 17px; }
  .sg-main { padding-block: 36px 56px; }
  .sg-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sg-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sg-filter-label { grid-column: 1 / -1; }
  .sg-filter { min-height: 64px; font-size: 20px; padding: 14px 12px; }
  .smile-gallery-page .sg-results h2 { margin-bottom: 24px; }
  .sg-photo-pending { padding: 12px; font-size: 13px; }
}
@media (max-width: 400px) {
  .sg-pair { gap: 10px; }
  .sg-photo-pending { min-height: 136px; aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) { .sg-filter { transition: none; } }
