/*
 * Studio-aligned visual repair for the native Elementor build.
 * Content remains editable as Heading, Text, Image, Button and Form widgets.
 */

:root {
  --atgas-font-body: "Jost", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --atgas-font-display: "Jaapokki", "Arial Narrow", sans-serif;
  --atgas-studio-yellow: #fed41b;
  --atgas-studio-ink: #181818;
  --atgas-studio-pale: #f3f5fc;
}

body.atgas-studio-repaired {
  color: var(--atgas-studio-ink);
  font-family: var(--atgas-font-body);
  font-size: clamp(16px, 1.075vw, 18px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: .01em;
}

.atgas-studio-repaired .site-header,
.atgas-studio-repaired .site-nav,
.atgas-studio-repaired .header-cta,
.atgas-studio-repaired .site-footer {
  font-family: var(--atgas-font-body);
  font-weight: 300;
}

.atgas-studio-repaired .site-nav a {
  font-weight: 300;
}

.atgas-studio-repaired .header-cta,
.atgas-studio-repaired .elementor-button,
.atgas-studio-repaired button[type="submit"] {
  border-radius: 999px !important;
  font-weight: 500 !important;
}

/* Restore the reference site's regular Jaapokki instead of synthetic bold. */
.atgas-studio-repaired .native-section-title .elementor-heading-title,
.atgas-studio-repaired .native-card-title .elementor-heading-title,
.atgas-studio-repaired .services-native-intro .elementor-heading-title,
.atgas-studio-repaired .services-native-grid .elementor-heading-title,
.atgas-studio-repaired .contact-native-layout .elementor-heading-title {
  font-family: var(--atgas-font-display) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.atgas-studio-repaired .native-section-title .elementor-heading-title {
  max-width: 1180px;
  font-size: clamp(35px, 2.76vw, 46.5px) !important;
  line-height: 1.305 !important;
}

.atgas-studio-repaired .native-card-title .elementor-heading-title {
  font-size: clamp(17px, 1.3vw, 22px) !important;
  line-height: 1.18 !important;
}

.atgas-studio-repaired .native-section-subtitle,
.atgas-studio-repaired .native-section-subheading,
.atgas-studio-repaired .native-section-lead,
.atgas-studio-repaired .native-section-introduction,
.atgas-studio-repaired .native-section-copy,
.atgas-studio-repaired .native-section-paragraphs,
.atgas-studio-repaired .native-section-points,
.atgas-studio-repaired .native-card-copy,
.atgas-studio-repaired .native-card-quote,
.atgas-studio-repaired .native-legal-updated {
  font-family: var(--atgas-font-body) !important;
  font-size: clamp(15.5px, 1.075vw, 18px) !important;
  font-weight: 300 !important;
  line-height: 1.22 !important;
}

.atgas-studio-repaired .native-section-subtitle,
.atgas-studio-repaired .native-section-subheading,
.atgas-studio-repaired .native-section-lead {
  max-width: 1050px;
  font-size: clamp(20px, 1.55vw, 26px) !important;
  font-weight: 500 !important;
  line-height: 1.28 !important;
}

.atgas-studio-repaired .native-eyebrow .elementor-heading-title,
.atgas-studio-repaired .native-card-number .elementor-heading-title {
  font-family: var(--atgas-font-display) !important;
  font-weight: 400 !important;
  letter-spacing: .04em !important;
}

.atgas-studio-repaired .native-section {
  gap: clamp(18px, 2vw, 34px) !important;
  padding-top: clamp(72px, 6.25vw, 105px) !important;
  padding-bottom: clamp(72px, 6.25vw, 105px) !important;
}

/* Homepage hero: same scale, baseline and colour hierarchy as Studio Dash. */
.atgas-studio-repaired.home .native-section--image_hero {
  min-height: calc(100vh - var(--header-height)) !important;
  max-height: 790px;
  padding: 0 !important;
}

.atgas-studio-repaired.home .native-section--image_hero .native-section-image img {
  height: calc(100vh - var(--header-height));
  min-height: 650px;
  max-height: 790px;
}

.atgas-studio-repaired.home .native-section--image_hero .native-section-title {
  margin-bottom: clamp(145px, 17vh, 185px) !important;
}

.atgas-studio-repaired.home .native-section--image_hero .native-section-subtitle {
  margin-bottom: clamp(68px, 8vh, 90px) !important;
}

.atgas-studio-repaired.home .native-section--image_hero .native-section-title .elementor-heading-title {
  font-size: clamp(52px, 4.68vw, 78.5px) !important;
  line-height: 1.215 !important;
  color: var(--atgas-studio-yellow) !important;
}

.atgas-studio-repaired.home .native-section--image_hero .native-section-subtitle,
.atgas-studio-repaired.home .native-section--image_hero .native-section-subtitle p {
  font-family: var(--atgas-font-display) !important;
  font-size: clamp(31px, 2.75vw, 46.3px) !important;
  font-weight: 400 !important;
  line-height: 1.305 !important;
}

/* Homepage editorial sequence. */
.atgas-studio-repaired.home .native-section--content_intro {
  min-height: 540px;
  padding-right: 15vw !important;
  padding-left: 15vw !important;
  justify-content: center;
}

.atgas-studio-repaired.home .native-section--content_intro .native-section-title .elementor-heading-title {
  white-space: normal;
}

.atgas-studio-repaired.home .native-section--content_intro .native-section-paragraphs {
  max-width: 1080px;
}

.atgas-studio-repaired.home .native-section--editorial_split {
  min-height: 620px;
  background: var(--atgas-studio-pale) !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.atgas-studio-repaired.home .native-section--editorial_split .native-split-copy {
  justify-content: center;
  padding: clamp(70px, 6vw, 100px) 0;
}

.atgas-studio-repaired.home .native-section--editorial_split .native-section-image img {
  min-height: 620px;
}

.atgas-studio-repaired.home .native-section--testimonials {
  min-height: 430px;
  padding: clamp(72px, 6vw, 100px) 7vw !important;
  background: #000 !important;
  color: var(--atgas-studio-yellow) !important;
}

.atgas-studio-repaired.home .native-section--testimonials .native-section-title .elementor-heading-title {
  color: var(--atgas-studio-yellow) !important;
  font-size: clamp(20px, 1.45vw, 24px) !important;
  line-height: 1.365 !important;
}

.atgas-studio-repaired.home .native-card-grid--testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(45px, 6vw, 100px) !important;
}

.atgas-studio-repaired.home .native-card--testimonials {
  padding: 0 !important;
  background: transparent !important;
  color: var(--atgas-studio-yellow) !important;
}

.atgas-studio-repaired.home .native-card--testimonials .native-card-quote,
.atgas-studio-repaired.home .native-card--testimonials .native-card-copy,
.atgas-studio-repaired.home .native-card--testimonials p {
  margin-right: 0;
  margin-left: 0;
  color: var(--atgas-studio-yellow) !important;
  font-size: clamp(14px, .95vw, 16px) !important;
  font-weight: 300 !important;
  line-height: 1.08 !important;
}

/* About page: inset photography, restrained headings and denser editorial rhythm. */
.atgas-studio-repaired.page-id-479 .native-section--inset_image_hero,
.atgas-studio-repaired.page-id-484 .native-section--inset_image_hero {
  width: calc(100% - (2 * var(--gutter))) !important;
  min-height: 700px;
  margin: 44px var(--gutter) 0;
  padding: 0 !important;
}

.atgas-studio-repaired.page-id-479 .native-section--inset_image_hero .native-section-image img,
.atgas-studio-repaired.page-id-484 .native-section--inset_image_hero .native-section-image img {
  height: 700px;
  min-height: 700px;
}

.atgas-studio-repaired.page-id-479 .native-section--editorial_intro,
.atgas-studio-repaired.page-id-484 .native-section--editorial_intro {
  min-height: 470px;
  padding-right: 15vw !important;
  padding-left: 15vw !important;
  justify-content: center;
}

.atgas-studio-repaired.page-id-479 .native-section--editorial_split,
.atgas-studio-repaired.page-id-484 .native-section--editorial_split {
  min-height: 700px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: stretch;
}

.atgas-studio-repaired.page-id-479 .native-section--editorial_split .native-split-copy,
.atgas-studio-repaired.page-id-484 .native-section--editorial_split .native-split-copy {
  justify-content: center;
  padding: 70px 0;
}

.atgas-studio-repaired.page-id-479 .native-section--editorial_split .native-section-image img,
.atgas-studio-repaired.page-id-484 .native-section--editorial_split .native-section-image img {
  min-height: 700px;
}

.atgas-studio-repaired .native-section--numbered_image_cards,
.atgas-studio-repaired .native-section--numbered_text_cards,
.atgas-studio-repaired .native-section--image_row {
  background: var(--atgas-studio-pale) !important;
}

.atgas-studio-repaired .native-card-grid {
  gap: clamp(18px, 2vw, 32px) !important;
}

.atgas-studio-repaired .native-card {
  gap: 12px !important;
  padding-bottom: 22px !important;
}

.atgas-studio-repaired .native-card-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.atgas-studio-repaired .native-card-title,
.atgas-studio-repaired .native-card-copy,
.atgas-studio-repaired .native-card-quote,
.atgas-studio-repaired .native-card-number,
.atgas-studio-repaired .native-card-link {
  margin-right: 18px;
  margin-left: 18px;
}

.atgas-studio-repaired .native-card-number .elementor-heading-title {
  color: var(--atgas-studio-yellow) !important;
  font-size: 17px !important;
}

.atgas-studio-repaired .native-section--numbered_process {
  min-height: 710px;
}

.atgas-studio-repaired .native-section--numbered_process .native-card {
  background: transparent;
}

.atgas-studio-repaired .native-section--image_overlay {
  min-height: 610px;
  padding: 0 !important;
}

.atgas-studio-repaired .native-section--image_overlay .native-section-image img {
  height: 610px;
  min-height: 610px;
}

.atgas-studio-repaired .native-section--image_overlay .native-section-title {
  max-width: 640px;
  margin-bottom: 55px !important;
}

.atgas-studio-repaired .native-section--our_work_heading {
  min-height: 360px;
  justify-content: center;
}

.atgas-studio-repaired .native-section--numbered_project_gallery {
  padding-top: 20px !important;
}

.atgas-studio-repaired .native-card-grid--numbered_project_gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.atgas-studio-repaired .native-section--image_row {
  min-height: 600px;
}

/* Services: use the reference site's centred title and quiet card treatment. */
.atgas-studio-repaired .services-native-intro {
  min-height: 440px;
  justify-content: center;
  padding: 80px 15vw !important;
  text-align: center;
}

.atgas-studio-repaired .services-native-intro .elementor-heading-title {
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(35px, 2.76vw, 46.5px) !important;
  line-height: 1.305 !important;
}

.atgas-studio-repaired .services-native-intro .elementor-widget-text-editor {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(18px, 1.42vw, 24px) !important;
  line-height: 1.25 !important;
}

.atgas-studio-repaired .services-native-grid {
  padding: clamp(80px, 7vw, 118px) var(--gutter) !important;
  background: var(--atgas-studio-pale) !important;
}

.atgas-studio-repaired .services-native-grid .elementor-heading-title {
  font-size: clamp(19px, 1.45vw, 24px) !important;
  line-height: 1.15 !important;
}

.atgas-studio-repaired .services-native-grid img {
  border-radius: 0 !important;
}

.atgas-studio-repaired .services-native-grid .service-card-description {
  margin: 0 18px 24px;
  color: var(--atgas-studio-ink) !important;
  font-family: var(--atgas-font-body) !important;
  font-size: clamp(15px, 1vw, 17px) !important;
  font-weight: 300 !important;
  line-height: 1.35 !important;
}

.atgas-studio-repaired .services-native-grid .service-card-description p {
  margin: 0;
}

/* Contact form: the reference uses a modest title and one open, horizontal canvas. */
.atgas-studio-repaired .contact-native-layout {
  min-height: 820px;
  padding: clamp(85px, 8vw, 135px) var(--gutter) !important;
  align-items: start;
}

.atgas-studio-repaired .contact-native-layout .elementor-heading-title {
  font-size: clamp(35px, 2.76vw, 46.5px) !important;
  line-height: 1.305 !important;
}

.atgas-studio-repaired .contact-native-layout input,
.atgas-studio-repaired .contact-native-layout textarea,
.atgas-studio-repaired .contact-native-layout select {
  border: 1px solid var(--atgas-studio-ink) !important;
  border-radius: 0 !important;
  background: #f7f7f7 !important;
  box-shadow: none !important;
}

.atgas-studio-repaired .contact-form-status a {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
}

/* Legal pages keep the same readable column but no oversized title. */
.atgas-studio-repaired .native-section--legal {
  padding-top: 120px !important;
}

.atgas-studio-repaired .native-section--legal > * {
  width: min(960px, 100%);
}

/* Footer proportions and type match the clean Studio Dash finish. */
.atgas-studio-repaired .site-footer {
  min-height: 360px;
  height: auto;
}

.atgas-studio-repaired .footer-email,
.atgas-studio-repaired .footer-phone {
  font-family: var(--atgas-font-display) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

/* Keep the footer text links, but remove the duplicate email and phone icons. */
.atgas-studio-repaired .site-footer a[aria-label^="Email All Tools"],
.atgas-studio-repaired .site-footer a[aria-label^="Call All Tools"] {
  display: none !important;
}

/* Fallback for a theme build that prints About outside wp_nav_menu(). */
.atgas-studio-repaired .site-header a[href*="/about-us"] {
  display: none !important;
}

@media (max-width: 980px) {
  .atgas-studio-repaired .native-section-title .elementor-heading-title,
  .atgas-studio-repaired .services-native-intro .elementor-heading-title,
  .atgas-studio-repaired .contact-native-layout .elementor-heading-title {
    font-size: clamp(34px, 5.3vw, 46px) !important;
  }

  .atgas-studio-repaired.home .native-section--content_intro,
  .atgas-studio-repaired.page-id-479 .native-section--editorial_intro,
  .atgas-studio-repaired.page-id-484 .native-section--editorial_intro {
    padding-right: 8vw !important;
    padding-left: 8vw !important;
  }

  .atgas-studio-repaired.home .native-section--editorial_split,
  .atgas-studio-repaired.page-id-479 .native-section--editorial_split,
  .atgas-studio-repaired.page-id-484 .native-section--editorial_split {
    grid-template-columns: 1fr;
  }

  .atgas-studio-repaired.home .native-section--editorial_split .native-section-image img,
  .atgas-studio-repaired.page-id-479 .native-section--editorial_split .native-section-image img,
  .atgas-studio-repaired.page-id-484 .native-section--editorial_split .native-section-image img {
    min-height: 480px;
  }

  .atgas-studio-repaired .native-card-grid--numbered_project_gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.atgas-studio-repaired {
    font-size: 16px;
  }

  .atgas-studio-repaired .native-section {
    padding-top: 62px !important;
    padding-bottom: 62px !important;
  }

  .atgas-studio-repaired.home .native-section--image_hero,
  .atgas-studio-repaired.home .native-section--image_hero .native-section-image img {
    min-height: 570px !important;
    height: 570px !important;
  }

  .atgas-studio-repaired.home .native-section--image_hero .native-section-title {
    margin-bottom: 178px !important;
  }

  .atgas-studio-repaired.home .native-section--image_hero .native-section-title .elementor-heading-title {
    font-size: clamp(42px, 12.7vw, 62px) !important;
    line-height: 1.05 !important;
  }

  .atgas-studio-repaired.home .native-section--image_hero .native-section-subtitle,
  .atgas-studio-repaired.home .native-section--image_hero .native-section-subtitle p {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.15 !important;
  }

  .atgas-studio-repaired.home .native-section--content_intro,
  .atgas-studio-repaired.page-id-479 .native-section--editorial_intro,
  .atgas-studio-repaired.page-id-484 .native-section--editorial_intro,
  .atgas-studio-repaired .services-native-intro {
    min-height: 0;
    padding-right: 7vw !important;
    padding-left: 7vw !important;
  }

  .atgas-studio-repaired.home .native-section--testimonials {
    padding-right: 7vw !important;
    padding-left: 7vw !important;
  }

  .atgas-studio-repaired.home .native-card-grid--testimonials,
  .atgas-studio-repaired .native-card-grid--testimonials {
    grid-template-columns: 1fr;
  }

  .atgas-studio-repaired.home .native-card-grid--numbered_project_gallery,
  .atgas-studio-repaired.page-id-479 .native-card-grid--numbered_project_gallery,
  .atgas-studio-repaired.page-id-484 .native-card-grid--numbered_project_gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .atgas-studio-repaired.home .native-card--numbered_project_gallery,
  .atgas-studio-repaired.page-id-479 .native-card--numbered_project_gallery,
  .atgas-studio-repaired.page-id-484 .native-card--numbered_project_gallery {
    min-width: 0;
  }

  .atgas-studio-repaired.page-id-479 .native-section--inset_image_hero,
  .atgas-studio-repaired.page-id-484 .native-section--inset_image_hero {
    width: 100% !important;
    min-height: 500px;
    margin: 0;
  }

  .atgas-studio-repaired.page-id-479 .native-section--inset_image_hero .native-section-image img,
  .atgas-studio-repaired.page-id-484 .native-section--inset_image_hero .native-section-image img {
    height: 500px;
    min-height: 500px;
  }

  .atgas-studio-repaired .native-section--image_overlay,
  .atgas-studio-repaired .native-section--image_overlay .native-section-image img {
    min-height: 500px;
    height: 500px;
  }

  .atgas-studio-repaired .contact-native-layout {
    min-height: 0;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }

  .atgas-studio-repaired .site-footer {
    min-height: 0;
  }
}
