:root {
  --brand: #1f2937;
  --brand-deep: #111827;
  --accent: #00d1b2;
  --accent-dark: #00b89c;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body.chapter-site {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--surface);
}

a {
  text-decoration: none;
}

.page-shell {
  padding-top: 84px;
}

.site-navbar {
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(10px);
}

.site-navbar .navbar-brand {
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

.site-navbar .navbar-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.site-navbar .nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.show,
.site-navbar .nav-link.active {
  color: var(--accent);
}

.chapter-dropdown-menu {
  min-width: 12rem;
  margin-top: 0.75rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(17, 24, 39, 0.98);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.26);
}

.chapter-dropdown-menu .dropdown-item {
  border-radius: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  padding: 0.6rem 0.9rem;
}

.chapter-dropdown-menu .dropdown-item:hover,
.chapter-dropdown-menu .dropdown-item:focus,
.chapter-dropdown-menu .dropdown-item.active {
  background: rgba(0, 209, 178, 0.16);
  color: var(--accent);
}

.btn-accent {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #042f2e;
  font-weight: 700;
}

.btn-accent:hover,
.btn-accent.active {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #042f2e;
}

.btn-outline-light-strong {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-weight: 600;
}

.btn-outline-light-strong:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-home {
  min-height: 92vh;
}

.hero-slides,
.hero-slide,
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  animation: heroFade 24s infinite;
}

.hero-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(31, 41, 55, 0.72)),
    radial-gradient(circle at top right, rgba(0, 209, 178, 0.28), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 6rem;
}

.hero-home .hero-content {
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-subtext {
  max-width: 680px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-showcase {
  display: grid;
  gap: 1rem;
  align-self: stretch;
}

.hero-photo-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.hero-photo-card-large {
  min-height: 320px;
}

.hero-photo-card img,
.contact-visual-card img,
.gallery-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-caption,
.gallery-photo-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.88) 100%);
  color: #fff;
}

.hero-photo-caption span,
.gallery-photo-caption span {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.hero-photo-caption strong,
.gallery-photo-caption strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.gallery-photo-caption small {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-page {
  min-height: 420px;
}

.hero-page .hero-content {
  padding: 7rem 0 4rem;
}

.section-block {
  padding: 5rem 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-copy {
  color: var(--muted);
  max-width: 760px;
}

.section-text {
  color: var(--muted);
  max-width: 820px;
}

.content-card {
  height: 100%;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.content-card h3,
.content-card h4 {
  font-weight: 700;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.public-shop-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.public-shop-card:hover,
.public-shop-card.active {
  transform: translateY(-4px);
  border-color: rgba(0, 209, 178, 0.42);
}

.public-shop-image {
  min-height: 230px;
  background:
    radial-gradient(circle at top right, rgba(0, 209, 178, 0.18), transparent 34%),
    linear-gradient(145deg, #f8fafc, #e2e8f0);
}

.public-shop-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.public-shop-body {
  padding: 1.35rem;
}

.public-shop-price {
  color: var(--brand-deep);
  font-size: 1.5rem;
}

.public-shop-order-card {
  position: sticky;
  top: 110px;
}

.public-shop-selected {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface-soft);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-soft {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 209, 178, 0.14);
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 700;
}

.info-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.info-list li + li {
  margin-top: 0.65rem;
}

.cta-panel .info-list {
  color: rgba(255, 255, 255, 0.82);
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 118px;
  height: 118px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(0, 209, 178, 0.16);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.team-role {
  color: var(--accent-dark);
  font-weight: 700;
}

.team-accordion {
  display: grid;
  gap: 1.25rem;
}

.team-accordion-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.team-accordion-button {
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.team-accordion-button strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
}

.team-accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(0, 209, 178, 0.14), rgba(241, 245, 249, 0.96));
  color: var(--text);
  box-shadow: none;
}

.team-accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 209, 178, 0.18);
}

.team-cohort-status {
  display: inline-flex;
  margin-bottom: 0.5rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(0, 209, 178, 0.14);
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-accordion-body {
  padding: 1.5rem;
  background: linear-gradient(180deg, #fff, rgba(241, 245, 249, 0.7));
}

.cta-panel {
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--brand), #334155);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.84);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-item + .faq-item {
  margin-top: 1rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-form-panel .form-control {
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  border-color: rgba(15, 23, 42, 0.14);
}

.contact-form-panel textarea.form-control {
  min-height: 180px;
}

.contact-visual-card {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  border-radius: 1.25rem;
  min-height: 260px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 1.5rem;
  background: #dbe5f1;
  box-shadow: var(--shadow);
}

.gallery-photo-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 500px;
}

.gallery-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-collection-tile {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 1.5rem;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.gallery-collection-tile:first-child {
  grid-column: span 2;
}

.gallery-collection-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-collection-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.gallery-collection-meta {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.25rem;
}

.gallery-collection-meta span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 209, 178, 0.18);
  color: #a7fff0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-collection-meta strong {
  display: block;
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.15;
}

.gallery-collection-meta small {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.76);
}

.gallery-collection-tile:hover,
.gallery-collection-tile.active {
  color: #fff;
}

.gallery-collection-tile:hover img,
.gallery-collection-tile.active img {
  transform: scale(1.05);
}

.gallery-collection-stack {
  display: grid;
  gap: 1.5rem;
}

.gallery-collection-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.75fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-collection-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
}

.gallery-collection-copy h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  font-weight: 800;
}

.gallery-collection-copy p {
  color: var(--muted);
}

.gallery-count {
  align-self: flex-start;
  margin-top: 0.85rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 209, 178, 0.14);
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 700;
}

.related-gallery-carousel {
  overflow: hidden;
  border-radius: 1.35rem;
  background: #0f172a;
}

.related-gallery-carousel .carousel-item {
  min-height: 520px;
}

.related-gallery-carousel img {
  height: 520px;
  object-fit: cover;
}

.gallery-carousel-caption {
  right: 0;
  left: 0;
  bottom: 0;
  padding: 4rem 1.5rem 1.5rem;
  text-align: left;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.gallery-carousel-caption span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-carousel-caption strong,
.gallery-carousel-caption small {
  display: block;
}

.gallery-carousel-caption strong {
  max-width: 720px;
  font-size: clamp(1.3rem, 2vw, 2.1rem);
  line-height: 1.2;
}

.gallery-carousel-caption small {
  max-width: 720px;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.related-gallery-carousel .carousel-control-prev,
.related-gallery-carousel .carousel-control-next {
  width: 4.5rem;
}

.collection-feature-carousel {
  box-shadow: var(--shadow);
}

.selected-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.selected-gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 0;
  border: 0;
  border-radius: 1.2rem;
  background: #0f172a;
  color: #fff;
  text-align: left;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.selected-gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.selected-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.selected-gallery-card span {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem;
}

.selected-gallery-card strong,
.selected-gallery-card small {
  display: block;
}

.selected-gallery-card small {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-lightbox-modal .modal-content {
  background: #020617;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.7);
  opacity: 1;
}

.gallery-lightbox-carousel,
.gallery-lightbox-carousel .carousel-inner,
.gallery-lightbox-carousel .carousel-item {
  height: 100vh;
}

.gallery-lightbox-carousel img {
  height: 100vh;
  object-fit: contain;
  background: #020617;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.visual-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.visual-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.visual-card-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem;
  color: #fff;
}

.visual-card-caption span {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.visual-card-caption strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.site-footer {
  padding: 3.5rem 0 1.5rem;
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a {
  color: var(--accent);
}

.site-footer a:hover {
  color: #7ef7e4;
}

.footer-title {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-heading {
  margin-bottom: 0.95rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-copy {
  max-width: 320px;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-tagline {
  color: var(--accent);
  font-weight: 700;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.footer-social-links a:hover {
  background: var(--accent);
  color: var(--brand-deep);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact-socials {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.public-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.public-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.public-social-links a:hover {
  background: var(--accent);
  color: var(--brand-deep);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

@keyframes heroFade {
  0%,
  20% {
    opacity: 1;
  }

  25%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 991px) {
  .site-navbar .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.98);
  }

  .hero-home-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    max-width: 760px;
  }

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

  .gallery-photo-card.featured {
    grid-column: span 2;
  }

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

  .gallery-collection-tile:first-child {
    grid-column: span 2;
  }

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

  .public-shop-order-card {
    position: static;
  }

  .gallery-collection-card {
    grid-template-columns: 1fr;
  }

  .related-gallery-carousel .carousel-item {
    min-height: 420px;
  }

  .related-gallery-carousel img {
    height: 420px;
  }
}

@media (max-width: 767px) {
  .page-shell {
    padding-top: 74px;
  }

  .hero-home,
  .hero-home .hero-content {
    min-height: 78vh;
  }

  .section-block {
    padding: 4rem 0;
  }

  .hero-photo-stack,
  .gallery-preview-grid {
    grid-template-columns: 1fr;
  }

  .gallery-collection-grid,
  .selected-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-collection-tile,
  .gallery-collection-tile:first-child {
    grid-column: auto;
  }

  .visual-grid,
  .visual-grid-three {
    grid-template-columns: 1fr;
  }

  .gallery-photo-card.featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .gallery-collection-card {
    padding: 0.75rem;
    border-radius: 1.35rem;
  }

  .gallery-collection-copy {
    padding: 1rem;
  }

  .related-gallery-carousel .carousel-item {
    min-height: 360px;
  }

  .related-gallery-carousel img {
    height: 360px;
  }

  .gallery-carousel-caption {
    padding: 4rem 1rem 1rem;
  }

  .hero-photo-card-large {
    min-height: 260px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
