.page--landing .main > .section[id] {
  scroll-margin-top: var(--header-bar-height);
}
.page--landing {
  min-height: auto;
  padding: var(--header-offset) 0 var(--mb-2-5);
  overflow-x: hidden;
}

.page--landing .main {
  flex: 0 1 auto;
  overflow: visible;
  justify-content: flex-start;
}
/* Landing header + sections — same width as hero */
.page--landing .home.section,
.page--landing .feature.section,
.page--landing .about.section,
.page--landing .specs.section,
.page--landing .products.section,
.page--landing .footer.section {
  padding-inline: var(--landing-pad-inline);
  box-sizing: border-box;
  width: 100%;
}

/* All landing sections — equal gap between sections + content rhythm */
.page--landing .main > .section {
  padding-top: var(--landing-section-gap);
  padding-bottom: var(--landing-section-gap);
}

.page--landing .main > .section:first-child {
  padding-top: 0;
}

.page--landing .main > .section + .section {
  padding-top: 0;
}

.page--landing .home.section {
  margin-top: 0;
  width: 100%;
  max-width: var(--landing-max-width);
  margin-inline: auto;
  padding-inline: var(--landing-pad-inline);
  box-sizing: border-box;
}

.page--landing .feature.section {
  padding-inline: 0;
}

.page--landing .products.section,
.page--landing .specs.section {
  overflow-x: hidden;
}

.page--landing .about.section {
  overflow-x: hidden;
}

@media screen and (min-width: 768px) {
  .page--landing .about.section {
    overflow-x: visible;
  }
}

.page--landing .about__container.container,
.page--landing .specs__container.container,
.page--landing .products__container.container {
  width: 100%;
  max-width: var(--landing-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Feature strip — icon + label */
.feature__inner {
  width: 100%;
  max-width: var(--landing-max-width);
  margin-inline: auto;
  padding: clamp(0.85rem, 2vw, 1.1rem) clamp(0.75rem, 2.5vw, 1.5rem);
  line-height: 1.2;
}

.feature__container {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(0.75rem, 2vw, 1.5rem);
  row-gap: 0;
  align-items: center;
  justify-items: center;
}

.feature__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 1vw, 0.55rem);
  min-width: 0;
  color: var(--white-color);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(1.15rem, 2.8vw, 1.35rem);
  height: clamp(1.15rem, 2.8vw, 1.35rem);
}

.feature__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.feature__label {
  font-size: clamp(0.6875rem, 1.6vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .feature__inner {
    padding: clamp(1rem, 2.2vw, 1.25rem) clamp(1rem, 3vw, 2rem);
  }

  .feature__container {
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
  }

  .feature__item {
    flex-direction: row;
    gap: clamp(0.45rem, 1vw, 0.6rem);
  }
}

@media screen and (min-width: 1024px) {
  .feature__label {
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 767px) {
  .page--landing .home.section + .feature.section {
    padding-top: clamp(1.15rem, 5vw, 1.65rem);
  }

  .feature__inner {
    max-width: 100%;
    padding: 0.35rem var(--landing-pad-inline) 0.35rem;
  }

  .feature__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.35rem;
    row-gap: 0.45rem;
    justify-items: stretch;
  }

  .feature__item {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    gap: 0.28rem;
    text-align: center;
  }

  .feature__icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .feature__label {
    font-size: clamp(0.6875rem, 2.8vw, 0.8125rem);
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }
}

@media screen and (max-width: 380px) {
  .feature__inner {
    padding-bottom: 0.3rem;
  }

  .feature__container {
    column-gap: 0.25rem;
    row-gap: 0.35rem;
  }

  .feature__item {
    gap: 0.22rem;
  }

  .feature__icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .feature__label {
    font-size: 0.6875rem;
  }
}

.about__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.about__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 19rem;
  z-index: 2;
  align-self: center;
}

.page--landing .about__title.section__title {
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin-bottom: var(--landing-title-gap);
  padding-inline: 0;
  box-sizing: border-box;
}

.about__text {
  margin: 0;
  font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  line-height: 1.65;
  font-weight: 400;
  color: var(--white-color);
  max-width: 18rem;
}

.about__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  min-height: 14rem;
  width: 100%;
  overflow: visible;
}

.about__visual picture {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
}

.about__img,
.about__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

/* Small screens only — text left, image bleeds off right (like Specs) */
@media screen and (max-width: 767px) {
  .about__container {
    position: relative;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr);
    -moz-column-gap: 0.35rem;
         column-gap: 0.35rem;
    align-items: start;
    gap: 0;
  }

  .about__content {
    align-items: flex-start;
    align-self: start;
    max-width: none;
    justify-content: flex-start;
  }

  .page--landing .about__title.section__title {
    text-align: left;
  }

  .about__text {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    text-align: left;
    max-width: none;
  }

  .about__visual {
    min-height: 18rem;
    overflow: visible;
    justify-content: initial;
    margin-right: 0;
  }

  .about__visual picture {
    width: auto;
    max-width: none;
  }

  .about__img,
  .about__visual img {
    width: min(320px, 78vw);
    max-width: none;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: right center;
       object-position: right center;
    position: absolute;
    top: 1.75rem;
    right: -3.5rem;
    margin: 0;
  }
}

@media screen and (max-width: 575px) {
  .about__visual {
    min-height: 19rem;
  }

  .about__img,
  .about__visual img {
    width: min(340px, 80vw);
    right: -3rem;
  }

  .about__text {
    font-size: var(--small-font-size);
  }
}

@media screen and (max-width: 380px) {
  .about__visual {
    min-height: 17rem;
  }

  .about__img,
  .about__visual img {
    width: min(300px, 84vw);
    right: -2.5rem;
  }
}

@media screen and (max-width: 340px) {
  .about__img,
  .about__visual img {
    width: min(280px, 88vw);
    right: -2rem;
  }
}

@media screen and (min-width: 768px) {
  .about__container {
    position: relative;
    grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
    -moz-column-gap: clamp(0.75rem, 2vw, 1.5rem);
         column-gap: clamp(0.75rem, 2vw, 1.5rem);
    align-items: center;
    overflow: visible;
  }

  .about__content {
    max-width: 17.5rem;
    padding-right: 0.25rem;
  }

  .about__visual {
    justify-content: flex-end;
    align-items: center;
    min-height: min(62vh, 520px);
    width: 100%;
    margin-right: calc(-1 * var(--landing-pad-inline));
  }

  .about__visual picture {
    width: min(52vw, 640px);
    max-width: none;
    margin-left: auto;
  }

  .about__img,
  .about__visual img {
    width: 100%;
    max-width: none;
    max-height: min(72vh, 640px);
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center right;
       object-position: center right;
  }
}

@media screen and (min-width: 968px) {
  .about__container {
    grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
    -moz-column-gap: clamp(1rem, 2.5vw, 2rem);
         column-gap: clamp(1rem, 2.5vw, 2rem);
  }

  .about__text {
    max-width: 19rem;
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .about__visual {
    min-height: min(68vh, 580px);
    margin-right: calc(-1 * clamp(1.5rem, 5vw, 4rem));
  }

  .about__visual picture {
    width: min(58vw, 820px);
  }

  .about__img,
  .about__visual img {
    max-height: min(78vh, 760px);
  }
}

@media screen and (min-width: 1100px) {
  .about__container {
    grid-template-columns: minmax(240px, 30%) minmax(0, 70%);
  }

  .about__visual picture {
    width: min(62vw, 900px);
  }

  .about__img,
  .about__visual img {
    max-height: min(82vh, 820px);
  }
}

/* Section headings — About, Products, Specs (shared) */
.section__title {
  font-size: var(--bigger-font-size);
  font-weight: var(--font-semi-bold);
  text-align: center;
  margin: 0 0 var(--landing-title-gap);
  line-height: 1.15;
  width: 100%;
}

.section__title-gradient {
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.section__heading-line {
  line-height: 4rem;
}

.page--landing .products.section .section__title,
.page--landing .specs.section .section__title {
  padding-inline: var(--landing-pad-inline);
  box-sizing: border-box;
}

/* Specs — cloth project layout (mobile bleed, desktop 2-col centered) */
/*=============== SPECS ===============*/
/* Small screens — cloth index.html: text left, image absolute, bleeds right */
.specs__container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr);
  -moz-column-gap: 0.35rem;
       column-gap: 0.35rem;
  align-items: start;
}

.specs__content {
  row-gap: 1.5rem;
  z-index: 2;
}

.specs__visual {
  line-height: 0;
  min-height: 16rem;
  overflow: visible;
}

.specs__data {
  display: grid;
  row-gap: 0.25rem;
}

.specs__icon {
  display: inline-flex;
  font-size: 1.2rem;
  color: var(--white-color);
}

.specs__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.specs__title {
  margin: 0;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.specs__subtitle {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.specs__data:nth-child(1),
.specs__data:nth-child(4) {
  margin-left: 1.5rem;
}

.specs__img {
  display: block;
  width: 250px;
  max-width: none;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: right center;
     object-position: right center;
  position: absolute;
  top: 2rem;
  right: -4rem;
  margin: 0;
}

@media screen and (max-width: 575px) {
  .specs__visual {
    min-height: 17rem;
  }

  .specs__img {
    width: min(280px, 68vw);
  }

  .specs__data:nth-child(1),
  .specs__data:nth-child(4) {
    margin-left: 0.75rem;
  }

  .specs__title {
    font-size: var(--small-font-size);
  }

  .specs__subtitle {
    font-size: var(--smaller-font-size);
  }
}

@media screen and (max-width: 380px) {
  .specs__visual {
    min-height: 15rem;
  }

  .specs__img {
    width: min(240px, 72vw);
    right: -3rem;
  }

  .specs__data:nth-child(1),
  .specs__data:nth-child(4) {
    margin-left: 0.5rem;
  }
}

@media screen and (max-width: 340px) {
  .specs__img {
    width: 200px;
  }
}

/* Big screens — image in flow, text + tee close together (small screen unchanged) */
@media screen and (min-width: 576px) {
  .specs__container {
    grid-template-columns: -webkit-max-content -webkit-max-content;
    grid-template-columns: max-content max-content;
    justify-content: center;
    align-items: center;
    -moz-column-gap: clamp(0.75rem, 2vw, 1.25rem);
         column-gap: clamp(0.75rem, 2vw, 1.25rem);
  }

  .specs__content {
    justify-self: end;
  }

  .specs__visual {
    min-height: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    justify-self: start;
  }

  .specs__img {
    position: initial;
    top: auto;
    right: auto;
    width: 280px;
    margin-inline: 0;
    transform: none;
    -o-object-position: center;
       object-position: center;
  }
}

@media screen and (min-width: 767px) {
  .specs__container {
    -moz-column-gap: 1.25rem;
         column-gap: 1.25rem;
  }

  .specs__img {
    width: 300px;
  }
}

@media screen and (min-width: 968px) {
  .specs__container {
    -moz-column-gap: 1.5rem;
         column-gap: 1.5rem;
  }

  .specs__img {
    width: 380px;
  }
}

/*=============== PRODUCTS (cloth) ===============*/
.products__container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
}

@media screen and (max-width: 767px) {
  .page--landing .main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page--landing .products.section {
    width: 100%;
    overflow-x: hidden;
  }

  .page--landing .section__heading-line {
    line-height: 1.15;
  }

  .page--landing .products__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    justify-items: stretch;
    gap: 1rem 0.65rem;
  }

  .page--landing .products__card {
    min-height: auto;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .page--landing .products__card-body {
    padding: 0.75rem 0.65rem 0.55rem;
  }

  .page--landing .products__media {
    min-height: 8.5rem;
    margin-bottom: 0.45rem;
  }

  .page--landing .products__img {
    max-width: 88%;
    max-height: 7.75rem;
  }

  .page--landing .products__toolbar {
    padding: 0.55rem 0.65rem 0.7rem;
    gap: 0.45rem;
  }

  .page--landing .products__option-row {
    grid-template-columns: 1fr;
    row-gap: 0.3rem;
    align-items: start;
  }

  .page--landing .products__label {
    font-size: 0.62rem;
  }

  .page--landing .products__colors {
    gap: 0.35rem;
  }

  .page--landing .products__colors .color-swatch {
    width: 1rem;
    height: 1rem;
  }

  .page--landing .products__sizes {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.2rem;
  }

  .page--landing .products__sizes .size-btn {
    padding: 0.35rem 0.05rem;
    font-size: 0.62rem;
  }

  .page--landing .products__actions {
    margin-top: 0.2rem;
    padding-top: 0.45rem;
    gap: 0.35rem;
  }

  .page--landing .products__card .btn-fav {
    width: 2.15rem;
    height: 2.15rem;
  }

  .page--landing .products__card .btn-fav svg {
    width: 1rem;
    height: 1rem;
  }

  .page--landing .products__button {
    padding: 0.45rem 0.55rem;
  }

  .page--landing .products__button .button__icon,
  .page--landing .products__button .button__icon svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .page--landing .products__title {
    font-size: 0.92rem;
  }

  .page--landing .products__price {
    font-size: 0.88rem;
  }

  .page--landing .products__mrp {
    font-size: 0.75rem;
  }

  .page--landing .products__discount {
    font-size: 0.65rem;
    padding: 0.08rem 0.28rem;
  }
}

@media screen and (max-width: 380px) {
  .page--landing .products__container {
    gap: 0.85rem 0.5rem;
  }

  .page--landing .products__card-body {
    padding: 0.65rem 0.55rem 0.5rem;
  }

  .page--landing .products__toolbar {
    padding: 0.5rem 0.55rem 0.65rem;
  }

  .page--landing .products__media {
    min-height: 7.5rem;
  }

  .page--landing .products__img {
    max-height: 6.75rem;
  }

  .page--landing .products__sizes .size-btn {
    padding: 0.3rem 0;
    font-size: 0.58rem;
  }

  .page--landing .products__title {
    font-size: 0.86rem;
  }

  .page--landing .products__price {
    font-size: 0.82rem;
  }
}

.products__card {
  position: relative;
  min-height: 17.5rem;
  background: linear-gradient(
    165deg,
    hsl(var(--hue-color), 4%, 12%) 0%,
    var(--container-color) 45%
  );
  padding: 0;
  border-radius: 0.85rem;
  border: 1px solid hsla(var(--hue-color), 4%, 100%, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.products__card:hover {
  transform: translateY(-4px);
  border-color: hsla(var(--hue-color), 4%, 100%, 0.14);
  box-shadow: 0 12px 28px hsla(var(--hue-color), 4%, 0%, 0.45);
}

.products__card-body {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1rem 1.15rem 0.75rem;
  transition: opacity 0.2s;
}

.products__card-body:hover {
  opacity: 0.92;
}

.products__card-body:focus-visible {
  outline: 2px solid var(--white-color);
  outline-offset: -2px;
}

.products__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 11rem;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
  background: hsla(var(--hue-color), 4%, 100%, 0.03);
}

.products__media picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.products__img {
  display: block;
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 10rem;
  margin-inline: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  position: static;
  transform: none;
  filter: drop-shadow(0 8px 16px hsla(var(--hue-color), 4%, 0%, 0.5));
  transition: transform 0.35s ease;
}

.products__card:hover .products__img {
  transform: scale(1.03);
}

.products__content {
  position: relative;
  z-index: 2;
}

.products__toolbar {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.75rem 1.15rem 1rem;
  border-top: 1px solid hsla(var(--hue-color), 4%, 100%, 0.08);
}

.products__option-row {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-items: center;
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
}

.products__label {
  font-size: 0.7rem;
  font-weight: var(--font-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-color-light);
  line-height: 1;
}

.page--landing .products__colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.page--landing .products__colors .color-swatch {
  width: 1.25rem;
  height: 1.25rem;
}

.page--landing .products__sizes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.2rem;
  width: 100%;
}

.page--landing .products__sizes .size-btn {
  min-width: 0;
  width: 100%;
  padding: 0.4rem 0;
  font-size: 0.75rem;
  border-radius: 0.35rem;
}

/* Match shop detail: fade unavailable variants clearly */
.page--landing .products__colors .color-swatch.is-out-of-stock,
.page--landing .products__sizes .size-btn.is-out-of-stock {
  opacity: 0.35;
  filter: saturate(0.55);
  cursor: not-allowed;
}

.products__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.15rem;
  padding-top: 0.5rem;
  border-top: 1px solid hsla(var(--hue-color), 4%, 100%, 0.08);
}

.page--landing .products__card .btn-fav {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  flex-shrink: 0;
  border-radius: 0.5rem;
}

.page--landing .products__card .btn-fav svg {
  width: 1.2rem;
  height: 1.2rem;
}

.products__title,
.products__price {
  font-size: var(--small-font-size);
}

.products__title {
  margin: 0 0 0.25rem;
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  letter-spacing: 0.02em;
}

.products__pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.products__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.45rem;
}

.products__mrp {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color-light);
  text-decoration: line-through;
  -webkit-text-decoration-color: hsla(var(--hue-color), 4%, 100%, 0.35);
          text-decoration-color: hsla(var(--hue-color), 4%, 100%, 0.35);
}

.products__price {
  display: inline;
  font-weight: var(--font-semi-bold);
  font-size: var(--h3-font-size);
  color: var(--title-color);
}

.products__discount {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border-radius: 0.2rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semi-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1a1a;
  background: hsl(142, 55%, 52%);
}

.page--landing .products__button {
  position: static;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
  background-color: var(--black-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page--landing .products__button .button__icon,
.page--landing .products__button .button__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.page--landing .products__button:hover {
  background-color: var(--black-color-alt);
}
@media screen and (min-width: 768px) {
  .page--landing .products__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.75rem;
  }
}

@media screen and (min-width: 767px) {
  .page--landing .products__container {
    gap: 2.5rem 2rem;
  }

  .page--landing .products__card {
    min-height: 20rem;
  }

  .page--landing .products__card-body {
    padding: 1.25rem 1.5rem 0.85rem;
  }

  .page--landing .products__media {
    min-height: 12.5rem;
  }

  .page--landing .products__img {
    max-height: 11.5rem;
  }

  .page--landing .products__option-row {
    grid-template-columns: 3rem 1fr;
  }

  .page--landing .products__title {
    font-size: var(--h2-font-size);
  }

  .page--landing .products__price {
    font-size: 1.35rem;
  }

  .page--landing .footer__col--brand {
    padding-top: 0.15rem;
  }
}

@media screen and (min-width: 1100px) {
  .page--landing .products__container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem 2.25rem;
  }

  .page--landing .products__card {
    min-height: 21rem;
  }

  .page--landing .products__media {
    min-height: 13rem;
  }

  .page--landing .products__img {
    max-height: 12.5rem;
  }
}

/* Cloth layout: side margins only — no width:100% + margin (causes right overflow) */
.container {
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

/* Marketing hero (homepage) — inspired split panel layout */
.home {
  width: 100%;
  max-width: var(--landing-max-width);
  margin-inline: auto;
}

.home__panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(
    102deg,
    hsl(210, 14%, 93%) 0%,
    hsl(210, 11%, 88%) 38%,
    hsl(210, 9%, 58%) 72%,
    hsl(210, 8%, 38%) 100%
  );
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4);
}

.home__container {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
  -moz-column-gap: clamp(0.5rem, 2vw, 2rem);
       column-gap: clamp(0.5rem, 2vw, 2rem);
  min-height: 0;
}

.home__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(0.75rem, 2vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
  color: hsl(210, 15%, 8%);
  z-index: 2;
  text-align: left;
  align-items: flex-start;
}

.home__headline {
  margin: 0 0 var(--mb-1-5);
  font-size: clamp(1.65rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home__rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 22rem;
  margin-bottom: var(--mb-1-5);
  color: hsl(210, 12%, 18%);
}

.home__rule-line {
  flex: 1 1 auto;
  min-width: 2rem;
  height: 1px;
  background: hsl(210, 12%, 38%);
}

.home__emblem {
  display: block;
  width: 2.25rem;
  height: auto;
  max-height: 2.75rem;
  flex-shrink: 0;
  -o-object-fit: contain;
     object-fit: contain;
}

.home__tagline {
  margin: 0 0 var(--mb-1);
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(210, 12%, 16%);
}

.home__description {
  margin: 0 0 var(--mb-1-5);
  max-width: 20rem;
  font-size: clamp(0.75rem, 1.4vw, 0.875rem);
  line-height: 1.65;
  color: hsl(210, 10%, 28%);
}

.home__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.home__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.35rem;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.home__btn--primary {
  background: hsl(210, 15%, 6%);
  color: var(--white-color);
  border: 1px solid hsl(210, 15%, 6%);
}

.home__btn--primary:hover {
  background: hsl(210, 12%, 18%);
  border-color: hsl(210, 12%, 18%);
  transform: translateY(-1px);
}

.home__btn--ghost {
  background: transparent;
  color: hsl(210, 15%, 8%);
  border: 1px solid hsl(210, 12%, 28%);
}

.home__btn--ghost:hover {
  background: hsla(210, 15%, 100%, 0.35);
  border-color: hsl(210, 15%, 8%);
}

.home__btn-arrow {
  width: 1rem;
  height: 1rem;
}

.home__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  line-height: 0;
}

.home__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 240px;
  min-width: 0;
  margin: 0;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: bottom center;
     object-position: bottom center;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

@media screen and (max-width: 767px) {
  .page--landing .home.section {
    padding-inline: clamp(0.875rem, 4.5vw, 1.25rem);
  }

  .home__panel {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    background: linear-gradient(
      180deg,
      hsl(210, 14%, 93%) 0%,
      hsl(210, 12%, 88%) 42%,
      hsl(210, 10%, 62%) 78%,
      hsl(210, 9%, 48%) 100%
    );
  }

  .page--landing .home__container {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    grid-template-columns: none;
    align-items: stretch;
    row-gap: 0;
    -moz-column-gap: 0;
         column-gap: 0;
  }

  .home__content {
    order: 1;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    padding: 2.5rem 1.25rem 1.25rem;
  }

  .home__headline {
    font-size: clamp(1.35rem, 6.5vw, 1.9rem);
    margin-bottom: var(--mb-1);
  }

  .home__rule {
    width: 100%;
    max-width: 17rem;
    margin-inline: auto;
    margin-bottom: var(--mb-1);
    gap: 0.6rem;
  }

  .home__rule-line {
    min-width: 1.5rem;
  }

  .home__emblem {
    width: 1.85rem;
    max-height: 2.25rem;
  }

  .home__tagline {
    font-size: clamp(0.62rem, 2.8vw, 0.72rem);
    letter-spacing: 0.16em;
    margin-bottom: var(--mb-0-75);
  }

  .home__description {
    font-size: 0.8125rem;
    line-height: 1.6;
    max-width: 22rem;
    margin-inline: auto;
    margin-bottom: var(--mb-1-5);
  }

  .home__actions {
    justify-content: center;
    width: 100%;
  }

  .home__btn {
    width: 100%;
    max-width: 15rem;
    padding: 0.7rem 1.15rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .home__btn-arrow {
    width: 0.9rem;
    height: 0.9rem;
  }

  .page--landing .home__visual {
    order: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: auto;
    padding: 0;
    width: 100%;
    line-height: 0;
  }

  .page--landing .home__img {
    display: block;
    width: 100%;
    max-width: none;
    max-height: min(46vw, 220px);
    margin: 0;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: bottom center;
       object-position: bottom center;
    border-radius: 0 0 1rem 1rem;
  }
}

@media screen and (max-width: 380px) {
  :root {
    --landing-pad-inline: 0.875rem;
  }

  .home__content {
    padding: 2rem 1rem 1rem;
  }

  .home__headline {
    font-size: 1.2rem;
  }

  .home__rule {
    max-width: 14rem;
  }

  .home__description {
    font-size: 0.75rem;
  }

  .home__img {
    max-height: 190px;
    border-radius: 0 0 1rem 1rem;
  }
}

@media screen and (min-width: 768px) {
  .home__container {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .home__content {
    padding-right: var(--mb-1-5);
  }

  .home__img {
    max-height: 280px;
  }
}

@media screen and (min-width: 1024px) {
  .home__headline {
    font-size: 2.85rem;
  }

  .home__content {
    padding-left: 2.5rem;
  }

  .home__container {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .home__img {
    max-height: 320px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home__panel {
    animation: homePanelIn 0.85s ease both;
  }

  .home__content > * {
    animation: homeFadeUp 0.75s ease both;
  }

  .home__headline { animation-delay: 0.1s; }
  .home__rule { animation-delay: 0.2s; }
  .home__tagline { animation-delay: 0.28s; }
  .home__description { animation-delay: 0.34s; }
  .home__actions { animation-delay: 0.4s; }

  .home__img {
    animation: homeImgIn 1s ease 0.2s both;
  }
}

@keyframes homePanelIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeImgIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

