:root {
  --charcoal: #424242;
  --deep: #252525;
  --white: #fff;
  --soft: #e8e8e8;
  --line: #8d8d8d;
  --gold: #d8b58b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page {
  overflow: hidden;
}

.container {
  width: min(1184px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  background: var(--charcoal);
}

.section-title {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 600;
}

.section-copy {
  margin: 0;
  color: #f5f5f5;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 48px;
  border: 1px solid var(--line);
}

.feature {
  min-height: 169px;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 20px;
  font-weight: 400;
}

.feature:last-child {
  border-right: 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px 37px;
  margin-top: 70px;
}

.image-card {
  height: 290px;
  /*overflow: hidden;*/
  border: 1px solid var(--line);
}

.image-card img {
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1), filter 0.8s ease;
}

.image-title {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  color: #fff;
}

.image-card:hover img {
  transform: scale(1.045);
  filter: contrast(1.04);
}

.hero {
  position: relative;
  min-height: 100vh;
  height: 1024px;
  max-height: 1024px;
  background: #100b09 url("https://jcbl.com/armoured-mg-m9/assets/images/armoured-mg-m9/hero-v1.jpg")
    center/cover no-repeat;
  color: #fff;
  background-position: bottom;
}

.hero .logo {
  position: absolute;
  top: 45px;
  left: max(calc((100vw - 1302px) / 2), 48px);
  width: 164px;
  height: 63px;
  object-fit: contain;
}

.hero-content {
  position: absolute;
  top: 260px;
  left: max(calc((100vw - 1300px) / 2), 48px);
  right: auto;
  text-align: left;
}

.hero h1 {
  margin: 0;
  max-width: 640px;
  font-size: 43px;
  line-height: 1.22;
  font-weight: 400;
}

.model-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 9px 0 0 6px;
}

.hero h2 {
  margin: 0;
  font-size: 28px;
  white-space: nowrap;
  font-weight: 600;
}

.model-lockup {
  width: 134px;
  height: 39px;
  object-fit: contain;
}

.enquiry-form {
  position: absolute;
  top: 200px;
  right: max(calc((100vw - 1331px) / 2), 48px);
  width: 373px;
  padding: 35px 23px 22px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.58);
  color: #000;
  backdrop-filter: blur(6px);
}

.field {
  margin-bottom: 11px;
}

.field label {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #e8e8e8;
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 14px;
  outline: none;
}

.field input {
  height: 34px;
}

.field textarea {
  min-height: 142px;
  resize: vertical;
}

.submit {
  width: 100%;
  height: 33px;
  border: 0;
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.52);
  text-transform: uppercase;
  cursor: pointer;
  color: #000;
}

.notice {
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 15px;
  text-align: left;
}

.notice.success {
  background: #e8f4ec;
  color: #1f5b35;
}

.notice.error {
  background: #fff0ec;
  color: #8d321e;
}

/*.craftsmanship { min-height:1042px; }*/

.interior {
  min-height: 1585px;
}

.interior .image-grid {
  margin-top: 88px;
  row-gap: 61px;
}

.interior .image-card {
  height: 217px;
}

.interior .why-title {
  margin: 132px 0 0;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 600;
}

.interior .feature-grid {
  margin-top: 51px;
}

.designed-for {
  padding: 92px 0 104px;
  background: #383838;
}

.designed-for .section-title {
  text-align: center;
}

.designed-for-intro {
  width: min(820px, 100%);
  margin: 0 auto;
  color: var(--soft);
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border: 1px solid var(--line);
}

.audience-card {
  position: relative;
  min-height: 220px;
  padding: 34px 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-right: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.2, 0.75, 0.25, 1),
    background-color 0.4s ease;
}

.audience-card:last-child {
  border-right: 0;
}

.audience-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.4s ease, transform 0.4s ease;
}

.audience-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.audience-card p {
  margin: 0;
  color: #cfcfcf;
  font-size: 13px;
  line-height: 1.5;
}

.audience-card:hover {
  z-index: 1;
  transform: translateY(-7px);
  background: #464646;
}

.audience-card:hover .audience-number {
  color: rgba(216, 181, 139, 0.55);
  transform: translateY(-3px);
}

.experience {
  position: relative;
  min-height: 797px;
  padding: 85px 20px;
  text-align: center;
  background: #333 url("https://jcbl.com/armoured-mg-m9/assets/images/armoured-mg-m9/factory.jpg") center/cover
    no-repeat;
}

.experience::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(32, 32, 32, 0.44);
}

.experience-content {
  position: relative;
  width: min(800px, 100%);
  margin: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 18px;
}

.experience h2,
.advantage h2 {
  margin: 0 0 16px;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 600;
}

.experience p {
  font-size: 20px;
  line-height: 1.45;
  color: var(--soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 9px 13px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  text-transform: uppercase;
}

.advantage {
  min-height: 688px;
  padding: 124px 24px;
  text-align: center;
}

.advantage-content {
  display: grid;
  grid-template-columns: 490px 414px;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  text-align: left;
}

.advantage-image {
  overflow: hidden;
}

.advantage ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
  font-size: 20px;
  line-height: 2;
}

.advantage li::before {
  content: '· '
}


.footer {
  display: grid;
  grid-template-columns: 53.4% 46.6%;
  min-height: 477px;
  background: var(--deep);
}

.footer-image {
  min-height: 477px;
}

.footer-cta {
  padding: 118px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.footer h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
}

/*.footer .pill { color:var(--gold); }*/

/* Premium motion system */
.hero .logo,
.hero h1,
.model-line,
.enquiry-form {
  opacity: 0;
  animation: hero-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero .logo {
  animation-delay: 0.08s;
}

.hero h1 {
  animation-delay: 0.2s;
}

.model-line {
  animation-delay: 0.34s;
}

.enquiry-form {
  animation-delay: 0.48s;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.2) 49%,
    transparent 63%
  );
  transform: translateX(-120%);
  animation: hero-glint 1.8s 1s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.from-left {
  transform: translateX(-42px);
}

.reveal.from-right {
  transform: translateX(42px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease,
    transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1), background-color 0.3s ease,
    color 0.3s ease;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.08s;
}

.stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.16s;
}

.stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.24s;
}

.stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.32s;
}

.stagger.is-visible > *:nth-child(6) {
  transition-delay: 0.4s;
}

.feature {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, background-color 0.35s ease,
    color 0.35s ease;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(255, 255, 255, 0.09),
    transparent 75%
  );
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.feature:hover {
  transform: translateY(-5px);
  background: #4b4b4b;
  color: #fff;
}

.feature:hover::after {
  transform: translateX(120%);
}

.pill,
.submit {
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease,
    box-shadow 0.3s ease;
}

.pill:hover,
.submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.experience {
  background-attachment: fixed;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-glint {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}


@media (max-width: 900px) {
  .hero {
    min-height: 900px;
    height: 1070px;
    max-height: none;
    background-position: 43% center;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(8, 5, 4, 0.72),
      rgba(8, 5, 4, 0.12)
    );
  }

  .hero::after {
    z-index: 0;
  }

  .hero .logo,
  .hero-content,
  .enquiry-form {
    position: relative;
    right: auto;
    left: auto;
    top: auto;
  }

  .hero .logo,
  .hero-content,
  .enquiry-form {
    z-index: 1;
  }

  .hero .logo {
    margin-left: 24px;
    padding-top: 28px;
    height: auto;
  }

  .hero-content {
    padding: 120px 24px 32px;
    text-align: left;
  }

  .enquiry-form {
    margin: 0 24px 50px auto;
  }

  .hero h1 {
    font-size: clamp(34px, 7vw, 43px);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature {
    border-bottom: 1px solid var(--line);
  }

  .feature:nth-child(even) {
    border-right: 0;
  }

  .feature:last-child {
    grid-column: 1/-1;
    border-bottom: 0;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-card:nth-child(2) {
    border-right: 0;
  }

  .audience-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-copy {
    font-size: 18px;
  }

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

  .footer-cta {
    padding: 64px 24px;
  }
}

@media (max-width: 560px) {
  .hero h2 {
    text-align: left;
  }

  .container {
    width: min(100% - 32px, 1184px);
  }

  .section {
    padding: 64px 0;
  }

  .section-title,
  .interior .why-title,
  .experience h2,
  .advantage h2 {
    font-size: 28px;
  }

  .section-title,
  .interior .why-title,
  .experience h2,
  .advantage h2 {
    text-align: center;
  }

  .section-copy {
    text-align: center;
  }

  .enquiry-form {
    width: min(100%, 373px);
  }

  .enquiry-form {
    margin-right: 16px;
    width: calc(100% - 32px);
  }

  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .model-line {
    margin-left: 0;
    gap: 10px;
  }

  .model-lockup {
    width: 112px;
  }

  .feature-grid,
  .image-grid,
  .advantage-content {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-card,
  .audience-card:nth-child(2) {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .audience-card:last-child {
    border-bottom: 0;
  }

  .feature {
    min-height: 118px;
    border-right: 0;
  }

  .feature:last-child {
    grid-column: auto;
  }

  .image-card,
  .interior .image-card {
    height: auto;
    aspect-ratio: 1.3;
  }

  .interior .why-title {
    margin-top: 72px;
  }

  .experience {
    min-height: 650px;
  }

  .advantage {
    min-height: auto;
    padding: 72px 16px;
  }

  .advantage-content {
    gap: 22px;
  }

  .advantage-image {
    width: 100%;
  }

  .footer-image {
    min-height: 320px;
  }

  .advantage ul {
    text-align: center;
  }

  .footer-cta {
    align-items: center;
  }

  .footer h2 {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .stagger > * {
    opacity: 1;
    transform: none;
  }

  .experience {
    background-attachment: scroll;
  }
}

#designed-for-title {
  margin-top: 50px;
  font-weight: 500;
}

.enquiry-form p {
  margin-top: 5px;
}

.mobile-only {
  display: none;
}

/* Armoured products */
.armoured-products {
  padding: 96px 0 110px;
  background: #383838;
  text-align: center;
}

.armoured-products .section-title {
  margin-bottom: 0;
}

.product-grid {
  margin-top: 52px;
  text-align: left;
}

.product-card {
  height: auto;
  border: 0;
}

.product-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.product-card .image-title {
  min-height: 54px;
  margin: 14px 0 0;
  color: var(--white);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

.armoured-products > .pill {
  margin-top: 54px;
}


@media (max-width: 767px) {
  .mobile-only {
    display: block;
  }

  .armoured-products {
    padding: 64px 0 76px;
  }

  .product-grid {
    margin-top: 38px;
  }

  .product-card {
    aspect-ratio: auto;
  }

  .product-card img {
    height: auto;
    aspect-ratio: 1.3;
  }

  .product-card .image-title {
    min-height: 0;
    margin-bottom: 22px;
    font-size: 18px;
  }

  .armoured-products > .pill {
    margin-top: 22px;
  }

}

/* Mobile banner order: text, image, form */
.hero-mobile-visual {
  display: none;
}

@media (max-width: 900px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding-bottom: 36px !important;
    background: #100b09 !important;
  }

  .hero .logo,
  .hero-content,
  .hero-mobile-visual,
  .enquiry-form {
    position: relative !important;
    inset: auto !important;
    z-index: 1;
  }

  .hero .logo {
    order: 1;
    width: 120px;
  }

  .hero-content {
    order: 2;
  }

  .hero-mobile-visual {
    display: block;
    order: 3;
    width: 100%;
    aspect-ratio: 1.5;
    /*overflow: hidden;*/
    /*background: #100b09;*/
  }

  .hero-mobile-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }

  .enquiry-form {
    order: 4;
    width: calc(100% - 32px) !important;
  }
}