/*
Theme Name: Blocksy Child
Template: blocksy
Text Domain: blocksy-child
*/

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --jja-bg: #f5efea;
  --jja-red: #b23a2a;
  --jja-red-dark: #7a2e2e;
  --jja-container: 1280px;
  --jja-page-padding: 80px;
}


/* =========================
   LOADER BASE
========================= */

.jja-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background layer */
.jja-loader__bg {
  position: absolute;
  inset: 0;
  background: #7a2e2e;
  z-index: 0;
}

/* =========================
   BLUR LAYER
========================= */

.jja-loader__blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
  opacity: 1;
}

/* =========================
   CONTENT WRAPPER
========================= */

.jja-loader__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

/* =========================
   LOGO
========================= */

.jja-loader__logo img {
  display: block;
  width: 260px;
  height: auto;
}

/* Full logo (initial) */
.jja-loader__logo--full {
  position: relative;
  z-index: 3;
  opacity: 1;
}

/* Split logo wrapper */
.jja-loader__logo-split {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  z-index: 3;
}

/* Left & right parts */
.jja-loader__logo--left,
.jja-loader__logo--right {
  position: relative;
}

/* =========================
   IMAGE CONTAINER
========================= */

.jja-loader__images {
  position: absolute;
  width: 295px;
  height: 152px;
  overflow: hidden;
  z-index: 2;
  opacity: 0;
}

/* Image stack */
.jja-loader__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 1;
  transform: scale(0);
  transform-origin: 50% 50%;
}

/* =========================
   INITIAL STATE FIXES
========================= */

.jja-loader__logo--full {
  opacity: 1;
}

.jja-loader__logo-split,
.jja-loader__images {
  opacity: 0;
}



/* =========================
   MOBILE (TABLET + SMALL)
========================= */

@media (max-width: 768px) {

  .jja-loader__logo img {
    width: 200px;
  }

  .jja-loader__images {
    width: 240px;
    height: 124px;
  }

}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

  .jja-loader__logo img {
    width: 160px;
  }

  .jja-loader__images {
    width: 140px;
    height: 72px; /* keep same ratio */
  }

}



html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--jja-bg);
  color: var(--jja-red-dark);
  font-family: "Gilroy", Arial, sans-serif;
  font-weight: 400;
}

body.home {
  background: var(--jja-bg);
}

.jja-page {
  min-height: 100vh;
  padding-top: 80px;
  background: var(--jja-bg);
  color: var(--jja-red-dark);
}

.jja-container {
  width: min(var(--jja-container), calc(100% - (var(--jja-page-padding) * 2)));
  margin: 0 auto;
}

.jja-serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
}

.jja-link {
  color: var(--jja-red-dark);
  text-decoration: none;
}

.jja-link:hover,
.jja-link:focus {
  color: var(--jja-red);
}

img {
  max-width: 100%;
  height: auto;
}

/*
Header CSS Starts Here
*/

.jja-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--jja-bg);
  z-index: 1000;
}

.jja-header__inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jja-header__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 42px;
}

.jja-header__logo {
  display: block;
  width: 52px;
  height: 42px;
  object-fit: contain;
}

.jja-header__nav {
  display: flex;
  align-items: center;
  gap: 109px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 300;
}

.jja-header__nav a {
  color: var(--jja-red-dark);
  text-decoration: none;
}

/*
Header CSS Ends Here
*/

/*
Home Page Hero Section Starts Here
*/

.jja-hero {
  background: var(--jja-bg);
}

.jja-hero__eyebrow {
  margin: 30px 0 38px;
  color: var(--jja-red);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 3px;
  text-align: center;
}

.jja-divider {
  width: 100%;
  height: 0;
  border-top: 1px solid var(--jja-red);
  background: transparent;
}


.jja-hero__slider {
  margin-top: 38px;
}

.jja-hero__slides {
  position: relative;
  width: min(670px, 100%);
  aspect-ratio: 670 / 503;
  max-height: calc(80vh - 80px);
  margin: 0 auto;
  overflow: hidden;
}

.jja-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.jja-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}



/*
Home Page Hero Section Ends Here
*/



/*
Home Page About Section Starts Here
*/

.jja-about {
  padding-top: 34px;
  padding-bottom: 65px;
  background: var(--jja-bg);
}

.jja-about__title {
  margin: 0 0 23px;
  color: var(--jja-red);
  font-size: 26px;
  line-height: 1.25;
  text-align: center;
}

.jja-about__copy {
  width: min(1105px, 100%);
  margin: 0 auto;
  color: var(--jja-red-dark);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  text-align: center;
}

.jja-about__copy p {
  margin: 0 0 16px;
}

.jja-about__copy p:last-child {
  margin-bottom: 0;
}

/*
Home Page About Section Ends Here
*/






/*
Home Page Contact CTA Section Starts Here
*/

.jja-contact-cta {
  background: var(--jja-bg);
}

.jja-contact-cta__grid {
  height: 341px;
  border-top: 1px solid var(--jja-red);
  display: grid;
  grid-template-columns: 867px 1fr;
}

.jja-contact-cta__content {
  padding-top: 44px;
}

.jja-contact-cta__title {
  width: 788px;
  margin: 0 0 34px;
  color: var(--jja-red);
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.jja-contact-cta__copy {
  width: 770px;
  color: var(--jja-red-dark);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}

.jja-contact-cta__copy p {
  margin: 0 0 18px;
}

.jja-contact-cta__copy p:last-child {
  margin-bottom: 0;
}

.jja-contact-cta__action {
  border-left: 1px solid var(--jja-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jja-contact-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 54px;
  padding: 0;
  border: 1px solid var(--jja-red);
  border-radius: 6px;
  color: var(--jja-red-dark);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
}

.jja-contact-cta__button:hover,
.jja-contact-cta__button:focus {
  color: var(--jja-red);
  border-color: var(--jja-red);
}

/*
Home Page Contact CTA Section Ends Here
*/


/*
Footer CSS Starts Here
*/

.jja-footer {
  background: var(--jja-bg);
}

.jja-footer__inner {
  border-top: 1px solid var(--jja-red);
  padding-top: 31px;
  padding-bottom: 40px;
}

.jja-footer__logo-link {
  display: flex;
  width: 150px;
  height: 140px;
  margin: 0 auto;
}

.jja-footer__logo {
  display: block;
  width: 150px;
  height: 140px;
  object-fit: contain;
}

.jja-footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin-top: 33px;
}

.jja-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Instagram icon size correction */
.jja-footer__social-link:nth-child(2) {
  width: 23px;
  height: 23px;
}

.jja-footer__social-link img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.jja-footer__bottom-line {
  width: 100%;
  height: 0;
  margin-top: 40px;
  border-top: 1px solid var(--jja-red);
}

.jja-footer__bottom {
  margin-top: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--jja-red-dark);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 300;
}

.jja-footer__bottom p {
  margin: 0;
}

/*
Footer CSS Ends Here
*/








/*
Small Desktop Responsive CSS Starts Here
*/

@media (max-width: 1320px) {
  :root {
    --jja-page-padding: 48px;
  }

  .jja-contact-cta__grid {
    grid-template-columns: minmax(0, 1fr) 32%;
  }

  .jja-contact-cta__title {
    width: min(720px, 100%);
    font-size: 40px;
  }

  .jja-contact-cta__copy {
    width: min(720px, 100%);
  }

  .jja-contact-cta__content {
    padding-right: 48px;
  }
}

/*
Small Desktop Responsive CSS Ends Here
*/



/*
Mobile Responsive CSS Starts Here
*/

@media (max-width: 767px) {
  :root {
    --jja-page-padding: 25px;
  }

  .jja-page {
    padding-top: 80px;
  }

  .jja-container {
    width: calc(100% - 50px);
  }

  .jja-header {
    height: 80px;
  }

  .jja-header__inner {
    height: 80px;
  }

  .jja-header__logo-link,
  .jja-header__logo {
    width: 52px;
    height: 42px;
  }

  .jja-header__nav {
    gap: 40px;
    font-size: 16px;
    line-height: 1.2;
  }

  .jja-hero__eyebrow {
    margin: 38px 0 12px;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 3px;
  }

  .jja-divider {
    width: 100%;
  }

  .jja-hero__slider {
    margin-top: 28px;
    margin-left: calc((100vw - 100%) / -2);
    margin-right: calc((100vw - 100%) / -2);
  }

  .jja-hero__slides {
    width: 100vw;
    height: 330px;
  }

  .jja-hero__slide {
    width: 100vw;
    height: 330px;
  }

  .jja-hero__dots {
    gap: 24px;
    margin-top: 38px;
  }

  .jja-hero__dot {
    width: 28px;
    height: 2px;
  }

  .jja-about {
    padding-top: 37px;
    padding-bottom: 62px;
  }

  .jja-about__title {
    margin-bottom: 18px;
    font-size: 26px;
    line-height: 1.25;
  }

  .jja-about__copy {
    width: 100%;
    font-size: 16px;
    line-height: 1.18;
    text-align: justify;
    text-align-last: left;
  }

  .jja-about__copy p {
    margin-bottom: 20px;
  }

  .jja-contact-cta__grid {
    height: auto;
    border-top: 1px solid var(--jja-red);
    display: block;
    padding-top: 22px;
    padding-bottom: 30px;
  }

  .jja-contact-cta__content {
    padding-top: 0;
    padding-right: 0;
  }

  .jja-contact-cta__title {
    width: 100%;
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.35;
  }

  .jja-contact-cta__copy {
    width: 100%;
    font-size: 16px;
    line-height: 1.2;
  }

  .jja-contact-cta__copy p {
    margin-bottom: 20px;
  }

  .jja-contact-cta__action {
    margin-top: 25px;
    border-left: 0;
    display: flex;
    justify-content: flex-start;
  }

  .jja-contact-cta__button {
    width: 168px;
    height: 54px;
    font-size: 20px;
  }

  .jja-footer__inner {
    padding-top: 40px;
    padding-bottom: 24px;
  }

  .jja-footer__logo-link,
  .jja-footer__logo {
    width: 150px;
    height: 140px;
  }

  .jja-footer__socials {
    margin-top: 30px;
    gap: 17px;
  }

  .jja-footer__social-link img {
    width: 25px;
    height: 25px;
  }

  .jja-footer__bottom-line {
    margin-top: 30px;
  }

  .jja-footer__bottom {
    margin-top: 28px;
    align-items: flex-start;
    gap: 24px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
  }

  .jja-footer__bottom p:first-child {
    width: 150px;
  }

  .jja-footer__bottom p:last-child {
    width: 150px;
    text-align: right;
  }
}

/*
Mobile Responsive CSS Ends Here
*/


/*
Compact Mobile Responsive CSS Starts Here
*/

@media (max-width: 390px) {
  :root {
    --jja-page-padding: 25px;
  }

  .jja-header__nav {
    gap: 34px;
    font-size: 15px;
  }

  .jja-hero__eyebrow {
    font-size: 18px;
    letter-spacing: 4px;
  }

  .jja-hero__slides {
    height: 310px;
  }

  .jja-hero__slide {
    height: 310px;
  }

  .jja-about__title {
    font-size: 26px;
  }

  .jja-about__copy {
    font-size: 14px;
    line-height: 1.18;
  }

  .jja-contact-cta__title {
    font-size: 26px;
  }

  .jja-contact-cta__copy {
    font-size: 14px;
  }
  
    .jja-contact-cta__button {
    width: 150px;
    height: 50px;
    font-size: 16px;
  }


  .jja-footer__bottom {
    font-size: 12px;
  }
}

/*
Compact Mobile Responsive CSS Ends Here
*/





















/*
Projects Page CSS Starts Here
*/

.jja-projects-hero {
  padding-top: 79px;
  padding-bottom: 51px;
  background: var(--jja-bg);
  text-align: center;
}

.jja-projects-hero__title {
  margin: 0 0 13px;
  color: var(--jja-red);
  font-size: 26px;
  line-height: 1.25;
}

.jja-projects-hero__subtitle {
  margin: 0;
  color: var(--jja-red-dark);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}





.jja-project-grid-section {
  background: var(--jja-bg);
  padding-bottom: 78px;
}

.jja-project-grid-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.jja-project-grid-section__title {
  margin: 0;
  color: var(--jja-red);
  font-size: 26px;
  line-height: 1.25;
}

.jja-project-grid-section__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.jja-project-grid-section__filter img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}



/*
Projects Page Images Grid Starts Here
*/

.jja-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 55px;
  row-gap: 40px;
}

.jja-project-card {
  margin: 0;
}

.jja-project-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.jja-project-card__title {
  margin: 15px 0 0;
  color: var(--jja-red-dark);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}



/*
Projects Page Images Grid Ends Here
*/



@media (max-width: 767px) {
    
      .jja-projects-hero {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .jja-projects-hero__title {
    margin-bottom: 12px;
    font-size: 26px;
  }

  .jja-projects-hero__subtitle {
    width: min(300px, 100%);
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.2;
  }

  .jja-project-grid-section {
    padding-bottom: 58px;
  }

  .jja-project-grid-section__header {
    margin-bottom: 27px;
  }

  .jja-project-grid-section__title {
    font-size: 26px;
  }

  .jja-project-grid-section__filter {
    width: 22px;
    height: 22px;
  }

  .jja-project-grid-section__filter img {
    width: 18px;
    height: 18px;
  }

  .jja-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 26px;
  }

  .jja-project-card__title {
    margin-top: 11px;
    font-size: 13px;
    line-height: 1.2;
  }

}







@media (max-width: 390px) {

      .jja-projects-hero__subtitle {
    width: min(280px, 100%);
    font-size: 14px;
  }

  .jja-project-grid-section__title {
    font-size: 24px;
  }

  .jja-project-grid {
    column-gap: 20px;
    row-gap: 24px;
  }

  .jja-project-card__title {
    font-size: 12px;
    line-height: 1.2;
  }

    
}



/*
Projects Page CSS Ends Here
*/











/*
Contact Page CSS Starts Here
*/

.jja-contact-hero {
  background: var(--jja-bg);
  padding-top: 63px;
  padding-bottom: 58px;
}

.jja-contact-hero__image {
  display: block;
  width: 100%;
  height: 568px;
  object-fit: cover;
}

.jja-contact-hero__content {
  width: min(540px, 100%);
  margin: 47px auto 0;
  color: var(--jja-red-dark);
  text-align: center;
}

.jja-contact-hero__title {
  margin: 0 0 26px;
  color: var(--jja-red);
  font-size: 26px;
  line-height: 1.25;
}

.jja-contact-hero__intro {
  margin: 0 0 31px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}

.jja-contact-hero__details {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}

.jja-contact-hero__details:last-child {
  margin-bottom: 0;
}



/*
Contact Page Enquiries Section Starts Here
*/

.jja-contact-info {
  background: var(--jja-bg);
}

.jja-contact-info__grid {
  min-height: 272px;
  border-top: 1px solid var(--jja-red);
  border-bottom: 1px solid var(--jja-red);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.jja-contact-info__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--jja-red-dark);
}

.jja-contact-info__item + .jja-contact-info__item {
  border-left: 1px solid var(--jja-red);
}

.jja-contact-info__title {
  margin: 0 0 25px;
  color: var(--jja-red);
  font-size: 26px;
  line-height: 1.25;
}

.jja-contact-info__item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}


/*
Contact Page Enquiries Section Ends Here
*/


/*
Contact Page Form Section Starts Here
*/
.jja-contact-form-section {
  background: var(--jja-bg);
  padding-top: 45px;
  padding-bottom: 64px;
}

.jja-contact-form-section__title {
  margin: 0 0 28px;
  color: var(--jja-red);
  font-size: 26px;
  line-height: 1.25;
  text-align: center;
}

.jja-contact-form {
  width: min(770px, 100%);
  margin: 0 auto;
}

.jja-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 128px;
  row-gap: 39px;
}

.jja-contact-form__field {
  display: block;
  color: var(--jja-red-dark);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}

.jja-contact-form__field span {
  display: block;
  margin-bottom: 18px;
}

.jja-contact-form__field input,
.jja-contact-form__field select,
.jja-contact-form__field textarea {
  display: block;
  width: 100%;
  min-height: 28px;
  padding: 0 0 8px;
  border: 0 !important;
  border-bottom: 1px solid var(--jja-red) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--jja-red-dark);
  font-family: "Gilroy", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
  box-shadow: none !important;
}

.jja-contact-form__field input:focus,
.jja-contact-form__field select:focus,
.jja-contact-form__field textarea:focus {
  border-bottom-color: var(--jja-red-dark) !important;
}

.jja-contact-form__field textarea {
  resize: none;
  min-height: 28px;
  overflow: hidden;
}

.jja-contact-form__field--full {
  grid-column: 1 / -1;
}

.jja-contact-form__select-field {
  position: relative;
}

.jja-contact-form__select-field select {
  cursor: pointer;
}



.jja-contact-form__button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 198px;
  height: 54px;
  margin: 40px auto 0;
  padding: 0 !important;
  border: 1px solid var(--jja-red) !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--jja-red-dark) !important;
  font-family: "Gilroy", Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none !important;
}

.jja-contact-form__button:hover,
.jja-contact-form__button:focus {
  background: transparent !important;
  color: var(--jja-red) !important;
  border-color: var(--jja-red) !important;
}


/*
Contact Page Form Section Ends Here
*/



/* Contact Success / Error State */

.jja-contact-success {
  width: min(770px, 100%);
  margin: 0 auto;
  padding-top: 40px;
  text-align: center;
}

.jja-contact-success__title {
  margin: 0 0 18px;
  color: var(--jja-red);
  font-size: 26px;
  line-height: 1.25;
}

.jja-contact-success__text {
  margin: 0;
  color: var(--jja-red-dark);
  font-size: 16px;
  line-height: 1.2;
}




@media (max-width: 767px) {
/* =========================
   CONTACT PAGE — MOBILE
========================= */

/* Hero */

.jja-contact-hero {
  padding-top: 34px;
  padding-bottom: 34px;
}

.jja-contact-hero__image {
  height: 260px;
}

.jja-contact-hero__content {
  width: 100%;
  margin: 24px 0 0;
  text-align: left;
}

.jja-contact-hero__title {
  margin-bottom: 16px;
  font-size: 26px;
}

.jja-contact-hero__intro {
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.2;
}

.jja-contact-hero__details {
  margin-bottom: 18px;
}

/* Contact Info Section */

.jja-contact-info__grid {
  display: block;
  min-height: auto;
  padding-top: 22px;
  padding-bottom: 22px;
}

.jja-contact-info__item {
  align-items: flex-start;
  text-align: left;
}

.jja-contact-info__item + .jja-contact-info__item {
  border-left: 0;
  border-top: 1px solid var(--jja-red);
  margin-top: 22px;
  padding-top: 22px;
}

.jja-contact-info__title {
  margin-bottom: 14px;
  font-size: 26px;
}

/* Form Section */

.jja-contact-form-section {
  padding-top: 34px;
  padding-bottom: 48px;
}

.jja-contact-form-section__title {
  margin-bottom: 22px;
  text-align: left;
}

.jja-contact-form {
  width: 100%;
}

.jja-contact-form__grid {
  grid-template-columns: 1fr;
  row-gap: 28px;
}

.jja-contact-form__field span {
  margin-bottom: 12px;
}

.jja-contact-form__field input,
.jja-contact-form__field select,
.jja-contact-form__field textarea {
  padding-bottom: 6px;
}

.jja-contact-form__button {
  margin: 30px 0 0;
  width: 168px;
  height: 54px;
  font-size: 20px;
}

/* Success / Error */

.jja-contact-success {
  padding-top: 30px;
}

.jja-contact-success__title {
  font-size: 26px;
}

.jja-contact-success__text {
  font-size: 16px;
}
}


@media (max-width: 390px) {
 
 /* =========================
   CONTACT PAGE — COMPACT MOBILE
========================= */

/* Hero */

.jja-contact-hero__image {
  height: 220px;
}

.jja-contact-hero__title {
  font-size: 24px;
}

.jja-contact-hero__intro {
  font-size: 14px;
  line-height: 1.2;
}

.jja-contact-hero__details {
  font-size: 14px;
}

/* Contact Info */

.jja-contact-info__title {
  font-size: 24px;
}

.jja-contact-info__item p {
  font-size: 14px;
  line-height: 1.2;
}

/* Form */

.jja-contact-form-section__title {
  font-size: 24px;
}

.jja-contact-form__field {
  font-size: 14px;
}

.jja-contact-form__field span {
  margin-bottom: 10px;
}

.jja-contact-form__grid {
  row-gap: 24px;
}

.jja-contact-form__button {
  width: 150px;
  height: 50px;
  font-size: 16px;
}

/* Success / Error */

.jja-contact-success__title {
  font-size: 24px;
}

.jja-contact-success__text {
  font-size: 14px;
}
    
}

/*
Contact Page CSS Ends Here
*/













/* ==============================================
   SINGLE PROJECT PAGE
   Replace the old "PROJECT GALLERY" block
   in style.css with everything below.
=============================================== */


/* =========================
   SECTION SPACING
========================= */

.jja-project-gallery {
  padding-top: 0;
  padding-bottom: 0;
}


/* =========================
   PROJECT TITLE
========================= */

.jja-project-title {
  text-align: center;
  color: var(--jja-red);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  margin-top: 48px;
  margin-bottom: 32px;
}


/* =========================
   HERO IMAGE (centered)
========================= */

.jja-project-hero-wrap {
  width: 100%;
  max-width: 670px;
  margin: 0 auto;
}

.jja-project-hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.jja-project-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}


/* =========================
   THUMBNAIL STRIP OUTER
   (full width, edge-to-edge)
========================= */

.jja-thumbstrip-outer {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 32px;
  /* No left/right container — intentionally full width */
}


/* =========================
   ARROW BUTTONS
========================= */

.jja-thumbstrip-arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  z-index: 2;
  transition: color 0.2s ease;
  padding: 0 12px;
}

.jja-thumbstrip-arrow:hover {
  color: var(--jja-red);
}

.jja-thumbstrip-arrow--left {
  padding-left: 24px;
}

.jja-thumbstrip-arrow--right {
  padding-right: 24px;
}


/* =========================
   THUMBNAIL TRACK
========================= */

.jja-project-thumbnails {
  flex: 1 1 0;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0 8px;
}

/* Center thumbnails ONLY when few items */
.jja-project-thumbnails.is-centered {
  justify-content: center;
}

.jja-project-thumbnails::-webkit-scrollbar {
  display: none;
}


/* =========================
   INDIVIDUAL THUMBNAILS
========================= */

.jja-project-thumbnails .jja-thumb {
  flex: 0 0 150px;
  height: 110px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.25s ease;
  display: block;
}

.jja-project-thumbnails .jja-thumb:hover {
  opacity: 0.85;
}

.jja-project-thumbnails .jja-thumb.is-active {
  opacity: 1;
}


/* =========================
   PROJECT DESCRIPTION (WP CONTENT FIX)
========================= */

.jja-project-detail__description h2 {
  font-size: 18px;
  font-weight: 600;
  color: #B23A2A; /* same as your design */
  margin: 28px 0 10px;
  font-family: inherit;
}

.jja-project-detail__description p {
  font-size: 16px;
  line-height: 1.75;
  color: #1A0B08;
}


/* =========================
   DESCRIPTION + SPECS GRID
========================= */

.jja-project-detail {
  margin-top: 72px;
  margin-bottom: 80px;
}

.jja-project-detail__grid {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 64px;
  align-items: start;
}

.jja-project-detail__description p {
  font-size: 16px;
  line-height: 1.75;
  color: #1A0B08;
  margin-bottom: 20px;
}

.jja-project-detail__section {
  margin-top: 28px;
}

.jja-project-detail__subheading {
  font-size: 16px;
  font-weight: 600;
  font-family: inherit; /* Gilroy, not serif */
  color: #111;
  margin-bottom: 10px;
}

/* Specs panel */
.jja-project-detail__specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jja-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jja-spec__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--jja-red);
  letter-spacing: 0.04em;
  text-transform: none;
}

.jja-spec__value {
  font-size: 16px;
  color: #7A2E2E;
  line-height: 1.5;
}


/* =========================
   SINGLE PROJECT — 1024px FIX
========================= */

@media (max-width: 1100px) {

  .jja-project-hero-wrap {
    max-width: 520px;
  }

  .jja-project-thumbnails .jja-thumb {
    flex: 0 0 120px;
    height: 85px;
  }

}


/* =========================
   RESPONSIVE — TABLET
========================= */

@media (max-width: 900px) {

  .jja-project-detail__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .jja-project-detail__specs {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 20px;
  }

  .jja-spec {
    flex: 0 0 calc(50% - 20px);
  }

}


/* =========================
   RESPONSIVE — MOBILE
========================= */

@media (max-width: 600px) {

  .jja-project-title {
    margin-top: 32px;
    margin-bottom: 20px;
  }

  .jja-project-hero {
    aspect-ratio: 3 / 2;
  }

  .jja-project-thumbnails .jja-thumb {
    flex: 0 0 110px;
    height: 80px;
  }

  .jja-thumbstrip-arrow {
    width: 36px;
    padding: 0 8px;
  }

  .jja-thumbstrip-arrow--left {
    padding-left: 12px;
  }

  .jja-thumbstrip-arrow--right {
    padding-right: 12px;
  }

  .jja-project-detail {
    margin-top: 48px;
    margin-bottom: 48px;
  }

  .jja-spec {
    flex: 0 0 100%;
  }

}