/* ============================================================
   app.optimized.css - same look, faster render
   Tactics: flat selectors, clamp() sizing, transform/opacity-only
            content-visibility + contain, trimmed filters
   ============================================================ */

/* ------------------------------ TOKENS ------------------------------ */
:root {
  --bg: #0a0a0a;
  --fg: #f5f5f7;
  --muted: #b5b5c0;
  --line: rgba(255, 255, 255, .08);
  --surface: #0e0e10;
  --glass: rgba(20, 20, 22, .6);
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

/* ------------------------------ BASE ------------------------------ */
html,
body {
  background: var(--bg);
  color: var(--fg);
  margin: 0;
  font-family: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Respect reduced motion (skips animations/transitions) */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Images/SVGs render predictably */
img,
svg {
  max-width: 100%;
  height: auto;
}

/* ------------------------------ LOGOS ------------------------------ */
svg.logo-holo-footer {
  width: 200px;
  height: 200px;
  display: inline-block;
  fill: #fff;
}

/* Use clamp so we can drop the extra media queries */
svg.logo-holo {
  width: clamp(55px, 6.5vw, 90px);
  height: clamp(55px, 6.5vw, 90px);
  display: inline-block;
  fill: #fff;
  will-change: transform;
  /* tiny element; safe */
}

/* ------------------------------ EFFECTS ------------------------------ */
.shimmer-group {
  opacity: 0;
  transform: translateX(-100%) skewX(-25deg);
  transform-origin: left center;
  animation: shimmerLoop 8s infinite ease-in-out;
  will-change: transform, opacity;
}

@keyframes shimmerLoop {

  0%,
  15% {
    opacity: 0;
    transform: translateX(-100%) skewX(-25deg);
  }

  20% {
    opacity: 1;
    transform: translateX(-60%) skewX(-25deg);
  }

  40% {
    opacity: 1;
    transform: translateX(100%) skewX(-25deg);
  }

  60% {
    opacity: 0;
    transform: translateX(100%) skewX(-25deg);
  }

  100% {
    opacity: 0;
    transform: translateX(-100%) skewX(-25deg);
  }
}

/* ------------------------------ SIGNATURE ------------------------------ */
.signature-image {
  filter: grayscale(100%);
  max-height: 89.5vw;
  opacity: .95;
}

/* ------------------------------ NAVBAR ------------------------------ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 1px;
  background: transparent;
  transition: background .3s ease, backdrop-filter .3s ease;
}

.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(12px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.navbar-brand {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--fg);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--fg);
  opacity: 1;
}

.brand-logo-svg {
  display: inline-block;
}

.navbar-toggler {
  border: 0;
  background: none;
  color: var(--fg);
  font-size: 1.5rem;
}

.nav-link {
  color: var(--fg) !important;
  opacity: .85;
  font-weight: 600;
  transition: opacity .3s ease, transform .18s ease;
}

.nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.socials a {
  color: #fff !important;
  font-size: 1.25rem;
  opacity: .85;
  transition: opacity .3s ease, transform .18s ease;
}

.socials a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Floating socials for portrait (thumb height, center-right) */
.socials-float {
  display: none;
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  flex-direction: column;
  gap: 12px;
}

.socials-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff14;
  color: #fff;
  transition: background .2s ease;
}

.socials-float a:hover {
  background: #ffffff2a;
}

@media (orientation: portrait) and (max-width: 991.98px) {
  .socials-float {
    display: flex;
  }
  .signature-image {
    max-height: 100px;
  }
}

/* ------------------------------ HERO / SLIDER ------------------------------ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  content-visibility: auto;
  contain: content;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  height: 100vh;
}

#hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.65) contrast(1.02);
}

.carousel-control-prev,
.carousel-control-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40vw;
  opacity: 0;
  transition: opacity .25s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: .15;
}

.carousel-control-prev:focus,
.carousel-control-next:focus {
  opacity: .20;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6vw;
  z-index: 5;
  pointer-events: none;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 50% at 50% 60%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) .01%, rgba(0, 0, 0, .6) 100%);
  pointer-events: none;
  z-index: -1;
}

.hero-box {
  max-width: 920px;
}

.hero-title {
  font-size: clamp(2.4rem, 2.6vw, 4rem);
  font-weight: 800;
  margin-bottom: .5rem;
}

.hero-sub {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: clamp(1rem, .4rem + .9vw, 1.25rem);
}

.btn-main {
  background: #fff;
  color: #000;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .2s ease, filter .2s ease;
  pointer-events: auto;
  will-change: transform;
}

.btn-main:hover {
  transform: translateY(-2px);
  background: #f1f1f1;
}

@media (orientation: portrait) and (max-width: 991.98px) {
  .lead {
    font-size: 1.00rem;
  }
}


/* ------------------------------ SECTIONS ------------------------------ */
.section {
  padding: clamp(80px, 8vw, 140px) 0;
  position: relative;
  content-visibility: auto;
  contain: content;
  contain-intrinsic-size: 800px;
}

.section .sub {
  display: block;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .25rem;
}

.section .desc {
  color: var(--muted);
  max-width: 64ch;
  margin: 0 auto 1.25rem;
}

/* ------------------------------ CHIPS ------------------------------ */
.flow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  background: var(--surface);
  border: .5px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

/* ------------------------------ MERCH ------------------------------ */
.merch .card {
  background: var(--surface);
  border: .5px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  content-visibility: auto;
  contain: content;
  contain-intrinsic-size: 320px;
}

.merch .card:hover {
  transform: translateY(-3px);
  background: #121214;
  border-color: rgba(255, 255, 255, .14);
}

.merch .card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: .75rem;
  border: .5px solid var(--line);
}

.merch .card h5 {
  color: var(--fg);
  margin-top: .25rem;
}

.merch .card p {
  color: var(--muted);
}

.btn-ghost {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  margin-top: auto;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

/* ------------------------------ ABOUT (SPLIT / OVERLAY) ------------------------------ */
/* One consolidated definition (removed duplicate) */
section.about-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  padding: 0;
  overflow: hidden;
  background-color: #000;
  content-visibility: auto;
  contain: content;
  contain-intrinsic-size: 900px;
  padding-top: 60px;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 6vw, 80px);
  height: 100%;
}

.about-visual {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.about-headline {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(180deg, #fff 0%, #999 100%);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: .75rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}

.about-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 64ch;
  margin: 0 0 1.1rem 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease .12s, transform .8s ease .12s;
}

/* Background photo */
.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--photo, url('/images/about.jpg')) center/cover no-repeat #000;
  filter: brightness(1.06) contrast(1.12) saturate(1.06);
  transform: scale(1.01);
  transition: transform 1.6s ease, filter .35s ease;
  z-index: 0;
}

.about-visual:hover::before {
  transform: scale(1.06);
}

/* Soft fade and smoke */
.soft-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .45) 35%, rgba(0, 0, 0, 0) 70%);
  z-index: 1;
}

.real-smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.real-smoke::before,
.real-smoke::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  background: radial-gradient(80% 100% at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .75) 40%, rgba(0, 0, 0, 0) 88%);
  filter: url(#smokeFilter) blur(28px);
  opacity: .7;
  animation: smokeDrift 18s ease-in-out infinite alternate;
}

.real-smoke::before {
  left: -30%;
  top: -15%;
}

.real-smoke::after {
  right: -30%;
  bottom: -15%;
  opacity: .5;
  animation-delay: -6s;
}

@keyframes smokeDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(4%, -3%) scale(1.05);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Seam mist */
.seam-mist {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.seam-mist::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(16vw, 160px);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .72) 58%, rgba(0, 0, 0, 0) 100%);
  filter: url(#smokeFilter) blur(40px);
  opacity: .9;
}

/* Projects SVGs */
svg.projects-svgs {
  width: 100%;
  padding: 5%;
}

.projectssvgpaths {
  fill: #fff;
  stroke: #fff;
  stroke-miterlimit: 10;
  animation: infinite;
}

a.projectssvgslinks {
  justify-content: center;
  justify-items: center;
  display: flex;
}

#about .subtitle {
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 2rem;
}

/* Portrait overlay mode */
@media (max-width: 1220px) {
  section.about-split {
    display: block;
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  .about-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .about-visual::before {
    background-position: center 22%;
  }

  .about-text {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    max-width: 64ch;
    margin: 0 auto;
    padding: clamp(20px, 6vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .soft-fade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .42) 35%, rgba(0, 0, 0, 0) 75%),
      radial-gradient(80% 60% at 50% 100%, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 60%);
  }

  .seam-mist {
    display: none;
  }
}

/* Reveal on scroll helper */
.in-view .about-headline,
.in-view .about-desc {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .about-text { padding: clamp(50px, 3vw, 70px);}
  svg.projects-svgs {
    width: 80%;
    padding: 5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-headline,
  .about-desc {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ------------------------------ TECHNIQUE SECTION ------------------------------ */

/* ============================== */
/* Scoped to: .technique          */
/* ============================== */

.technique {
  background: var(--bg);
  color: var(--fg);
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Outer shell uses current layout as max, but can shrink based on viewport */
.technique .tech-shell {
  max-width: 1800px;
  min-height: 100vh;  /* at least full viewport */
  height: auto;       /* but allow taller if content needs it */
  margin: 0 auto;
  width: 100%;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
}

.technique .tech-top-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 18px;
  width: 100%;
}

.technique .tech-headline-block {
  max-width: 480px;
  text-align: center;
}

#technique .subtitle {
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 1.25rem;
}

.technique .tech-grid {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

/* Tier container + flip */

.technique .tier {
  position: relative;
  perspective: 1000px;

  /* Responsive height:
     - minimum: 360px on very small screens
     - preferred: 70vh (scale with viewport height)
     - maximum: 620px (your current design)
  */
  height: clamp(360px, 70vh, 620px);
}

.technique .tier-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.technique .tier.flipped .tier-inner {
  transform: rotateY(180deg);
}

/* Card faces */

.technique .tier-face {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 16px 14px 14px;
  backface-visibility: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03)), #0f0f0f;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}

.technique .tier-face.back {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .08), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(191, 252, 255, .06), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02)),
    #060609;
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .9);
}

.technique .tier-face.back::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from 210deg,
    rgba(249, 249, 255, .18),
    rgba(191, 252, 255, .12),
    rgba(244, 255, 191, .16),
    rgba(249, 249, 255, .18)
  );
  mix-blend-mode: soft-light;
  opacity: .12;
  pointer-events: none;
}

/* Header */

.technique .tier-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.technique .tier-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.technique .tier-index-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #f9f9ff, #bffcff, #f4ffbf, #f9f9ff);
  box-shadow: 0 0 14px rgba(188, 255, 240, .45);
  animation: techniqueHoloPulse 8s ease-in-out infinite alternate;
  flex-shrink: 0;
}

.technique .tier-index-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--fg);
}

@keyframes techniqueHoloPulse {
  0%   { filter: saturate(1)   brightness(1); }
  100% { filter: saturate(1.3) brightness(1.08); }
}

.technique .tier-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.technique .tier-name {
  font-size: 1.10rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.technique .tier-role {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}

.technique .tier-sub {
  margin-top: 2px;
  font-size: .76rem;
  color: var(--muted);
}

/* Image */

.technique .tier-image {
  width: 100%;
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 12px;
  position: relative;
  box-shadow: 0 0 10px rgba(180, 255, 240, 0.15);
  border: 1px solid var(--line);
  transition: box-shadow .4s ease, border-color .4s ease;

  /* Responsive image area:
     - minimum: 160px (small screens)
     - preferred: 30vh
     - maximum: 300px (current landscape)
  */
  min-height: clamp(160px, 30vh, 300px);
}

.technique .tier-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.82);
  transition: filter .4s ease;
}

.technique .tier-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,0));
  pointer-events: none;
}

.technique .tier:hover .tier-image img {
  filter: grayscale(0%) brightness(0.95);
}

.technique .tier:hover .tier-image {
  box-shadow: 0 0 16px rgba(220, 255, 240, 0.25);
  border-color: rgba(220, 255, 240, 0.55);
}

/* Buttons */

.technique .tier-toggle {
  margin-top: auto;
  align-self: stretch;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-family: inherit;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    border-color .2s ease,
    transform .18s ease;
}

.technique .tier-toggle span.icon {
  font-size: .8rem;
  transform: translateY(-1px);
  transition: transform .3s ease, opacity .2s ease;
  opacity: .7;
}

.technique .tier-toggle:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  transform: translateY(-1px);
}

.technique .tier.flipped .tier-toggle span.icon {
  transform: rotate(180deg) translateY(1px);
  opacity: 1;
}

.technique .tier-toggle--back {
  margin-top: 8px;
  align-self: flex-start;
  background: transparent;
}

/* Back content */

.technique .back-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 8px;
  padding: 14px 10px 12px;
}

.technique .back-label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.technique .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.technique .eval-badge {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: .74rem;
  color: #e5e5f2;
  background: linear-gradient(135deg, rgba(255, 255, 255, .06), #111218);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .7);
  white-space: nowrap;
}

.technique .price-line {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: .74rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.technique .price-line span {
  font-weight: 500;
  color: var(--fg);
}

/* CTA below cards */

.technique .tech-below-cta {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.technique .tech-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #050507;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .85);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.technique .tech-cta-main span.icon {
  font-size: .9rem;
  opacity: .7;
  transform: translateY(-1px);
}

.technique .tech-cta-main:hover {
  background: #f1f1f1;
}

/* Responsive tweaks */

@media (orientation: portrait) {
  .technique .tech-shell {
    padding: 24px 10px 32px;
  }

  .technique .tech-grid {
    grid-template-columns: 1fr;
    margin-inline: auto;
    gap: 14px;
    width: 100%;
  }

  /* Full width per card without making it a flex container */
  .technique .tech-grid .tier {
    width: 100%;
  }

  .technique .tech-grid .tier-inner {
    display: flex;
    flex-direction: column;
  }
}

@media (orientation: landscape) {
  .technique .tech-shell {
    padding: 32px 24px 40px;
  }

  .technique .tech-grid {
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    margin-inline: auto;
    gap: 20px;
    width: 100%;
  }
}

/* Technique: shrink cards on smaller heights */
@media (max-height: 1300px) {
  /* let the card be shorter on smaller viewports */
  .technique .tier {
    height: 360px;   /* explicit height so Safari keeps 100 percent height for inner */
  }

  /* smaller image block so there is room for text and button */
  .technique .tier-image {
    min-height: 160px;
    margin-bottom: 10px;
  }

  /* tighten vertical spacing a bit */
  .technique .tier-face {
    padding: 12px 10px 12px;
  }

  .technique .tier-toggle {
    padding: 8px 12px;
  }

  .technique .tech-shell {
    padding-bottom: 64px;
  }
}


/*============ Merch =============*/
#merch .merch-container {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* Desktop / large screens */
  min-height: 100vh;
  max-height: 1300px;  /* your chosen cap */
  height: auto;
}

#merch .subtitle {
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}

#merch .col {
  margin: 0.1;
}


/* Merch: mobile override to avoid cutting */
@media (max-height: 1300px) {
  #merch .merch-container {
    max-height: none;
    min-height: auto;
    height: auto;
    padding: 40px 16px 64px;
    align-items: stretch;
  }
    
  #merch img {
    max-height: 300px;
  }
}


/*============ contact =============*/
#contact .contact-container {
  display:flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  align-items: center;
}
