/* pages.css — page-specific layouts
   Sections: shop · product · cart · checkout · confirmation · track · invoice ·
   account · home · foundation · gallery · donate · contact · bulk · policies · 404 */

/* ==================================================================== shop */
.shop-layout {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .shop-layout {
    grid-template-columns: 18.5rem minmax(0, 1fr);
    align-items: start;
    gap: var(--s-6);
  }
  .shop-layout .filters {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

.shop-main { display: grid; gap: var(--s-4); }
.shop-main .product-grid { margin-top: var(--s-2); }
.shop-toolbar { margin-bottom: 0; }

/* ================================================================= product */
.pdp {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: var(--s-5);
}

@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

.pdp__gallery { display: grid; gap: var(--s-3); align-content: start; }

.pdp__main-img {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-cream);
}

.pdp__main-img img { width: 100%; height: 100%; object-fit: cover; }

.pdp__thumbs { display: flex; gap: var(--s-3); flex-wrap: wrap; }

.thumb {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--c-line);
  overflow: hidden;
  padding: 0;
  background: var(--c-cream);
  transition: border-color var(--d-sm) var(--e-out);
}

.thumb img { width: 100%; height: 100%; object-fit: cover; }

.thumb:hover { border-color: var(--c-sage); }
.thumb.is-active { border-color: var(--c-dark); box-shadow: 0 0 0 2px var(--c-sage-soft); }

.pdp__info { display: grid; gap: var(--s-4); align-content: start; }
.pdp__info h1 { font-size: var(--t-3xl); margin: 0; }
.pdp__badges { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pdp__short { color: var(--c-muted); font-size: var(--t-md); line-height: 1.6; }

.pdp__price {
  display: grid;
  gap: 0.2rem;
  padding: var(--s-4);
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}

.pdp__price-value {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem);
  color: var(--c-dark);
  line-height: 1;
}

.pdp__price-note { font-size: var(--t-sm); color: var(--c-muted); }

.pdp__buy {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

.pdp__buy .btn { flex: 1; min-width: 9rem; }

.qty__input {
  width: 2.6rem;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qty__input:focus-visible { outline: 3px solid var(--c-teal); outline-offset: -2px; }

.pdp__stock {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

.pdp__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--t-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
}

.pdp__details {
  display: grid;
  gap: var(--s-5);
  margin-top: var(--s-7);
}

@media (min-width: 820px) {
  .pdp__details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.story-block {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: var(--s-3);
  align-content: start;
}

.story-block h2 { font-size: var(--t-xl); margin: 0; }
.story-block p { color: var(--c-muted); line-height: 1.7; }
.story-block .specs { margin-top: var(--s-2); }

#bulk-cta { margin-top: var(--s-7); }

.nf-box { margin-top: var(--s-5); }
.nf-box h1 { font-size: var(--t-2xl); }

/* =================================================================== cart */
.cart-layout {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 23rem; }
}

.cart-lines {
  display: grid;
  gap: var(--s-4);
}

.cart-line {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: var(--s-4);
  padding: var(--s-4);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
}

@media (min-width: 640px) {
  .cart-line { grid-template-columns: 7.5rem minmax(0, 1fr) auto; }
}

.cart-line__media {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-cream);
}

.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }

.cart-line__info { display: grid; gap: 0.35rem; align-content: start; }

.cart-line__name { font-size: var(--t-lg); margin: 0; }
.cart-line__name a { color: var(--c-dark); text-decoration: none; }
.cart-line__name a:hover { color: var(--c-teal-deep); }

.cart-line__meta { font-size: var(--t-sm); color: var(--c-muted); }

.cart-line__controls {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-2);
  flex-wrap: wrap;
}

.cart-line__price {
  display: grid;
  gap: 0.2rem;
  justify-items: end;
  align-content: space-between;
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .cart-line__price { grid-column: auto; }
}

.cart-line__unit { font-size: var(--t-xs); color: var(--c-muted); }
.cart-line__price strong { font-size: var(--t-lg); color: var(--c-dark); font-variant-numeric: tabular-nums; }

.cart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-5);
  flex-wrap: wrap;
}

.cart-summary { position: relative; }

@media (min-width: 960px) {
  .cart-summary { position: sticky; top: calc(var(--header-h) + 1rem); }
}

/* =============================================================== checkout */
.checkout-layout {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 24rem; }
}

.checkout-main { display: grid; gap: var(--s-5); }

.checkout-section {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: var(--s-5);
}

.checkout-section__head {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.checkout-section__num {
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: var(--r-full);
  background: var(--c-dark);
  color: var(--c-on-dark);
  display: grid;
  place-items: center;
  font-size: var(--t-sm);
  font-weight: var(--fw-bold);
}

.checkout-section__head h2 { font-size: var(--t-xl); margin: 0; }

.checkout-aside { position: relative; }

@media (min-width: 960px) {
  .checkout-aside { position: sticky; top: calc(var(--header-h) + 1rem); }
}

.order-items { display: grid; gap: var(--s-3); }

.order-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: var(--s-3);
  align-items: center;
}

.order-item img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: var(--r-xs);
  background: var(--c-cream);
}

.order-item--simple { grid-template-columns: minmax(0, 1fr) auto; }

.order-item__info { display: grid; gap: 0.1rem; min-width: 0; }

.order-item__name {
  font-size: var(--t-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-item__meta { font-size: var(--t-xs); color: var(--c-muted); }

.order-item__price {
  font-size: var(--t-sm);
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
}

.payment-state { display: grid; gap: var(--s-4); justify-items: center; text-align: center; }

.payment-state--ok { color: var(--c-success); }
.payment-state--ok h3 { color: var(--c-dark); }
.payment-state__icon {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: var(--r-full);
  background: var(--c-success-soft);
  color: var(--c-success);
  display: grid;
  place-items: center;
}

/* ========================================================== confirmation */
.confirm-hero {
  display: flex;
  gap: var(--s-5);
  align-items: flex-start;
  flex-wrap: wrap;
}

.confirm-hero__icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--r-full);
  background: var(--c-success-soft);
  color: var(--c-success);
  display: grid;
  place-items: center;
  flex: none;
}

.confirm-hero h1 { margin: 0.2rem 0; }
.confirm-hero__id { color: var(--c-teal-deep); font-weight: var(--fw-semibold); letter-spacing: 0.04em; }

.confirm-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  margin-top: var(--s-5);
}

@media (min-width: 860px) {
  .confirm-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

.detail-list { display: grid; gap: var(--s-3); }

.detail-list > div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-line);
}

.detail-list > div:last-child { border-bottom: 0; padding-bottom: 0; }

.detail-list dt {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  font-weight: var(--fw-semibold);
}

.detail-list dd { margin: 0; color: var(--c-ink); font-size: var(--t-base); line-height: 1.55; }

.detail-list--tight > div { padding-bottom: var(--s-2); }

/* ================================================================== track */
.track-search {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: var(--s-6);
}

@media (min-width: 760px) {
  .track-search { grid-template-columns: 1.2fr 1fr auto; align-items: end; }
}

.track-search .btn { height: 2.9rem; }

.track-head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--s-5);
}

.track-head h2 { margin: 0.2rem 0; font-family: var(--f-mono); font-size: var(--t-xl); }

.track-head__eta {
  background: var(--c-teal-soft);
  border: 1px solid #C3DDF2;
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  display: grid;
  gap: 0.15rem;
  min-width: 14rem;
}

.track-head__eta-label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-teal-deep);
  font-weight: var(--fw-bold);
}

.track-head__eta-value { font-weight: var(--fw-semibold); color: var(--c-dark); }
.track-head__eta-sub { font-size: var(--t-sm); color: var(--c-muted); }

.track-layout {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .track-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

/* ================================================================ invoice */
.invoice-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}

.invoice {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--sh-1);
}

.invoice__head {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  padding-bottom: var(--s-5);
  border-bottom: 2px solid var(--c-dark);
  margin-bottom: var(--s-5);
}

@media (min-width: 720px) {
  .invoice__head { grid-template-columns: 1.3fr 1fr; }
}

.invoice__logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  display: block;
  margin-bottom: var(--s-3);
}

.invoice__org {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  color: var(--c-dark);
  margin-bottom: 0.4rem;
}

.invoice__from address { font-style: normal; color: var(--c-muted); line-height: 1.6; font-size: var(--t-sm); }
.invoice__gst { font-family: var(--f-mono); font-size: var(--t-sm); margin-top: var(--s-2); }

.invoice__meta h1 { font-size: var(--t-2xl); margin-bottom: var(--s-3); }

@media (min-width: 720px) {
  .invoice__meta { text-align: right; }
  .invoice__meta .detail-list > div { grid-template-columns: auto auto; justify-content: end; column-gap: var(--s-3); }
  .invoice__meta .detail-list dt { text-align: right; }
}

.invoice__billing {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-5);
}

@media (min-width: 640px) {
  .invoice__billing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.invoice__billing h2 {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-muted);
  margin-bottom: var(--s-2);
}

.invoice__billing address { font-style: normal; line-height: 1.6; font-size: var(--t-sm); }

.invoice__table { width: 100%; border-collapse: collapse; margin-bottom: var(--s-5); }

.invoice__table th {
  text-align: left;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  padding: var(--s-2) var(--s-2);
  border-bottom: 2px solid var(--c-line);
}

.invoice__table td {
  padding: var(--s-3) var(--s-2);
  border-bottom: 1px solid var(--c-line);
  font-size: var(--t-sm);
  vertical-align: top;
}

.invoice__num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.invoice__table th.invoice__num { text-align: right; }

.invoice__sub { display: block; color: var(--c-muted); font-size: var(--t-xs); margin-top: 0.15rem; }

.invoice__totals {
  margin-left: auto;
  max-width: 24rem;
  display: grid;
  gap: var(--s-2);
}

.invoice__foot {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px dashed var(--c-line);
  display: grid;
  gap: var(--s-2);
  font-size: var(--t-sm);
  color: var(--c-muted);
}

.invoice__disclaimer { color: var(--c-danger); font-size: var(--t-base); }

/* ================================================================ account */
.auth-box {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  display: grid;
  gap: var(--s-4);
}

#auth-form { display: grid; gap: var(--s-4); }

.account-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}

.account-head h2 { margin: 0.2rem 0; }

.tab-panel { display: grid; gap: var(--s-4); }
.tab-panel h2 { font-size: var(--t-xl); }

.address-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.address-form {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-4);
}

.order-list { display: grid; gap: var(--s-4); }

/* ==================================================================== home */
html.no-scroll { overflow: hidden; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(134, 190, 230, 0.35), transparent 60%),
    radial-gradient(40rem 24rem at -10% 20%, rgba(23, 107, 174, 0.12), transparent 60%),
    linear-gradient(180deg, var(--c-cream), var(--c-paper));
  border-bottom: 1px solid var(--c-line);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 5rem;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0 60c150-40 250 30 400 10s250-50 400-20 250 40 400 0v50H0z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3.5rem, 8vw, 6rem);
}

@media (min-width: 940px) {
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

.hero__text { display: grid; gap: var(--s-4); }

.hero__text h1 {
  font-size: var(--t-hero);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: var(--t-lg);
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 46ch;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

.hero__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }

.hero__art { position: relative; }

.hero__frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-3);
  background: var(--c-cream);
}

.hero__frame img { width: 100%; height: 100%; object-fit: cover; }

.hero__float {
  position: absolute;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  padding: var(--s-3) var(--s-4);
  display: grid;
  gap: 0.1rem;
  animation: sp-float 6s ease-in-out infinite;
}

.hero__float--top { top: 8%; left: -4%; }
.hero__float--bottom { bottom: 9%; right: -3%; animation-delay: 1.4s; }

@keyframes sp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__float-label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  font-weight: var(--fw-semibold);
}

.hero__float-value { font-weight: var(--fw-semibold); color: var(--c-dark); font-size: var(--t-sm); }

.split__text { display: grid; gap: var(--s-4); align-content: center; }
.split__text h2 { font-size: var(--t-3xl); margin: 0; }

.story-art {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-2);
  aspect-ratio: 5 / 4;
  background: var(--c-cream);
}

.story-art img { width: 100%; height: 100%; object-fit: cover; }

.story-art__tag { position: absolute; left: var(--s-4); bottom: var(--s-4); }

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(76%, 1fr);
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--s-3);
  scrollbar-width: thin;
  scrollbar-color: var(--c-sage) transparent;
}

@media (min-width: 640px) { .carousel { grid-auto-columns: minmax(44%, 1fr); } }
@media (min-width: 1024px) { .carousel { grid-auto-columns: minmax(280px, 1fr); } }

.carousel__slide { scroll-snap-align: start; }
.carousel__slide .card { height: 100%; }

.carousel__controls { display: flex; gap: var(--s-2); }

.carousel__btn {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--c-dark);
  color: var(--c-dark);
  display: grid;
  place-items: center;
  transition: background var(--d-sm) var(--e-out), color var(--d-sm) var(--e-out);
}

.carousel__btn:hover { background: var(--c-dark); color: var(--c-on-dark); }

.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
}

.chip--lg {
  padding: 0.7rem 1.5rem;
  font-size: var(--t-md);
  font-family: var(--f-display);
  background: var(--c-white);
}

.testimonial {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: grid;
  gap: var(--s-4);
  align-content: space-between;
}

.testimonial blockquote { margin: 0; }

.testimonial blockquote p {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  line-height: 1.5;
  color: var(--c-dark);
}

.testimonial figcaption { display: grid; gap: 0.1rem; }
.testimonial__author { font-weight: var(--fw-semibold); color: var(--c-ink); }
.testimonial__role { font-size: var(--t-sm); color: var(--c-muted); }

.eyebrow--light { color: var(--c-sage); }

/* ============================================================ foundation */
.wwd-layout {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .wwd-layout { grid-template-columns: minmax(0, 1fr) 21rem; }
}

.wwd-sections { display: grid; gap: var(--s-5); }

.wwd-sections .story-block h2 { font-size: var(--t-2xl); }
.wwd-sections .story-block p { font-size: var(--t-md); }

/* Story blocks with section images (dynamic 2-column layout) */
.story-block.story-block--with-image {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

@media (min-width: 768px) {
  .story-block.story-block--with-image {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  }
  .story-block.story-block--with-image:nth-child(even) .story-block__media {
    order: -1;
  }
}

.story-block__content {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.story-block__media {
  margin: 0;
  width: 100%;
  border-radius: var(--r-md, 10px);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(6, 27, 46, 0.08);
  border: 1px solid var(--c-line, #E2E8F0);
  background: #F8FAFC;
}

.story-block__img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.story-block__caption {
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--c-muted, #64748B);
  background: #FFFFFF;
  border-top: 1px solid var(--c-line, #E2E8F0);
  font-style: italic;
}


.wwd-sections .is-placeholder {
  background: repeating-linear-gradient(135deg, var(--c-cream), var(--c-cream) 10px, #E6F1FB 10px, #E6F1FB 20px);
  border: 1px dashed var(--c-line);
  border-radius: var(--r-sm);
  padding: var(--s-3) var(--s-4);
  font-style: italic;
  font-size: var(--t-sm);
}

.wwd-aside { display: grid; gap: var(--s-5); }

@media (min-width: 960px) {
  .wwd-aside { position: sticky; top: calc(var(--header-h) + 1rem); }
}

.work-nav {
  display: grid;
  gap: var(--s-2);
  list-style: none;
  padding: 0;
  margin: var(--s-2) 0 0;
}
.work-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--c-teal-deep);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: all var(--d-sm) var(--e-out);
}
.work-nav a:hover {
  color: var(--c-teal);
  text-decoration: none;
  transform: translateX(4px);
}
.work-nav a[aria-current="page"] {
  color: var(--c-dark);
  font-weight: var(--fw-bold);
}

/* ============================================================ TEDxBistupur styling & Ambient Moving Backdrop */
body[data-page="tedxbistupur"] {
  background-color: #EEF2F6;
  position: relative;
  min-height: 100vh;
}

/* Transparent section ending lines & seamless transitions */
body[data-page="tedxbistupur"] .site-header,
body[data-page="tedxbistupur"] .page-hero,
body[data-page="tedxbistupur"] .section,
body[data-page="tedxbistupur"] .section--tight,
body[data-page="tedxbistupur"] .tedx-covered-section,
body[data-page="tedxbistupur"] hr {
  border-top: none !important;
  border-bottom: none !important;
}

body[data-page="tedxbistupur"] .site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header, 60);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body[data-page="tedxbistupur"] .site-footer {
  position: relative;
  z-index: 2;
  background: var(--c-dark, #0B2E4F);
}

body[data-page="tedxbistupur"] #main {
  position: relative;
  z-index: 1;
}

/* Ambient Moving Backdrop (All 25 TEDx Conference Photos - High Visibility) */
.tedx-ambient-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
  background-color: #061B2E;
}

/* Diagonal Marquee Canvas Stage with 3D Depth */
.tedx-diagonal-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180vw;
  height: 195vh;
  transform: translate(-50%, -50%) rotate(-8deg) rotateX(4deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.85rem, 2.2vh, 1.75rem);
  will-change: transform;
}

.tedx-marquee-track {
  display: flex;
  width: max-content;
  user-select: none;
  will-change: transform;
}

.tedx-marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  padding: 0 clamp(7px, 0.9vw, 12px);
  flex-shrink: 0;
}

.tedx-marquee-track--left {
  animation: tedxDriftLeft var(--marquee-dur, 70s) linear infinite;
}

.tedx-marquee-track--right {
  animation: tedxDriftRight var(--marquee-dur, 80s) linear infinite;
}

@keyframes tedxDriftLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes tedxDriftRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.tedx-marquee-track img {
  width: clamp(260px, 24vw, 360px);
  height: clamp(165px, 15vw, 220px);
  object-fit: cover;
  border-radius: var(--r-md, 14px);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
  filter: saturate(1.15) contrast(1.08);
  opacity: 0.95;
  display: block;
}

/* Semi-transparent calming depth veil: softens visual noise and creates cinematic depth without any white haze */
.tedx-backdrop-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(6, 27, 46, 0.25) 0%, rgba(6, 27, 46, 0.45) 75%, rgba(6, 27, 46, 0.60) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* TEDxBistupur Floating Social Dock */
.tedx-floating-dock {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
}

.tedx-dock-pill {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(214, 228, 241, 0.95);
  box-shadow: 0 12px 36px rgba(6, 27, 46, 0.15), 0 2px 8px rgba(6, 27, 46, 0.08);
  border-radius: var(--r-full, 999px);
  padding: 0.75rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  transition: transform var(--d-sm, 0.2s) ease, box-shadow var(--d-sm, 0.2s) ease;
}

.tedx-dock-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(6, 27, 46, 0.2);
}

.tedx-dock-badge {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: var(--fw-bold, 700);
  letter-spacing: 0.08em;
  color: #EB0028;
  text-transform: uppercase;
}

.tedx-dock-divider {
  width: 14px;
  height: 1px;
  background-color: var(--c-line, #D6E4F1);
}

.tedx-dock-icons {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tedx-dock-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--c-dark, #0B2E4F);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--d-sm, 0.18s) ease, background-color var(--d-sm, 0.18s) ease, color var(--d-sm, 0.18s) ease;
  position: relative;
}

.tedx-dock-btn:hover {
  transform: scale(1.12);
}

.tedx-dock-btn--ig:hover {
  background: rgba(225, 48, 108, 0.15);
  color: #E1306C;
}

.tedx-dock-btn--li:hover {
  background: rgba(10, 102, 194, 0.15);
  color: #0A66C2;
}

.tedx-dock-btn--fb:hover {
  background: rgba(24, 119, 242, 0.15);
  color: #1877F2;
}

.tedx-dock-btn:focus-visible {
  outline: 2px solid #EB0028;
  outline-offset: 2px;
}

/* TEDxBistupur Showcase Hero */
.tedx-hero-showcase {
  position: relative;
  z-index: 1;
  background: transparent !important;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem) 0;
}

body[data-page="tedxbistupur"] .page-hero .breadcrumb {
  margin-bottom: var(--s-3);
}

.tedx-hero-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-line, #D6E4F1);
  border-top: 4px solid #EB0028;
  border-radius: var(--r-xl, 24px);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 16px 44px -8px rgba(11, 46, 79, 0.12), 0 4px 14px -2px rgba(11, 46, 79, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--s-3, 0.75rem);
}

.tedx-hero-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.tedx-eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: var(--fw-bold, 700);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #EB0028;
}

.tedx-hero-colophon-tag {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: var(--c-muted, #53687C);
  letter-spacing: 0.02em;
}

.tedx-hero-brand {
  margin: 0.15rem 0 0.35rem 0;
  display: block;
}

.tedx-hero-brand picture {
  display: inline-block;
  line-height: 0;
}

.tedx-hero-brand a {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.tedx-hero-brand img,
.tedx-hero-logo {
  max-width: clamp(280px, 46vw, 380px);
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--d-sm) var(--e-out);
}

.tedx-hero-brand a:hover img,
.tedx-hero-brand a:hover .tedx-hero-logo {
  transform: translateY(-2px);
}

.tedx-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--c-ink, #12283F);
  max-width: 680px;
  margin: 0.25rem 0 0.75rem 0;
}

.tedx-hero-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.35rem;
}

.tedx-hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.tedx-hero-btn-row .btn {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0.52rem 1.1rem;
  font-size: var(--t-sm);
}

/* Floating social chips inside hero */
.tedx-hero-floating-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--c-line, #D6E4F1);
}

.tedx-badges-label {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-muted, #53687C);
  margin-right: 0.25rem;
}

.tedx-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: #F1F5F9;
  border: 1px solid var(--c-line, #D6E4F1);
  border-radius: var(--r-full, 999px);
  color: var(--c-dark, #0B2E4F);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--d-sm, 0.18s) ease;
}

.tedx-badge-chip:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 27, 46, 0.08);
}

.tedx-badge-chip--ig:hover {
  color: #E1306C;
}

.tedx-badge-chip--li:hover {
  color: #0A66C2;
}

.tedx-badge-chip--fb:hover {
  color: #1877F2;
}

.tedx-badge-chip:focus-visible {
  outline: 2px solid #EB0028;
  outline-offset: 2px;
}

/* Content Section on TEDxBistupur Page */
body[data-page="tedxbistupur"] .wwd-sections.tedx-content-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--c-line, #D6E4F1);
  border-radius: var(--r-xl, 24px);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: 0 12px 36px rgba(6, 27, 46, 0.08);
}

body[data-page="tedxbistupur"] .wwd-aside .story-block {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--c-line, #D6E4F1);
  border-radius: var(--r-xl, 24px);
  box-shadow: 0 10px 30px rgba(6, 27, 46, 0.06);
}

.tedx-highlight-block {
  border-top: 3.5px solid #EB0028 !important;
}

/* Past Events Archive Card */
.tedx-past-events-card {
  scroll-margin-top: 5rem;
}

.tedx-past-events-head {
  margin-bottom: 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--c-line, #D6E4F1);
}

.tedx-past-events-head h2 {
  font-family: var(--f-display, "DM Serif Display", serif);
  font-size: 1.45rem;
  color: var(--c-dark, #0B2E4F);
  margin: 0.2rem 0 0.35rem 0;
  line-height: 1.25;
}

.tedx-past-events-head p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.tedx-editions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tedx-edition-item {
  background: #F8FAFC;
  border: 1px solid var(--c-line, #E2E8F0);
  border-radius: var(--r-md, 12px);
  padding: 0.85rem 0.95rem;
  transition: all var(--d-sm, 0.18s) ease;
  position: relative;
}

.tedx-edition-item:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 4px 14px rgba(6, 27, 46, 0.08);
  transform: translateY(-1px);
}

.tedx-edition-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.tedx-edition-badge {
  font-family: var(--f-body, "Inter", sans-serif);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #EB0028;
  background: rgba(235, 0, 40, 0.08);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  display: inline-block;
}

.tedx-edition-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-muted, #53687C);
}

.tedx-edition-theme {
  font-family: var(--f-body, "Inter", sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-dark, #0B2E4F);
  line-height: 1.35;
  margin: 0 0 0.3rem 0;
}

.tedx-edition-desc {
  font-size: 0.8rem;
  color: var(--c-muted, #53687C);
  line-height: 1.45;
  margin: 0;
}

.tedx-past-events-foot {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--c-line, #D6E4F1);
}

.tedx-past-events-foot p {
  font-size: 0.76rem;
  line-height: 1.45;
  margin: 0;
}

/* Hero Past Events Dropdown */
.tedx-hero-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.tedx-hero-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #171C26;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  padding: 0.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.tedx-hero-dropdown-wrap:hover .tedx-hero-dropdown-menu,
.tedx-hero-dropdown-wrap:focus-within .tedx-hero-dropdown-menu,
.tedx-hero-dropdown-wrap.is-open .tedx-hero-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tedx-hero-dropdown-item {
  display: block;
  padding: 0.6rem 0.85rem;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.tedx-hero-dropdown-item:hover {
  background: rgba(235, 0, 40, 0.2);
  color: #FFFFFF;
  padding-left: 1.05rem;
}

.tedx-hero-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.4rem 0;
}

.tedx-hero-dropdown-item--all {
  color: #EB0028 !important;
  font-weight: 700 !important;
}

.tedx-edition-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.tedx-aside-channels {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tedx-aside-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: #F8FAFC;
  border: 1px solid var(--c-line, #D6E4F1);
  border-radius: var(--r-md, 12px);
  text-decoration: none;
  font-size: 0.82rem;
  color: var(--c-dark, #0B2E4F);
  transition: all var(--d-sm, 0.18s) ease;
}

.tedx-aside-link span {
  color: var(--c-muted, #53687C);
}

.tedx-aside-link strong {
  color: var(--c-dark, #0B2E4F);
}

.tedx-aside-link:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(6, 27, 46, 0.06);
}

.tedx-aside-link:hover strong {
  color: #EB0028;
}

body[data-page="tedxbistupur"] .cta-band {
  background: linear-gradient(135deg, #061B2E 0%, #102A43 100%);
  border-left: 5px solid #EB0028;
}

body[data-page="tedxbistupur"] .cta-band .btn--amber {
  background: #EB0028;
  border-color: #EB0028;
  color: #FFFFFF;
  padding: 0.58rem 1.25rem;
  font-size: var(--t-sm);
  box-shadow: 0 4px 14px rgba(235, 0, 40, 0.35);
}

body[data-page="tedxbistupur"] .cta-band .btn--amber:hover {
  background: #C80022;
  border-color: #C80022;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(235, 0, 40, 0.45);
}

/* Reduced Motion Setting */
@media (prefers-reduced-motion: reduce) {
  .tedx-marquee-track {
    animation: none !important;
  }
}

/* ============================================================ We've Been Covered Press Section */
.tedx-covered-section {
  padding-top: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.tedx-covered-card {
  background: linear-gradient(135deg, #061B2E 0%, #0D263B 100%);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3.5vw, 2.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(6, 27, 46, 0.14);
  border-top: 3px solid #EB0028;
}

.tedx-covered-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 0, 40, 0.18), transparent 70%);
  pointer-events: none;
}

.tedx-covered-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 111, 86, 0.2), transparent 70%);
  pointer-events: none;
}

.tedx-covered-head {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.tedx-covered-eyebrow {
  color: #EB0028 !important;
  text-transform: uppercase;
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  font-weight: var(--fw-bold);
  display: inline-block;
  margin-bottom: 0.35rem;
}

.tedx-covered-title {
  color: #FFFFFF;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}

.tedx-covered-pill {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border-radius: 9999px;
  padding: clamp(0.85rem, 1.8vw, 1.25rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: clamp(1rem, 3vw, 2.75rem);
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.tedx-covered-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0 0.5rem;
}

.tedx-covered-logo {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--d-sm) var(--e-out);
}

.tedx-covered-item:hover .tedx-covered-logo {
  transform: scale(1.05);
}

.tedx-covered-logo--pioneer {
  height: clamp(30px, 3.8vw, 42px);
}

.tedx-covered-logo--jagran {
  height: clamp(40px, 5.2vw, 56px);
}

.tedx-covered-logo--prabhat {
  height: clamp(42px, 5.5vw, 58px);
}

.tedx-covered-sep {
  width: 1px;
  height: 42px;
  background: #E2E8F0;
  flex-shrink: 0;
}

/* ============================================================ TEDxBistupur Mobile & Tablet Responsiveness */

/* Tablet & Mobile: Dock repositioning (placed bottom-left to NEVER collide with WhatsApp FAB at bottom-right) */
@media (max-width: 768px) {
  .tedx-floating-dock {
    top: auto;
    bottom: clamp(0.9rem, 3.5vw, 1.4rem);
    left: clamp(0.9rem, 3.5vw, 1.4rem);
    right: auto;
    transform: none;
    z-index: 40;
  }

  .tedx-dock-pill {
    flex-direction: row;
    padding: 0.35rem 0.6rem;
    gap: 0.4rem;
    box-shadow: 0 8px 24px rgba(6, 27, 46, 0.16);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(235, 0, 40, 0.28);
  }

  .tedx-dock-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.42rem;
  }

  .tedx-dock-divider {
    width: 1px;
    height: 14px;
  }

  .tedx-dock-icons {
    flex-direction: row;
    gap: 0.3rem;
  }

  .tedx-dock-btn {
    width: 32px;
    height: 32px;
  }

  .tedx-dock-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Tablet: Media spotlight vertical stack */
@media (max-width: 720px) {
  .tedx-covered-pill {
    border-radius: var(--r-xl);
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .tedx-covered-sep {
    width: 50%;
    height: 1px;
  }

  .tedx-covered-logo--pioneer {
    height: 38px;
  }

  .tedx-covered-logo--jagran {
    height: 50px;
  }

  .tedx-covered-logo--prabhat {
    height: 52px;
  }
}

/* Mobile: Comprehensive layout and typography adjustments */
@media (max-width: 640px) {
  /* Hero section & card */
  .tedx-hero-showcase {
    padding: 1rem 0 0.5rem 0 !important;
  }

  .tedx-hero-card {
    padding: 1.25rem 1rem !important;
    border-radius: 18px !important;
    gap: 0.65rem !important;
  }

  .tedx-hero-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .tedx-hero-colophon-tag {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .tedx-hero-brand img,
  .tedx-hero-logo {
    max-width: min(230px, 75vw) !important;
    height: auto !important;
  }

  .tedx-lead {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.4rem !important;
  }

  .tedx-hero-btn-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
    gap: 0.6rem;
  }

  .tedx-hero-btn-row .btn {
    width: auto;
    flex: 0 0 auto;
    justify-content: center;
    text-align: center;
    font-size: 0.84rem;
    padding: 0.5rem 1rem;
  }

  /* Living Ambient Diagonal Marquee Background (5 Full Rows) */
  .tedx-diagonal-stage {
    width: 240vw !important;
    height: 210vh !important;
    transform: translate(-50%, -50%) rotate(-8deg) rotateX(3deg) !important;
    gap: 0.65rem !important;
  }

  .tedx-marquee-track img {
    width: 185px !important;
    height: 120px !important;
    border-radius: 10px !important;
    margin: 0 4px !important;
  }

  .tedx-marquee-group {
    gap: 8px !important;
    padding: 0 4px !important;
  }

  /* Body narrative cards */
  body[data-page="tedxbistupur"] .section {
    padding-block: 1rem !important;
  }

  body[data-page="tedxbistupur"] .wwd-sections.tedx-content-card {
    padding: 1.25rem 1rem !important;
    border-radius: 18px !important;
  }

  body[data-page="tedxbistupur"] .wwd-aside {
    display: grid;
    gap: 1rem;
  }

  body[data-page="tedxbistupur"] .wwd-aside .story-block {
    padding: 1.25rem 1rem !important;
    border-radius: 18px !important;
  }

  .tedx-aside-channels {
    gap: 0.5rem;
  }

  .tedx-aside-link {
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
  }

  /* Media coverage spotlight card */
  .tedx-covered-card {
    padding: 1.35rem 1rem !important;
    border-radius: 18px !important;
  }

  .tedx-covered-pill {
    padding: 1rem 0.85rem !important;
    gap: 0.85rem !important;
  }

  .tedx-covered-title {
    font-size: 1.25rem !important;
  }

  /* Call to action band */
  body[data-page="tedxbistupur"] .cta-band {
    padding: 1.4rem 1.1rem !important;
    border-radius: 18px !important;
  }
}

/* ============================================================ about editorial */
.about-hero {
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(3.5rem, 8vw, 7rem);
  background: linear-gradient(135deg, var(--c-paper) 0%, var(--c-sage-soft) 100%);
  overflow: hidden;
}

.about-hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.about-hero__copy { max-width: 39rem; }
.about-hero__copy h1 { font-size: var(--t-hero); margin: var(--s-4) 0 var(--s-5); }
.about-hero__copy h1 em { color: var(--c-teal); font-style: normal; }
.about-hero__lead { max-width: 35rem; color: var(--c-muted); font-size: var(--t-lg); line-height: 1.65; margin-bottom: var(--s-6); }
.about-hero__media { position: relative; margin: 0; justify-self: end; width: min(100%, 34rem); }
.about-hero__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 0.82; object-fit: cover; border-radius: 42% 42% var(--r-xl) var(--r-xl); box-shadow: var(--sh-3); background: var(--c-teal-soft); }
.about-hero__badge { position: absolute; z-index: 2; left: -1.5rem; bottom: 1.5rem; max-width: calc(100% - 1rem); padding: 0.8rem 1rem; border: 1px solid var(--c-line); border-radius: var(--r-full); background: rgba(255,255,255,0.94); box-shadow: var(--sh-2); color: var(--c-dark); font-size: var(--t-xs); font-weight: var(--fw-semibold); }
.about-hero__badge b { color: var(--c-teal); margin-inline: 0.35rem; }

.about-section { overflow: hidden; }
.about-section .section-head__sub { max-width: 28rem; }
.about-crisis__grid { display: grid; gap: var(--s-5); align-items: stretch; }
.about-feature-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-white); box-shadow: var(--sh-1); }
.about-feature-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-teal-soft); }
.about-feature-card__media img { width: 100%; height: 100%; object-fit: cover; }
.about-feature-card__label { position: absolute; left: 1rem; top: 1rem; padding: 0.4rem 0.65rem; border-radius: var(--r-full); background: var(--c-white); color: var(--c-dark); font-size: var(--t-xs); font-weight: var(--fw-bold); letter-spacing: 0.06em; text-transform: uppercase; }
.about-feature-card__body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem); }
.about-feature-card__body h3 { font-size: var(--t-xl); margin-bottom: var(--s-3); }
.about-feature-card__body p { color: var(--c-muted); line-height: 1.7; }

.about-leadership__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); align-items: stretch; }
.about-leader-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-white); box-shadow: var(--sh-1); }
.about-leader-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-teal-soft); }
.about-leader-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-leader-card__body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem); }
.about-leader-card__role { order: 1; color: var(--c-teal-deep); font-size: var(--t-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; }
.about-leader-card h3 { order: 2; margin: var(--s-2) 0 var(--s-4); font-size: var(--t-2xl); }
.about-leader-card blockquote { order: 3; margin: 0 0 var(--s-4); padding-left: var(--s-4); border-left: 3px solid var(--c-sage); color: var(--c-dark); font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.4; }
.about-leader-card__body > p:not(.about-leader-card__role) { order: 4; color: var(--c-muted); line-height: 1.7; }
.about-leader-card__contact { display: flex; flex-wrap: wrap; order: 5; gap: var(--s-2) var(--s-4); margin-top: auto; padding-top: var(--s-5); }
.about-leader-card__contact a { color: var(--c-teal-deep); font-size: var(--t-sm); text-decoration: none; }
.about-leader-card__contact a:hover { color: var(--c-dark); text-decoration: underline; }

.about-work { background: var(--c-paper); }
.about-projects { display: grid; gap: clamp(3rem, 8vw, 7rem); }
.about-project { display: grid; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.about-project__media { overflow: hidden; border-radius: var(--r-xl); background: var(--c-teal-soft); }
.about-project__media img { width: 100%; aspect-ratio: 1.28; object-fit: cover; transition: transform var(--d-lg) var(--e-out); }
.about-project:hover .about-project__media img { transform: scale(1.03); }
.about-project__copy { max-width: 31rem; }
.about-project__number { display: block; color: var(--c-teal); font-size: var(--t-sm); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); margin-bottom: var(--s-3); }
.about-project__copy h3 { font-size: clamp(1.7rem, 2.5vw, 2.5rem); margin-bottom: var(--s-3); }
.about-project__copy p { color: var(--c-muted); line-height: 1.75; margin-bottom: var(--s-4); }
.about-project__copy a { font-weight: var(--fw-semibold); text-decoration: none; }

.about-film { background: var(--c-cream); }
.about-film__card { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: stretch; overflow: hidden; border-radius: var(--r-xl); background: var(--c-dark); color: var(--c-on-dark); box-shadow: var(--sh-3); }
.about-film__copy { min-width: 0; padding: clamp(1.5rem, 4vw, 3rem); align-self: center; }
.about-film__copy h2 { color: var(--c-on-dark); font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.08; margin: var(--s-3) 0 var(--s-4); }
.about-film__copy > p:not(.eyebrow) { color: var(--c-on-dark-muted); line-height: 1.7; margin-bottom: var(--s-5); }
.about-film__video { width: 100%; max-width: none; min-width: 0; aspect-ratio: 16 / 9; margin: 0; background: #071d32; }
.about-film__video iframe { display: block; width: 100%; height: 100%; border: 0; }

/* About Page Impact & Metrics */
.about-impact__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 768px) {
  .about-impact__head {
    grid-template-columns: 1.25fr 1fr;
    align-items: end;
    gap: 3rem;
  }
  .about-impact__head .section-head__sub {
    margin: 0 0 0.25rem 0;
    max-width: 42ch;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--c-muted, #64748B);
  }
}

.about-impact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .about-impact__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.about-metric {
  display: flex;
  min-height: 11rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.25rem 1.5rem;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: var(--c-white, #FFFFFF);
  box-shadow: 0 4px 16px rgba(6, 27, 46, 0.04);
  transition: transform var(--d-sm) var(--e-out), box-shadow var(--d-sm) var(--e-out), border-color var(--d-sm);
}
.about-metric:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(6, 27, 46, 0.08);
  border-color: #CBD5E1;
}
.about-metric__icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #EAF3F9;
  color: var(--c-teal, #176BAE);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.about-metric__num {
  color: var(--c-dark, #061B2E);
  font-family: var(--f-display, 'DM Serif Display', Georgia, serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}
.about-metric__label {
  color: var(--c-muted, #64748B);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 0.45rem;
  line-height: 1.4;
}

.about-contact { background: var(--c-sage-soft); }
.about-contact__grid { display: grid; gap: var(--s-7); align-items: start; }
.about-contact h2 { font-size: var(--t-2xl); margin: var(--s-2) 0 var(--s-3); }
.about-contact__grid > div:first-child > p:not(.eyebrow) { max-width: 34rem; color: var(--c-muted); margin-bottom: var(--s-5); }
.about-contact__details { padding: var(--s-5); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-white); color: var(--c-muted); font-size: var(--t-sm); line-height: 1.7; }
.about-contact__details strong { display: block; color: var(--c-dark); margin-bottom: 0.3rem; }
.about-contact__details p { margin-bottom: var(--s-3); }
.about-contact__details a { text-decoration: none; }
.about-contact__rule { display: block; border-top: 1px solid var(--c-line); margin: var(--s-5) 0; }
.about-contact .work-nav { margin-top: var(--s-2); }
.about-contact .work-nav--categories { gap: var(--s-1); }
.about-contact .work-nav--categories .work-nav__category { position: relative; }
.about-contact .work-nav--categories .work-nav__category-label {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-sm);
  color: var(--c-dark);
  font-weight: var(--fw-semibold);
  cursor: default;
}
.about-contact .work-nav--categories .work-nav__category:hover .work-nav__category-label,
.about-contact .work-nav--categories .work-nav__category:focus-within .work-nav__category-label {
  background: var(--c-teal-soft);
  color: var(--c-teal-deep);
}
.about-contact .work-nav__subnav {
  display: none;
  gap: 0.1rem;
  margin: 0 0 var(--s-1) var(--s-3);
  padding: 0 0 0 var(--s-3);
  border-left: 2px solid var(--c-sage);
  list-style: none;
}
.about-contact .work-nav__category:hover .work-nav__subnav,
.about-contact .work-nav__category:focus-within .work-nav__subnav {
  display: grid;
}
.about-contact .work-nav__subnav a {
  padding: 0.35rem 0.5rem;
  font-size: var(--t-sm);
}

@media (min-width: 760px) {
  .about-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.9fr); }
  .about-crisis__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-leadership__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-project { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
  .about-project--reverse { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); }
  .about-project--reverse .about-project__media { order: 2; }
  .about-project--reverse .about-project__copy { justify-self: end; }
  .about-contact__grid { grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr); }
}

@media (max-width: 759px) {
  .about-hero__badge { left: 0.75rem; bottom: 0.75rem; }
}

@media (max-width: 759px) {
  .about-film__card { grid-template-columns: 1fr; }
  .about-film__video { order: 2; }
}

/* ================================================================= donate */
.donate-layout {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .donate-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

.donate-form { gap: var(--s-4); }

/* Custom amount smooth animated reveal/hide */
.donate-custom-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.donate-custom-wrap > .field {
  min-height: 0;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(-8px);
}

.donate-custom-wrap.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: var(--s-2);
  margin-bottom: var(--s-1);
}

.donate-custom-wrap.is-open > .field {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .donate-custom-wrap,
  .donate-custom-wrap > .field {
    transition: none !important;
  }
}

.donate-aside { display: grid; gap: var(--s-5); }

.address-static { font-style: normal; color: var(--c-muted); line-height: 1.7; }

.thanks-state {
  display: grid;
  gap: var(--s-4);
  justify-items: center;
  text-align: center;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 6vw, 3.5rem);
}

.thanks-state__icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--r-full);
  background: var(--c-success-soft);
  color: var(--c-success);
  display: grid;
  place-items: center;
}

.thanks-state .notice { justify-self: stretch; }

/* ================================================================ contact */
.contact-layout {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

.contact-form { gap: var(--s-4); }
.contact-aside { display: grid; gap: var(--s-4); }

.address-card--lg { padding: var(--s-5); gap: var(--s-3); }

.contact-links {
  margin: var(--s-3) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.contact-links li {
  margin: 0;
  padding: 0;
}
.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  color: #061B2E !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: all var(--d-sm) var(--e-out);
}
.contact-links a::after {
  content: "→";
  display: inline-block;
  color: var(--c-teal, #176BAE);
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--d-sm) var(--e-out);
}
.contact-links a:hover {
  background: #FFFFFF;
  border-color: var(--c-teal, #176BAE);
  color: var(--c-teal, #176BAE) !important;
  transform: translateX(3px);
  box-shadow: 0 4px 10px rgba(6, 27, 46, 0.05);
}
.contact-links a:hover::after {
  transform: translateX(3px);
}

/* =================================================================== bulk */
.bulk-form { gap: var(--s-4); }
.bulk-form h2 { font-size: var(--t-xl); margin-top: var(--s-3); }

.bulk-products {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-4);
  background: var(--c-cream);
  max-height: 22rem;
  overflow-y: auto;
}

.bulk-product-list { display: grid; gap: var(--s-3); }

.bulk-product-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.5rem;
  gap: var(--s-3);
  align-items: center;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-line);
}

.bulk-product-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.bulk-product-list__meta {
  display: block;
  font-size: var(--t-xs);
  color: var(--c-muted);
}

.bulk-qty .input { padding: 0.45rem 0.6rem; }

.logo-preview {
  display: flex;
  gap: var(--s-4);
  align-items: center;
  background: var(--c-cream);
  border: 1px dashed var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-3);
}

.logo-preview img {
  width: 10rem;
  height: 5rem;
  object-fit: contain;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xs);
}

.bulk-success { display: grid; }

/* =============================================================== policies */
.policy-wrap { display: grid; gap: var(--s-5); }
.policy-section h2 { font-size: var(--t-2xl); }
.policy-section p { color: var(--c-muted); line-height: 1.7; }
.policy-section code {
  font-family: var(--f-mono);
  font-size: 0.9em;
  background: var(--c-cream);
  padding: 0.1rem 0.35rem;
  border-radius: var(--r-xs);
}

/* ==================================================================== 404 */
.nf-page { padding-block: clamp(2.5rem, 8vw, 5rem); }
.nf-links { margin-top: var(--s-6); }

/* ==================================================================== team / about */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-4);
}

@media (min-width: 860px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.person-box {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  transition: transform var(--d-sm) var(--e-out), box-shadow var(--d-sm) var(--e-out);
}

.person-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}

.person-box__header {
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 0.85rem;
  margin-bottom: 1.15rem;
}

.person-box__credentials {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: 0.3rem;
}

.person-box__name {
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  color: var(--c-dark);
  font-family: var(--f-display);
}

.person-box__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 540px) {
  .person-box__body {
    grid-template-columns: 130px 1fr;
  }
}

.person-box__media {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
}

.person-box__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-box__content {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.person-box__content p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--c-muted);
}

/* =================================================================== blog */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-line);
}

.blog-categories {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.blog-categories::-webkit-scrollbar { display: none; }

.blog-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  border: 1px solid var(--c-line);
  background: var(--c-white);
  color: var(--c-dark);
  font-family: var(--f-body);
  font-size: 0.86rem;
  font-weight: var(--fw-medium);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--d-sm) var(--e-out);
}
.blog-tab:hover {
  border-color: var(--c-teal);
  color: var(--c-teal-deep);
}
.blog-tab.is-active {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: var(--c-white);
  box-shadow: 0 2px 8px rgba(6, 27, 46, 0.15);
}

.blog-search {
  min-width: 260px;
}
.blog-search input {
  width: 100%;
}
@media (max-width: 640px) {
  .blog-search {
    min-width: 0;
    width: 100%;
  }
}

.blog-featured-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: 0 4px 18px rgba(6, 27, 46, 0.05);
  margin-bottom: 2rem;
  position: relative;
  transition: transform var(--d-sm) var(--e-out), box-shadow var(--d-sm) var(--e-out);
}
.blog-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(6, 27, 46, 0.08);
}
.blog-featured-card__title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.15;
  color: var(--c-dark);
  margin: 0.65rem 0 0.85rem;
}
.blog-featured-card__title a {
  color: inherit;
  text-decoration: none;
}
.blog-featured-card__title a:hover {
  color: var(--c-teal-deep);
}
.blog-featured-card__excerpt {
  color: var(--c-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 72ch;
  margin: 0 0 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 680px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(6, 27, 46, 0.03);
  transition: transform var(--d-sm) var(--e-out), box-shadow var(--d-sm) var(--e-out), border-color var(--d-sm) var(--e-out);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6, 27, 46, 0.08);
  border-color: rgba(23, 107, 174, 0.3);
}
.blog-card__title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--c-dark);
  margin: 0.5rem 0 0.75rem;
}
.blog-card__title a {
  color: inherit;
  text-decoration: none;
}
.blog-card__title a:hover {
  color: var(--c-teal-deep);
}
.blog-card__excerpt {
  color: var(--c-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(6, 27, 46, 0.06);
  padding-top: 1rem;
  margin-top: auto;
  min-height: 48px;
}
.blog-card__author-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  min-width: 0;
  flex: 1 1 auto;
}
.blog-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(23, 107, 174, 0.12);
  color: var(--c-teal-deep);
  font-weight: var(--fw-bold);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.blog-card__author-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.blog-card__author-name {
  display: block;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--c-dark, #061B2E);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-card__date {
  display: block;
  font-size: 0.74rem;
  color: var(--c-muted, #64748B);
  margin-top: 1px;
  white-space: nowrap;
}
.blog-card__cta {
  font-size: 0.86rem;
  font-weight: var(--fw-semibold);
  color: var(--c-teal-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-left: auto;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: rgba(23, 107, 174, 0.06);
  transition: all var(--d-sm) var(--e-out);
}
.blog-card__cta:hover {
  color: var(--c-teal);
  background: rgba(23, 107, 174, 0.14);
  transform: translateX(3px);
}

.blog-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  background: rgba(23, 107, 174, 0.08);
  color: var(--c-teal-deep);
  font-size: 0.76rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
}
.blog-dot {
  color: var(--c-line-strong);
  font-size: 0.7rem;
}

/* Article Reader View */
.blog-reader {
  max-width: 780px;
  margin: 0 auto;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  box-shadow: 0 4px 30px rgba(6, 27, 46, 0.06);
}
.blog-reader__back {
  margin-bottom: 1.5rem;
}
.blog-reader__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--c-muted);
}
.blog-reader__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  line-height: 1.12;
  color: var(--c-dark);
  margin: 0.85rem 0 1.5rem;
}
.blog-reader__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-block: 1rem;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 2rem;
}
.blog-reader__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #176BAE;
  color: #FFFFFF;
  font-weight: var(--fw-bold);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-reader__author-name {
  display: block;
  font-size: 0.98rem;
  color: var(--c-dark);
}
.blog-reader__author-role {
  display: block;
  font-size: 0.82rem;
  color: var(--c-muted);
}
.blog-reader__body {
  font-size: 1.1rem;
  line-height: 1.78;
  color: #2D3748;
}
.blog-reader__body p {
  margin-bottom: 1.4rem;
}
.blog-reader__subhead {
  font-family: var(--f-display);
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--c-dark);
  margin: 2.25rem 0 1rem;
}
.blog-reader__quote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 4px solid var(--c-teal);
  background: var(--h-paper);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--f-display);
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--c-dark);
  font-style: italic;
}
.blog-reader__footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.blog-reader__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.blog-reader__share {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
