/*
Theme Name: Tarlai Consulting
Theme URI: https://tarlai.com.au/
Author: Tayyab Azam — 5thGarage
Description: Tarlai Consulting — Timber 2 + ACF theme.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: tarlai
*/

/* ==========================================================================
	Filename: style.css
	Version: 1.0.0 (2026-09)
	Website: tarlai.com.au
	Author: Tayyab Azam
	Description: Handles the site global layout. Plain CSS — no build step.

	[Content]
	Tokens (:root)
	Base
	Structure
	Header / Mobile menu
	Billboard
	Content (flexible layouts, stat band)
	Footer
	Gravity Forms
	Animation

	[Breakpoints] (media queries can't use variables — search for these values)
	xs 479px · sm 576px · lg 959px / 960px

	Icons: Font Awesome loads separately from assets/fontawesome/ (see partial/head.twig)
   ========================================================================== */

/* ==========================================================================
	Tokens
   ========================================================================== */
:root {
  /* Brand */
  --color-navy: #1b3a6b;
  --color-navy-dark: #0f2447;
  --color-orange: #f28c28;
  --color-orange-dark: #d97414;

  /* Text + surfaces */
  --color-text: #333a45;
  --color-muted: #6b7380;
  --color-white: #fff;
  --color-black: #000;
  --color-grey-bg: #f4f7fb;
  --color-border: #cfd6e0;
  --color-icon-grey: #bdbdbd;
  --color-divider: #eee;

  /* Roles */
  --color-primary: var(--color-navy-dark); /* headings */
  --color-secondary: var(--color-navy); /* links */

  /* Inner page banner gradient (left → right) */
  --color-banner-blue: #3162a5;
  --color-banner-orange: #c46028;

  /* "Connecting people since" band (top → bottom) */
  --color-band-top: #2d8bd9;
  --color-band-bottom: #2bc2a9;

  /* Type */
  --font-heading: "Poppins", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --font-icons: "Font Awesome 6 Pro";

  /* Layout */
  --header-height: 80px;
  --container-max: 1320px;
  --container-pad: 40px;
  --section-pad: 100px;
  --radius: 8px;

  /* Shadows */
  --shadow-header: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-header-sticky: 0 6px 20px rgba(15, 36, 71, 0.1);
  --shadow-card: 0 10px 30px rgba(15, 36, 71, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
}

@media only screen and (max-width: 959px) {
  :root {
    --container-max: 992px;
    --container-pad: 30px;
    --section-pad: 70px;
  }
}
@media only screen and (max-width: 576px) {
  :root {
    --container-pad: 20px;
  }
}
@media only screen and (max-width: 479px) {
  :root {
    --container-pad: 16px;
  }
}

@charset "UTF-8";
/* ==========================================================================
	Base
   ========================================================================== */
/* ==========================================================================
	Base
   ========================================================================== */
html,
button,
input,
select,
textarea {
  color: var(--color-text);
}

html,
body {
  background: var(--color-white);
  width: 100%;
  margin: 0;
  overflow-x: clip;
}
html.overflow-hidden,
body.overflow-hidden {
  overflow: hidden;
}

html {
  position: relative;
  font-size: 62.5%;
  line-height: 1.618;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font: 400 16px var(--font-body);
  line-height: 27px;
  color: var(--color-text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.25s;
}
a:hover {
  color: var(--color-orange);
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/*
[Typographic scale]
13,15,16,18,21,24,28,32,40,48,64
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1.25;
  word-wrap: normal;
  margin: 0 0 0.6em;
}

h1,
.h1 {
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
}

h1.page-title {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
}
h1.page-title > span {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
h1.page-title > span > span {
  display: inline-block;
}

.js h1.page-title.split > span > span {
  transform: translateY(105%);
  opacity: 0;
}

.js .animated h1.page-title.split > span > span {
  animation: reveal 0.6s var(--ease) forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h2,
.h2 {
  font-weight: 700;
  font-size: clamp(29px, 3vw, 40px);
}

h3,
.h3 {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 0.4em;
}

h4,
.h4 {
  font-weight: 700;
  font-size: 17px;
}

.lead {
  font: 600 18px var(--font-body);
  line-height: 30px;
  color: var(--color-primary);
}

.eyebrow {
  display: inline-block;
  font: 600 13px var(--font-heading);
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-orange);
  margin-bottom: 10px;
}

/* Buttons */
.btn,
a.btn,
button.btn {
  display: inline-block;
  padding: 14px 34px;
  font: 600 15px var(--font-heading);
  line-height: 20px;
  letter-spacing: 0.5px;
  border: 0;
  border-radius: 50px;
  background: var(--color-orange);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.btn:hover, .btn:focus-visible,
a.btn:hover,
a.btn:focus-visible,
button.btn:hover,
button.btn:focus-visible {
  background: var(--color-orange-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn.outline,
a.btn.outline,
button.btn.outline {
  background: transparent;
  color: var(--color-secondary);
  box-shadow: inset 0 0 0 2px currentColor;
}
.btn.outline:hover,
a.btn.outline:hover,
button.btn.outline:hover {
  color: var(--color-orange);
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Back to top */
#to-top {
  position: fixed;
  bottom: 30px;
  right: 15px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  cursor: pointer;
  transform: translateX(80px);
  z-index: 20;
  transition: transform ease-in-out 0.6s;
}
#to-top i {
  font-size: 16px;
}
#to-top.show {
  transform: translateX(0);
}

/* ==========================================================================
	Structure
	 ========================================================================== */
#wrapper {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto; /* Header, Main (expands), Footer */
}
#wrapper .container-fluid {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  margin: auto;
}
#wrapper .container-fluid.no-relative {
  position: static;
}

#main {
  position: relative;
}

/* Every flexible layout is a full-width <section class="layout"> */
.layout {
  padding: var(--section-pad) 0;
}
.layout.bg-grey {
  background: var(--color-grey-bg);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.image-left .media {
  order: -1;
}
@media only screen and (max-width: 959px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.media img {
  width: 100%;
  border-radius: var(--radius);
}

/* ==========================================================================
	Accessibility
	 ========================================================================== */
.accessibility a {
  position: absolute;
  font: 600 16px var(--font-body);
  line-height: 24px;
  background: var(--color-orange);
  color: var(--color-black);
  margin: 10px;
  padding: 12px 18px;
  left: -1000px;
  z-index: 2000;
}
.accessibility a:focus {
  left: 0;
  top: 0;
  outline: 3px solid var(--color-navy);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

/* ==========================================================================
	Header
   ========================================================================== */
#global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-header);
  transition: box-shadow 0.3s;
}
#global-header.sticky {
  box-shadow: var(--shadow-header-sticky);
}
#global-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
#global-header .logo {
  display: flex;
  align-items: center;
  height: 48px;
}
#global-header .logo svg,
#global-header .logo img {
  height: 100%;
  width: auto;
}
#global-header .logo-text {
  font: 700 22px var(--font-heading);
  line-height: 26px;
  color: var(--color-primary);
}
#global-header .header-middle {
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 959px) {
  #global-header .header-middle {
    display: none;
  }
}
#global-header ul.header-nav {
  display: flex;
  gap: 32px;
}
#global-header ul.header-nav > li > a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font: 500 15px var(--font-heading);
  line-height: 22px;
  color: var(--color-primary);
}
#global-header ul.header-nav > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width 0.25s;
}
#global-header ul.header-nav > li > a:hover::after,
#global-header ul.header-nav > li.current-menu-item > a::after,
#global-header ul.header-nav > li.current-menu-ancestor > a::after,
#global-header ul.header-nav > li.current_page_item > a::after {
  width: 100%;
}
#global-header ul.header-nav > li {
  position: relative;
}
#global-header ul.header-nav > li:hover .sub-menu-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#global-header ul.header-nav .sub-menu-wrapper {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 220px;
  padding: 10px 0;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
}
#global-header ul.header-nav .sub-menu-wrapper a {
  display: block;
  padding: 8px 20px;
  font: 500 14px var(--font-heading);
  line-height: 20px;
  color: var(--color-primary);
}

/* ==========================================================================
  Mobile Menu
   ========================================================================== */
.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 10px;
  color: var(--color-primary);
  cursor: pointer;
}
@media only screen and (max-width: 959px) {
  .menu-toggle {
    display: flex;
  }
}
.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: 0;
  height: calc(100dvh - var(--header-height));
  width: 100%;
  background: var(--color-white);
  z-index: 999;
  overflow: hidden;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
@media only screen and (min-width: 960px) {
  .mobile-menu {
    display: none;
  }
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.3s ease;
}
.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--color-divider);
  font: 600 20px var(--font-heading);
  line-height: 24px;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
}
.mobile-menu .current-menu-item > a {
  color: var(--color-orange);
}
.mobile-menu .menu-panel {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  background: var(--color-white);
  transition: left 0.3s ease;
}
.mobile-menu .menu-panel.is-active {
  left: 0;
}
.mobile-menu .back-button {
  color: var(--color-orange);
  padding-left: 24px;
  position: relative;
}
.mobile-menu .back-button::before {
  content: "\f053";
  font-family: var(--font-icons);
  font-weight: 900;
  position: absolute;
  left: 0;
}
.mobile-menu button.submenu-toggle {
  position: relative;
}
.mobile-menu button.submenu-toggle::after {
  content: "\f054";
  font-family: var(--font-icons);
  font-weight: 900;
  position: absolute;
  right: 10px;
}

/* ==========================================================================
	Billboard — video hero (home) + gradient banner (inner pages)
   ========================================================================== */
.billboard.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-navy-dark);
}
.billboard.hero .hero-video,
.billboard.hero .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}
.billboard.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--color-navy-dark) 85%, transparent) 0%, color-mix(in srgb, var(--color-navy-dark) 45%, transparent) 100%);
}
.billboard.hero .container-fluid {
  z-index: 1;
}
.billboard.hero .hero-content {
  max-width: 720px;
  padding: 60px 0;
}
.billboard.hero h1 {
  color: var(--color-white);
  margin-bottom: 0.4em;
}
.billboard.hero .subheading {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 32px;
}
@media only screen and (max-width: 576px) {
  .billboard.hero .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  .billboard.hero h1.page-title {
    justify-content: center;
  }
  .billboard.hero .ctas {
    justify-content: center;
  }
}

/* Inner page banner.
   Photo is set per page with style="--banner-img: url(...)" from the Background image field. */
.billboard.page-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 29vw, 580px);
  color: var(--color-white);
  background-color: var(--color-banner-blue);
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--color-banner-blue) 96%, transparent) 0%, color-mix(in srgb, var(--color-banner-blue) 85%, transparent) 30%, color-mix(in srgb, var(--color-banner-orange) 80%, transparent) 70%, color-mix(in srgb, var(--color-banner-orange) 92%, transparent) 100%), var(--banner-img, none);
  background-size: cover;
  background-position: center;
}
@media only screen and (max-width: 959px) {
  .billboard.page-banner {
    min-height: 300px;
  }
}
.billboard.page-banner .page-banner-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(48px, 5.5vw, 100px);
  padding-bottom: calc(min(12.5vw, 260px) + 32px);
}
@media only screen and (max-width: 959px) {
  .billboard.page-banner .page-banner-content {
    padding-bottom: calc(min(13vw, 90px) + 28px);
  }
}
.billboard.page-banner .page-banner-eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.billboard.page-banner h1 {
  color: var(--color-white);
  font-size: clamp(29px, 2.8vw, 48px);
  font-weight: 600;
  max-width: 22ch;
  margin: 0;
}
.billboard.page-banner .subheading {
  margin: 12px 0 0;
  max-width: 50ch;
  opacity: 0.9;
}

/* Giant word that bleeds off the bottom edge */
.page-banner-word {
  position: absolute;
  z-index: 1;
  left: -0.03em;
  bottom: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(96px, 21vw, 416px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--color-white);
  white-space: nowrap;
  transform: translateY(18%);
  pointer-events: none;
  user-select: none;
}
@media only screen and (max-width: 959px) {
  .page-banner-word {
    font-size: clamp(72px, 22vw, 144px);
  }
}

/* ==========================================================================
	Content — flexible layouts
   ========================================================================== */
.description > :last-child,
.article-body > :last-child {
  margin-bottom: 0;
}

/* ---------- image_features_layout ---------- */
.image_features_layout .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 28px;
  margin-top: 24px;
}
@media only screen and (max-width: 576px) {
  .image_features_layout .feature-grid {
    grid-template-columns: 1fr;
  }
}
.image_features_layout .feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.image_features_layout .feature h3 {
  margin-bottom: 6px;
}
.image_features_layout .feature p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}
.image_features_layout .feature-icon {
  flex: 0 0 56px;
  font-size: 44px;
  line-height: 1;
  text-align: center;
  color: var(--color-icon-grey);
  margin-top: 2px;
}

/* ---------- list_image_layout ---------- */
.tick-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 20px 0 36px;
}
@media only screen and (max-width: 576px) {
  .tick-list {
    grid-template-columns: 1fr;
  }
}
.tick-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: var(--color-primary);
}
.tick-list li::before {
  content: "\f00c";
  font-family: var(--font-icons);
  font-weight: 900;
  font-size: 9px;
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
}

@media only screen and (max-width: 959px) {
  .list_image_layout .media {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ---------- profile_layout ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
@media only screen and (max-width: 959px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.profile-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
@media only screen and (max-width: 959px) {
  .profile-card {
    position: static;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
}
.profile-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.profile-card-body {
  padding: 22px 24px 26px;
  text-align: center;
}
.profile-card-body h4 {
  margin-bottom: 2px;
}

.profile-role {
  display: block;
  color: var(--color-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

/* Pill link used for LinkedIn (profile card + footer) */
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--color-white) 30%, transparent);
  border-radius: 50px;
  font-size: 14px;
  line-height: 1.2;
}
.social.social-dark {
  color: var(--color-secondary);
  border-color: color-mix(in srgb, var(--color-navy) 25%, transparent);
}
.social.social-dark:hover {
  color: var(--color-orange);
  border-color: var(--color-orange);
}

/* ---------- form_layout ---------- */
.form-layout-grid {
  align-items: start;
}
.form-layout-grid .sticky-media {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
@media only screen and (max-width: 959px) {
  .form-layout-grid .sticky-media {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }
}

.contact-details {
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.contact-details li {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.contact-details span {
  min-width: 60px;
  font: 600 13px var(--font-heading);
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-orange);
}
.contact-details a {
  font-weight: 600;
}

.form-wrap {
  margin-top: 32px;
}

/* ---------- Editor content fallback (plain pages) ---------- */
.editor-content .content {
  max-width: 820px;
}

/* ==========================================================================
	Stat band — "Connecting people since 2016" (sits above the footer)
   ========================================================================== */
.stat-band {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  background: linear-gradient(180deg, var(--color-band-top) 0%, var(--color-band-bottom) 100%);
  clip-path: inset(-100vw 0 0 0);
}
.stat-band .stat-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  min-height: clamp(200px, 22.7vw, 400px);
}
@media only screen and (max-width: 576px) {
  .stat-band .stat-band-inner {
    min-height: 170px;
    gap: 20px;
  }
}
.stat-band .stat-band-text {
  justify-self: end;
}
.stat-band h2 {
  color: var(--color-white);
  margin: 0;
  text-align: right;
  font-size: clamp(21px, 3.3vw, 51px);
  max-width: 11em;
}
@media only screen and (max-width: 576px) {
  .stat-band h2 {
    font-size: 21px;
  }
}
.stat-band .stat {
  position: relative;
  align-self: stretch;
}
.stat-band .stat-number {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(12%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(144px, 37vw, 608px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--color-white);
  pointer-events: none;
  user-select: none;
}
@media only screen and (max-width: 576px) {
  .stat-band .stat-number {
    font-size: 46vw;
  }
}

/* Section above the band goes grey so the white number shows where it overlaps */
.layout-blocks:has(+ .stat-band) > .layout:last-child,
#main > .layout:has(+ .stat-band),
#main > .billboard:has(+ .stat-band) {
  background: var(--color-grey-bg);
}

/* ==========================================================================
	Footer
   ========================================================================== */
#global-footer {
  background: var(--color-navy-dark);
  color: color-mix(in srgb, var(--color-white) 80%, transparent);
}
#global-footer a {
  color: color-mix(in srgb, var(--color-white) 85%, transparent);
}
#global-footer a:hover {
  color: var(--color-orange);
}
#global-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
}
@media only screen and (max-width: 576px) {
  #global-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}
#global-footer .logo {
  display: inline-flex;
  height: 56px;
  margin-bottom: 18px;
}
#global-footer .logo svg,
#global-footer .logo img {
  height: 100%;
  width: auto;
}
#global-footer .logo-text {
  font: 700 22px var(--font-heading);
  line-height: 26px;
  color: var(--color-white);
}
#global-footer .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#global-footer h4 {
  color: var(--color-white);
  font-size: 18px;
}
#global-footer .footer-contact li {
  margin-bottom: 6px;
}
#global-footer .footer-menu {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 14px;
}
#global-footer .footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--color-white) 10%, transparent);
  padding: 18px 0;
  font-size: 14px;
  text-align: center;
}
#global-footer .footer-bottom p {
  margin: 0;
}

/** Gravity Forms */
#main .gform_wrapper {
  --gf-ctrl-bg-color: var(--color-white);
  --gf-ctrl-radius: 6px;
  --gf-ctrl-shadow: none;
  --gf-ctrl-border-color: var(--color-border);
  --gf-ctrl-border-width: 1px;
  --gf-ctrl-border-style: solid;
  --gf-ctrl-size: 48px;
  --gf-ctrl-color: var(--color-primary);
  --gf-ctrl-border-color-focus: var(--color-navy);
  --gf-ctrl-outline-color-focus: color-mix(in srgb, var(--color-navy) 25%, transparent);
  --gf-ctrl-outline-width-focus: 3px;
  --gf-ctrl-label-color-primary: var(--color-primary);
  --gf-color-primary: var(--color-orange);
}
#main .gform_wrapper form {
  margin-bottom: 0;
}
#main .gform_wrapper .gform_fields {
  grid-row-gap: 20px;
}
#main .gform_wrapper label,
#main .gform_wrapper legend {
  font: 600 15px var(--font-heading);
  line-height: 22px;
  color: var(--color-primary);
}
#main .gform_wrapper input[type=text],
#main .gform_wrapper input[type=email],
#main .gform_wrapper input[type=tel],
#main .gform_wrapper input[type=url],
#main .gform_wrapper textarea,
#main .gform_wrapper select {
  font: 400 16px var(--font-body);
  line-height: 23px;
  padding: 12px 16px;
}
#main .gform_wrapper input[type=text]::placeholder,
#main .gform_wrapper input[type=email]::placeholder,
#main .gform_wrapper input[type=tel]::placeholder,
#main .gform_wrapper input[type=url]::placeholder,
#main .gform_wrapper textarea::placeholder,
#main .gform_wrapper select::placeholder {
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
#main .gform_wrapper .ginput_container_select {
  position: relative;
}
#main .gform_wrapper .ginput_container_select select {
  appearance: none;
  padding-right: 44px;
}
#main .gform_wrapper .ginput_container_select::after {
  content: "\f078";
  font-family: var(--font-icons);
  font-weight: 900;
  font-size: 12px;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-primary);
}
#main .gform_wrapper .ginput_container_fileupload input[type=file] {
  font-size: 15px;
}
#main .gform_wrapper .gfield_checkbox label,
#main .gform_wrapper .ginput_container_consent label {
  display: inline;
  font-weight: 400;
  font-family: var(--font-body);
}
#main .gform_wrapper .gform_footer,
#main .gform_wrapper .gform_page_footer {
  margin-top: 24px;
  padding: 0;
}
#main .gform_wrapper .gfield_validation_message,
#main .gform_wrapper .validation_message {
  font-size: 14px;
}

.gform_required_legend {
  display: none;
}

.gform_confirmation_message {
  font: 600 21px var(--font-heading);
  line-height: 32px;
  color: var(--color-primary);
  padding: 40px 0;
}

/* ==========================================================================
	Animation — scroll reveal (driven by app.js)
	.animate-this   : direct children fade/rise in one after another
	.image-fade-in  : image fades in from a slight zoom
	.animate-marker : gets .animated when in view (billboard heading, big words, "16")
	Hidden states only apply when JS is running (.js on <html>).
   ========================================================================== */
.js .animate-this > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .animate-this.animated > * {
  opacity: 1;
  transform: translateY(0);
}
.js .image-fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .image-fade-in.animated {
  opacity: 1;
  transform: translateY(0);
}
.js .page-banner-content .page-banner-eyebrow,
.js .page-banner-content .subheading {
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.8s var(--ease) 0.1s, translate 0.8s var(--ease) 0.1s;
}
.js .page-banner-content.animated .page-banner-eyebrow, .js .page-banner-content.animated .subheading {
  opacity: 1;
  translate: none;
}
.js .page-banner-word,
.js .stat-band .stat {
  opacity: 0;
  translate: 0 40px;
  transition: opacity 1.1s var(--ease), translate 1.1s var(--ease);
}
.js .page-banner-word.animated,
.js .stat-band .stat.animated {
  opacity: 1;
  translate: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .animate-this > *,
  .js .image-fade-in,
  .js .page-banner-word,
  .js .stat-band .stat,
  .js .page-banner-content .page-banner-eyebrow,
  .js .page-banner-content .subheading,
  .js h1.page-title.split > span > span {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
    animation: none !important;
    transition: none !important;
  }
  .billboard.hero .hero-video {
    display: none;
  }
}
