h3 a {
    text-decoration: none;
}

.icons.ico-name input,
.icons.ico-email input,
.icons.ico-phone input,
.icons.ico-other input{
    background-image: none !important;
}

.icons.ico-service select,
.icons.ico-comment textarea{
    padding-left: 45px !important;
}

.icons.ico-name,
.icons.ico-email,
.icons.ico-phone,
.icons.ico-service,
.icons.ico-other,
.icons.ico-comment{
    position: relative;
}

.icons.ico-name::after,
.icons.ico-email::after,
.icons.ico-phone::after,
.icons.ico-service::after,
.icons.ico-other::after,
.icons.ico-comment::after{
    display: block;
    content: "\f007";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 17px;
    font-family: "FontAwesome";
    color: #a3a3a3;
}

.icons.ico-email::after{
    content: "\f0e0";
}

.icons.ico-phone::after{
    content: "\f095";
}

.icons.ico-service::after{
    content: "\f03a";
}

.icons.ico-other::after{
    content: "\f067";
}

.icons.ico-comment::after{
    content: "\f27a";
    top: 18px;
}

.language-translator {
    display: none;
}

.panel-onthispage {
    background-color: #f5f5f5;
}

.panel-onthispage .panel-body {
    padding: 25px;
}

.panel-onthispage span.h3 {
    font-size: 22px;
}

.panel-onthispage ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

.panel-onthispage li {
    list-style-type: none !important;
    line-height: 36px;
}

.panel-onthispage li:before {
    content: '\f058';
    font-family: 'fontAwesome';
    margin-right: 10px;
    color: #0ec9cc;
}

.posts-box .panel-heading {
    background-color: #000;
    color: #fff;
}

.posts-box .panel-left {
    margin-bottom: 20px;
}

.posts-box .panel-left h4 a {
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
}

.posts-box .panel-right li:before {
    content: '\f058';
    font-family: 'fontAwesome';
    margin-right: 10px;
    color: #0ec9cc;
}

.posts-box .panel-right li {
    margin-bottom: 30px;
}

.posts-box .panel-right li h4 {
    display: inline;
}

.posts-box .panel-right li h4 a {
    text-decoration: none;
    font-weight: 600;
}

blockquote {
    margin: 1em 0;
    border-left: 7px solid #000;
    background: #f3f3f3;
    border-bottom: 0;
    padding: 1.7em 3.5em 1.5em;
    font-size: 1.2em;
    font-weight: 300;
    position: relative;
}

blockquote::before {
    content: "“";
    font-size: 4.5em;
    line-height: 0;
    top: 55px;
    left: 10px;
    color: #000;
    position: absolute;
}

.flexbase {
    display: flex;
    row-gap: 1rem;
    column-gap: 1rem;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.flexbase.neworder {
    row-gap: 4rem;
    column-gap: 4rem;
    align-items: stretch;
    justify-content: start;
}

.flexbase.neworder>.box-content {
    width: calc(33.3% - 3rem);
    background: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 0 3px #999;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: start;
    align-items: stretch;
    transition: all 0.25s ease-out;
}

.flexbase.neworder>.box-content .img {
    overflow: hidden;
}

.flexbase.neworder>.box-content .img img {
    object-fit: cover;
    width: 100%;
    min-height: 200px;
    height: auto;
    transition: all 0.25s ease-out;
}

.flexbase.neworder>.box-content .cont {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex: 1;
}

.flexbase.neworder>.box-content .cont h3 {
    font-size: 130%;
}

.entry-content .feature-small-contact-form {
    margin: 0;
    padding: 0 0 30px;
}

.home .feature-small-contact-form {
	margin: 0 auto !important;
	background: transparent !important;
}

/* topper searchbox */
.topper-searchbox-theme{
    display: block;
    width: 100%;
    background-color: #333;
    padding: 20px;
    position: relative;
    margin-top: -77px;
    transition: all 0.35s ease-out;
}

.topper-searchbox-theme.active{
    margin-top: 0px;
}

.topper-searchbox-theme > form{
    margin: 0 auto;
    display: flex;
    width: 100%;
    max-width: 700px;
    flex-direction: row;
    gap: 0px;
    justify-content: space-between;
    align-items: center;
}

.topper-searchbox-theme > form button{
    border: 0;
    padding: 4px 11px 3px;
}

.topper-searchbox-theme > form input[type=search],
.topper-searchbox-theme > form input[type=text],
.topper-searchbox-theme > form > div{
    width: 100%;
    display: block;
    line-height: normal !important;
}

.open-close-searchbox{
    cursor: pointer;
    display: block;
    margin-right: 3rem !important;
}

.open-close-searchbox i{
    color: #0ec9cc;
}

/* for header and sub-menu visibility */
header.site-header[data-wpr-lazyrender="1"]{
    content-visibility: inherit !important;
}

/* END - topper searchbox */

@media only screen and (min-width: 1025px) {
    .site-header.sticky{
        top: 0;
    }

    .site-header.sticky .open-close-searchbox{
        display: none;
    }

    /* topper searchbox */
    .topper-searchbox-theme{
        padding-left: 5%;
        padding-right: 5%;
    }
    /* END - topper searchbox */
}

@media only screen and (max-width: 1024px) {
	section.box-content {
		width: 45% !important;
	}
}

@media only screen and (max-width: 700px) {
	section.box-content {
		width: 100% !important;
	}
}


/* ---------- TOKENS ---------- */
:root{
  --aif-ink:        #1b1b1b;
  --aif-bone:       #f4f4f4;
  --aif-claret:     #86292a;

  --aif-ink-950:    #0f0f0f;
  --aif-ink-900:    #151515;

  --aif-white:      #ffffff;
  --aif-ink-850:    #1b1b1b;
  --aif-ink-800:    #232322;
  --aif-paper:      #ece7dd;
  --aif-paper-line: #d3cabb;
  --aif-tx-dark:    #1b1b1b;
  --aif-tx-mid:     #55524d;

  --aif-claret-lit: #a4383a;
  --aif-claret-hi:  #c04b4c;
  --aif-claret-ink: #34100f;

  --aif-tx-light:   #f0ede7;
  --aif-tx-light-2: #b6b0a6;
  --aif-tx-light-3: #8b857b;

  --aif-f-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --aif-f-body:    "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --aif-wrap: 1320px;
  --aif-gutter: clamp(20px, 5vw, 64px);
  --aif-rad: 2px;
  --aif-header-h: 78px;

  --aif-ease: cubic-bezier(.22,.61,.36,1);
  --aif-ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- BUTTONS ---------- */
.aifirst-btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:15px 28px; border:1px solid transparent; border-radius:var(--aif-rad);
  font-family:var(--aif-f-body); font-size:14px; font-weight:600; letter-spacing:.05em;
  line-height:1.2; text-transform:uppercase; text-decoration:none; cursor:pointer;
  transition:background .35s var(--aif-ease), color .35s var(--aif-ease),
             border-color .35s var(--aif-ease), transform .35s var(--aif-ease);
  overflow:hidden; isolation:isolate;
}
.aifirst-btn::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:var(--aif-claret-lit); transform:scaleX(0); transform-origin:left;
  transition:transform .45s var(--aif-ease-out);
}
.aifirst-btn:hover::after{ transform:scaleX(1); }
.aifirst-btn:active{ transform:translateY(1px); }

.aifirst-btn--primary{ background:var(--aif-claret); color:#fff; }
.aifirst-btn--primary:hover,
.aifirst-btn--primary:focus{ color:#fff; }

.aifirst-btn--outline{ background:transparent; color:var(--aif-tx-light); border-color:rgba(240,237,231,.3); }
.aifirst-btn--outline::after{ background:var(--aif-claret); }
.aifirst-btn--outline:hover,
.aifirst-btn--outline:focus{ color:#fff; border-color:var(--aif-claret); }

.aifirst-btn--ghost{ background:transparent; color:var(--aif-tx-light); border-color:rgba(240,237,231,.28); }
.aifirst-btn--ghost::after{ background:rgba(255,255,255,.09); }
.aifirst-btn--ghost:hover,
.aifirst-btn--ghost:focus{ color:var(--aif-tx-light); border-color:rgba(240,237,231,.6); }

.aifirst-btn--sm{ padding:11px 18px; font-size:12px; }
.aifirst-btn--lg{ padding:18px 34px; font-size:14px; }

/* ---------- UTILITY BAR ---------- */
.aifirst-utility{
  background:var(--aif-claret-ink); color:#e6d9d6;
  font-family:var(--aif-f-body); font-size:12.5px; letter-spacing:.06em;
}
.aifirst-utility__inner{
  max-width:var(--aif-wrap); margin-inline:auto; padding:9px var(--aif-gutter);
  display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap;
  text-transform:uppercase; font-weight:500; line-height:1.4;
}
.aifirst-utility__item{ display:inline-flex; align-items:center; gap:8px; }
.aifirst-utility__item--es{ color:#f0c9c6; }
.aifirst-utility__sep{ width:1px; height:11px; background:rgba(255,255,255,.22); }
.aifirst-dot{
  width:6px; height:6px; border-radius:50%; background:var(--aif-claret-hi);
  box-shadow:0 0 0 0 rgba(192,75,76,.6); animation:aifirstPulse 2.6s infinite;
}
@keyframes aifirstPulse{
  0%{ box-shadow:0 0 0 0 rgba(192,75,76,.55); }
  70%{ box-shadow:0 0 0 7px rgba(192,75,76,0); }
  100%{ box-shadow:0 0 0 0 rgba(192,75,76,0); }
}

/* ---------- HEADER ---------- */
.aifirst-header{
  position:sticky; top:0; z-index:100;
  background:rgba(21,21,21,.92);
  backdrop-filter:saturate(140%) blur(12px);
  -webkit-backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
  font-family:var(--aif-f-body);
  transition:background .4s var(--aif-ease), border-color .4s var(--aif-ease);
}
.aifirst-header.is-stuck{
  background:rgba(15,15,15,.97);
  border-bottom-color:rgba(255,255,255,.13);
}
.aifirst-header__inner{
  max-width:var(--aif-wrap); margin-inline:auto; padding:0 var(--aif-gutter);
  height:var(--aif-header-h); display:flex; align-items:center; gap:28px;
}

.aifirst-logo{ flex:0 0 auto; display:block; line-height:0; }
.aifirst-logo__img{ width:190px; height:auto; transition:width .35s var(--aif-ease); }
.aifirst-header.is-stuck .aifirst-logo__img{ width:165px; }

.aifirst-nav{ display:flex; align-items:center; gap:26px; margin-left:auto; }
.aifirst-nav__list{
  display:flex; align-items:center; gap:26px;
  list-style:none; margin:0; padding:0;
}
.aifirst-nav__list li{ list-style:none; margin:0; padding:0; position:relative; }
.aifirst-nav__list a{
  position:relative; display:inline-block;
  font-size:13px; font-weight:500; letter-spacing:.045em;
  text-transform:uppercase; text-decoration:none; color:var(--aif-tx-light-2);
  padding:6px 0; transition:color .3s var(--aif-ease); white-space:nowrap;
}
.aifirst-nav__list a::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:100%;
  background:var(--aif-claret-hi); transform:scaleX(0); transform-origin:right;
  transition:transform .4s var(--aif-ease-out);
}
.aifirst-nav__list a:hover{ color:#fff; }
.aifirst-nav__list a:hover::after{ transform:scaleX(1); transform-origin:left; }
.aifirst-nav__list .current-menu-item > a,
.aifirst-nav__list .current_page_item > a{ color:#fff; }
.aifirst-nav__list .current-menu-item > a::after,
.aifirst-nav__list .current_page_item > a::after{ transform:scaleX(1); }

.aifirst-nav__list .sub-menu{
  display:none; position:absolute; top:100%; left:0; z-index:20;
  min-width:220px; padding:10px 0; margin:0; list-style:none;
  background:var(--aif-ink-950); border:1px solid rgba(255,255,255,.1);
  box-shadow:0 24px 48px -18px rgba(0,0,0,.75);
}
.aifirst-nav__list li:hover > .sub-menu,
.aifirst-nav__list li:focus-within > .sub-menu{ display:block; }
.aifirst-nav__list .sub-menu a{
  display:block; padding:10px 18px; text-transform:none;
  font-size:13.5px; letter-spacing:.01em; white-space:normal;
}
.aifirst-nav__list .sub-menu a::after{ display:none; }
.aifirst-nav__list .sub-menu a:hover{ background:rgba(255,255,255,.05); }

.aifirst-nav__cta{ display:none; }

.aifirst-header__actions{ display:flex; align-items:center; gap:16px; flex:0 0 auto; }
.aifirst-phone{
  display:inline-flex; align-items:center; gap:10px; text-decoration:none;
  color:var(--aif-tx-light); padding-left:20px;
  border-left:1px solid rgba(255,255,255,.14);
  transition:color .3s var(--aif-ease);
}
.aifirst-phone:hover,
.aifirst-phone:focus{ color:#fff; }
.aifirst-phone svg{ color:var(--aif-claret-hi); flex:0 0 auto; transition:transform .4s var(--aif-ease); }
.aifirst-phone:hover svg{ transform:rotate(-14deg) scale(1.1); }
.aifirst-phone__label{ display:flex; flex-direction:column; line-height:1.15; }
.aifirst-phone__label em{
  font-style:normal; font-size:10px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--aif-tx-light-3);
}
.aifirst-phone__label strong{ font-size:15.5px; font-weight:600; letter-spacing:.01em; }

.aifirst-header__cta{ display:none; }

.aifirst-burger{
  display:none; width:42px; height:42px; background:none;
  border:1px solid rgba(255,255,255,.18); border-radius:var(--aif-rad);
  cursor:pointer; padding:0; position:relative;
}
.aifirst-burger span{
  position:absolute; left:11px; width:20px; height:1.5px; background:var(--aif-tx-light);
  transition:transform .35s var(--aif-ease), opacity .2s linear, width .35s var(--aif-ease);
}
.aifirst-burger span:nth-child(1){ top:14px; }
.aifirst-burger span:nth-child(2){ top:20px; width:14px; }
.aifirst-burger span:nth-child(3){ top:26px; }
.aifirst-burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.aifirst-burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.aifirst-burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ---------- FOOTER ---------- */
.aifirst-footer{
  background:var(--aif-ink-950); color:var(--aif-tx-light-2);
  font-family:var(--aif-f-body);
  padding:clamp(54px,6vw,78px) var(--aif-gutter) 34px;
}
.aifirst-footer__top{
  max-width:var(--aif-wrap); margin-inline:auto;
  display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);
  gap:clamp(30px,4vw,64px); padding-bottom:44px;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.aifirst-footer__logo{ display:block; line-height:0; }
.aifirst-footer__logo-img{ width:210px; height:auto; margin-bottom:20px; }
.aifirst-footer__brand p{
  font-size:14.5px; line-height:1.7; color:var(--aif-tx-light-3);
  max-width:40ch; margin-bottom:22px;
}
.aifirst-footer__col h4{
  font-family:var(--aif-f-body); font-size:11px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--aif-claret-hi); margin:0 0 18px; font-weight:600;
}
.aifirst-footer__col p{
  font-size:14.5px; line-height:1.65; color:var(--aif-tx-light-3); margin:0 0 16px;
}
.aifirst-footer__col p strong{ color:var(--aif-tx-light); font-weight:600; }
.aifirst-footer__list{ list-style:none; margin:0; padding:0; }
.aifirst-footer__list li{ list-style:none; margin:0 0 9px; padding:0; }
.aifirst-footer__list a{
  font-size:14.5px; color:var(--aif-tx-light-3); text-decoration:none;
  transition:color .3s var(--aif-ease);
}
.aifirst-footer__list a:hover{ color:#fff; }

.aifirst-footer__legal{ max-width:var(--aif-wrap); margin-inline:auto; padding-top:28px; }
.aifirst-footer__legal > p{
  font-size:12px; line-height:1.7; color:#6d675e; max-width:100ch; margin:0 0 22px;
}
.aifirst-footer__bar{
  display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap;
  font-size:12.5px; color:#6d675e;
}
.aifirst-footer__links{ display:flex; gap:22px; flex-wrap:wrap; }
.aifirst-footer__links a{ color:#6d675e; text-decoration:none; transition:color .3s var(--aif-ease); }
.aifirst-footer__links a:hover{ color:var(--aif-tx-light-2); }

/* ---------- MOBILE CALL BUTTON ---------- */
.aifirst-fab{
  position:fixed; z-index:90; right:16px; bottom:16px; display:none;
  align-items:center; gap:9px; padding:14px 20px;
  background:var(--aif-claret); color:#fff; text-decoration:none; border-radius:60px;
  box-shadow:0 14px 32px -10px rgba(0,0,0,.65);
  font-family:var(--aif-f-body); font-size:13px; font-weight:600;
  letter-spacing:.09em; text-transform:uppercase;
  transform:translateY(120%); transition:transform .5s var(--aif-ease-out);
}
.aifirst-fab.is-in{ transform:translateY(0); }

/* ---------- RESPONSIVE ---------- */

@media (max-width:1180px){
  .aifirst-nav,
  .aifirst-nav__list{ gap:19px; }
  .aifirst-nav__list a{ font-size:12px; }
  .aifirst-logo__img{ width:168px; }
}

@media (max-width:1040px){
  :root{ --aif-header-h:70px; }

  .aifirst-nav{ display:none; }
  .aifirst-burger{ display:block; }
  .aifirst-phone{ padding-left:0; border-left:0; }
  .aifirst-phone__label em{ display:none; }

  .aifirst-nav.is-open{
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background:var(--aif-ink-950); padding:14px var(--aif-gutter) 30px;
    border-bottom:1px solid rgba(255,255,255,.1);
    max-height:calc(100vh - var(--aif-header-h)); overflow-y:auto;
    box-shadow:0 30px 60px -20px rgba(0,0,0,.8);
  }
  .aifirst-nav.is-open .aifirst-nav__list{
    display:flex; flex-direction:column; align-items:stretch; gap:0; width:100%;
  }
  .aifirst-nav.is-open .aifirst-nav__list a{
    display:block;
    font-family:var(--aif-f-display); font-size:20px; text-transform:none; letter-spacing:-.01em;
    color:var(--aif-tx-light); padding:16px 0;
    border-bottom:1px solid rgba(255,255,255,.07);
    opacity:0; transform:translateY(10px);
    animation:aifirstNavIn .5s var(--aif-ease-out) forwards;
  }
  .aifirst-nav.is-open .aifirst-nav__list a::after{ display:none; }
  .aifirst-nav.is-open .aifirst-nav__list > li:nth-child(1) > a{ animation-delay:.04s; }
  .aifirst-nav.is-open .aifirst-nav__list > li:nth-child(2) > a{ animation-delay:.08s; }
  .aifirst-nav.is-open .aifirst-nav__list > li:nth-child(3) > a{ animation-delay:.12s; }
  .aifirst-nav.is-open .aifirst-nav__list > li:nth-child(4) > a{ animation-delay:.16s; }
  .aifirst-nav.is-open .aifirst-nav__list > li:nth-child(5) > a{ animation-delay:.2s; }
  .aifirst-nav.is-open .aifirst-nav__list > li:nth-child(6) > a{ animation-delay:.24s; }
  .aifirst-nav.is-open .aifirst-nav__list > li:nth-child(7) > a{ animation-delay:.28s; }
  .aifirst-nav.is-open .aifirst-nav__list > li:nth-child(8) > a{ animation-delay:.32s; }

  .aifirst-nav.is-open .sub-menu{
    display:block; position:static; min-width:0; padding:0 0 0 16px; margin:0;
    background:none; border:0; box-shadow:none;
  }
  .aifirst-nav.is-open .sub-menu a{ font-size:16px; padding:12px 0; }

  .aifirst-nav.is-open .aifirst-nav__cta{
    display:block; margin-top:22px; border:0; text-align:center;
    background:var(--aif-claret); color:#fff; font-family:var(--aif-f-body);
    font-size:13px; letter-spacing:.09em; text-transform:uppercase; font-weight:600;
    padding:17px 20px; text-decoration:none;
  }
  @keyframes aifirstNavIn{ to{ opacity:1; transform:none; } }
}

@media (max-width:860px){
  .aifirst-utility__hide{ display:none; }
  .aifirst-footer__top{ grid-template-columns:1fr 1fr; }
  .aifirst-footer__brand{ grid-column:1/-1; }
}

@media (max-width:680px){
  :root{ --aif-header-h:64px; }
  .aifirst-header__cta{ display:none; }
  .aifirst-logo__img{ width:150px; }
  .aifirst-header.is-stuck .aifirst-logo__img{ width:140px; }
  .aifirst-phone__label strong{ font-size:14px; }
  .aifirst-fab{ display:inline-flex; }
  .aifirst-footer__top{ grid-template-columns:1fr; }
}

@media (max-width:420px){
  .aifirst-utility__inner{ gap:10px; font-size:11px; }
}

@media (prefers-reduced-motion:reduce){
  .aifirst-dot{ animation:none; }
  .aifirst-nav.is-open .aifirst-nav__list a{ animation:none; opacity:1; transform:none; }
  .aifirst-fab{ transition:none; }
}

@media print{
  .aifirst-header,
  .aifirst-utility,
  .aifirst-fab{ display:none !important; }
}

/* ---------- GENESIS WRAP RESET (HOME) ---------- */
/* main.css sets .site-inner{max-width:1200px;padding-top:120px}, which would box
   the full-bleed sections inside a centred column. */
.home .site-inner{ max-width:100%; width:100%; padding:0; margin:0; top:0; }
.home .content-sidebar-wrap{ max-width:100%; width:100%; }
.home .content{ max-width:100%; width:100%; padding:0; margin:0; }
.home .entry{ margin:0; padding:0; border:0; }

/* ---------- LP BASE ---------- */
/* The landing sets these on body; inside WordPress they belong to the wrapper,
   so every element that inherits its size or leading there does the same here.
   Without this the theme's 18px/1.625 leaks into anything without an explicit
   value. */
.aifirst-lp{ font-size:17px; line-height:1.68; }
@media (max-width:860px){ .aifirst-lp{ font-size:16.5px; } }

/* The element sits inside :where() so it adds no specificity: these weigh the
   same as a single class and lose to any component rule further down the file,
   while still beating the bare p/h1/img defaults in main.css. */
.aifirst-lp :where(img){ max-width:100%; height:auto; display:block; }
.aifirst-lp :where(p){ margin:0 0 1.1em; }
.aifirst-lp :where(h1,h2,h3,h4,h5,h6){
  margin:0; font-family:var(--aif-f-display); font-weight:500;
  line-height:1.05; letter-spacing:-.015em;
  /* main.css paints h3 with the WordPress preset teal. Inheriting keeps every
     heading on the colour of its section, the way the landing page does. */
  color:inherit;
}
.aifirst-lp :where(ul){ margin:0; padding:0; }
/* Both main.css and the theme's own block in this file style bare blockquotes:
   grey background, borders, and a large decorative quote mark in ::before that
   lands on top of the text. */
.aifirst-lp :where(blockquote){
  margin:0; padding:0; border:0; background:none;
  font-size:inherit; font-weight:inherit; font-style:normal;
}
.aifirst-lp :where(blockquote)::before,
.aifirst-lp :where(blockquote)::after{ content:none; }

/* ---------- LINK COLOUR INSIDE THE LP ---------- */
/* main.css sets .site-inner a{color:var(--wp--preset--color--color-1)}, which
   outranks every single-class rule below and turned the buttons teal. Scoping
   to .aifirst-lp restores the landing palette for the whole page at once. */
.site-inner .aifirst-lp a{ color:inherit; }
.site-inner .aifirst-lp a:hover,
.site-inner .aifirst-lp a:focus{ color:inherit; }

.site-inner .aifirst-lp a.aifirst-btn--primary,
.site-inner .aifirst-lp a.aifirst-btn--primary:hover,
.site-inner .aifirst-lp a.aifirst-btn--primary:focus{ color:#fff; }

.site-inner .aifirst-lp a.aifirst-btn--ghost,
.site-inner .aifirst-lp a.aifirst-btn--ghost:hover,
.site-inner .aifirst-lp a.aifirst-btn--ghost:focus{ color:var(--aif-tx-light); }

.site-inner .aifirst-lp .aifirst-cards__foot a,
.site-inner .aifirst-lp .aifirst-faq__foot a{ color:var(--aif-claret); }

.site-inner .aifirst-lp a.aifirst-office__tel{ color:#fff; }
.site-inner .aifirst-lp a.aifirst-office__tel:hover,
.site-inner .aifirst-lp a.aifirst-office__tel:focus{ color:var(--aif-claret-hi); }

.site-inner .aifirst-lp a.aifirst-btn--outline{ color:var(--aif-claret); }
.site-inner .aifirst-lp a.aifirst-btn--outline:hover,
.site-inner .aifirst-lp a.aifirst-btn--outline:focus{ color:#fff; }

.site-inner .aifirst-lp .aifirst-section--ink a.aifirst-btn--outline,
.site-inner .aifirst-lp .aifirst-section--ink a.aifirst-btn--outline:hover,
.site-inner .aifirst-lp .aifirst-section--ink a.aifirst-btn--outline:focus{ color:#fff; }

/* ---------- REVEAL ---------- */
.aifirst-js .aifirst-reveal{ opacity:0; transform:translateY(22px); }
.aifirst-js .aifirst-reveal.is-in{
  opacity:1; transform:none;
  transition:opacity .85s var(--aif-ease-out), transform .85s var(--aif-ease-out);
}

/* ---------- HERO ---------- */
.aifirst-hero{
  position:relative; overflow:hidden;
  background:var(--aif-ink-950); color:var(--aif-tx-light);
  font-family:var(--aif-f-body);
  padding:clamp(56px,7vw,88px) 0 clamp(64px,7vw,96px);
}

.aifirst-hero__bg{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(134,41,42,.34) 0%, rgba(134,41,42,0) 58%),
    radial-gradient(90% 70% at 8% 100%, rgba(134,41,42,.15) 0%, rgba(134,41,42,0) 60%),
    linear-gradient(180deg,#141312 0%,#0f0f0e 60%,#121110 100%);
}
.aifirst-hero__bg::after{
  content:""; position:absolute; inset:0;
  background-image:linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:clamp(70px,9vw,120px) 100%;
  mask-image:linear-gradient(180deg,transparent,#000 25%,#000 70%,transparent);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 25%,#000 70%,transparent);
}
.aifirst-hero__grain{
  position:absolute; inset:0; pointer-events:none; opacity:.5; z-index:2;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}
.aifirst-hero__inner{
  position:relative; z-index:3;
  max-width:var(--aif-wrap); margin-inline:auto; padding-inline:var(--aif-gutter);
  display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:clamp(32px,5vw,72px); align-items:center;
}

.aifirst-eyebrow{
  display:flex; align-items:center; gap:14px;
  font-size:11.5px; font-weight:600; letter-spacing:.24em; text-transform:uppercase;
  color:var(--aif-claret-hi); margin:0 0 26px;
}
.aifirst-eyebrow__rule{ width:46px; height:1px; background:var(--aif-claret-hi); opacity:.75; flex:0 0 auto; }

.aifirst-hero__title{
  font-family:var(--aif-f-display);
  font-size:clamp(38px,4.6vw,61px);
  line-height:1.06; letter-spacing:-.028em; font-weight:400;
  font-variation-settings:"opsz" 120, "SOFT" 0, "WONK" 0;
  margin:0 0 30px; color:var(--aif-tx-light);
}
.aifirst-hero__title span{ display:block; }
.aifirst-hero__title em{
  font-style:italic; font-weight:500; color:var(--aif-claret-hi);
  font-variation-settings:"opsz" 120, "SOFT" 30, "WONK" 1;
}
.aifirst-hero__title--accent{
  color:#fff; font-weight:600;
  position:relative; display:inline-block !important; padding-bottom:6px;
}
.aifirst-hero__title--accent::after{
  content:""; position:absolute; left:0; bottom:0; height:3px; width:100%;
  background:linear-gradient(90deg,var(--aif-claret) 0%, rgba(134,41,42,0) 100%);
}

.aifirst-hero__lede{
  max-width:53ch; font-size:clamp(16px,1.35vw,18.5px); line-height:1.72;
  color:var(--aif-tx-light-2); margin:0 0 34px;
}
.aifirst-hero__cta{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:22px; }
.aifirst-hero__note{
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--aif-tx-light-3); margin:0;
}

.aifirst-hero__figure{ position:relative; margin:0; }
.aifirst-hero__frame{
  position:relative; overflow:hidden; border-radius:var(--aif-rad);
  box-shadow:0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.07);
}
.aifirst-hero__frame img{
  width:100%; filter:contrast(1.04) saturate(.82) brightness(.94);
  transform:scale(1.02); transition:transform 1.2s var(--aif-ease-out);
}
.aifirst-hero__figure:hover .aifirst-hero__frame img{ transform:scale(1.06); }
.aifirst-hero__frame-tint{
  position:absolute; inset:0;
  background:linear-gradient(200deg, rgba(134,41,42,.26) 0%, rgba(15,15,14,.1) 45%, rgba(15,15,14,.72) 100%);
}
.aifirst-hero__seal{
  position:absolute; left:-26px; bottom:-30px;
  background:var(--aif-claret); color:#fff; padding:20px 24px 18px;
  display:flex; flex-direction:column; gap:2px;
  box-shadow:0 24px 50px -18px rgba(0,0,0,.85);
  border-radius:var(--aif-rad);
}
.aifirst-hero__seal::before{
  content:""; position:absolute; inset:6px; border:1px solid rgba(255,255,255,.28);
  pointer-events:none;
}
.aifirst-hero__seal-num{
  font-family:var(--aif-f-display); font-size:48px; line-height:.9; font-weight:500;
  font-variation-settings:"opsz" 144,"SOFT" 20;
}
.aifirst-hero__seal-txt{
  font-size:10.5px; letter-spacing:.18em; text-transform:uppercase; line-height:1.5;
  color:rgba(255,255,255,.86); font-family:var(--aif-f-body);
}

.aifirst-hero__scroll{
  position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:3;
  width:1px; height:44px; background:rgba(255,255,255,.16); overflow:hidden;
}
.aifirst-hero__scroll span{
  position:absolute; inset:0; background:var(--aif-claret-hi);
  animation:aifirstScrollDown 2.4s var(--aif-ease) infinite;
}
@keyframes aifirstScrollDown{
  0%{ transform:translateY(-100%); } 60%,100%{ transform:translateY(100%); }
}

@media (min-width:1200px){
  .aifirst-hero__figure{ margin-right:calc(-1 * ((100vw - var(--aif-wrap)) / 2 + var(--aif-gutter))); }
  .aifirst-hero__frame img{ aspect-ratio:15/9; object-fit:cover; object-position:50% 78%; }
}

@media (max-width:1040px){
  .aifirst-hero__inner{ grid-template-columns:1fr; gap:52px; }
  .aifirst-hero__figure{ max-width:640px; }
  .aifirst-hero__seal{ left:0; bottom:-24px; }
  .aifirst-hero__title{ font-size:clamp(38px,7vw,62px); }
}

@media (max-width:680px){
  .aifirst-hero{ padding-top:40px; }
  .aifirst-hero__title{ font-size:clamp(33px,8.6vw,46px); letter-spacing:-.022em; }
  .aifirst-hero__lede{ font-size:16px; }
  .aifirst-hero__cta{ flex-direction:column; align-items:stretch; }
  .aifirst-hero__cta .aifirst-btn{ width:100%; }
  .aifirst-hero__seal{ left:auto; right:12px; bottom:-22px; padding:15px 18px 14px; }
  .aifirst-hero__seal-num{ font-size:36px; }
  .aifirst-hero__seal-txt{ font-size:9.5px; }
  .aifirst-hero__scroll{ display:none; }
  .aifirst-hero__frame img{ aspect-ratio:4/3; object-fit:cover; object-position:56% 62%; }
}

@media (max-width:420px){
  .aifirst-hero__seal{ right:8px; }
}

@media (prefers-reduced-motion:reduce){
  .aifirst-js .aifirst-reveal{ opacity:1; transform:none; }
  .aifirst-hero__scroll span{ animation:none; }
  .aifirst-hero__frame img{ transition:none; }
}

@media print{
  .aifirst-hero{ background:#fff !important; color:#000 !important; }
  .aifirst-hero__scroll,
  .aifirst-hero__grain,
  .aifirst-hero__bg{ display:none !important; }
}

/* ---------- SECTION SHELL ---------- */
.aifirst-wrap{
  width:100%; max-width:var(--aif-wrap); margin-inline:auto; padding-inline:var(--aif-gutter);
}
.aifirst-section{
  position:relative; padding:clamp(72px,10vw,140px) 0;
  font-family:var(--aif-f-body);
}
.aifirst-section--bone{ background:var(--aif-bone); color:var(--aif-tx-dark); }
.aifirst-section--paper{ background:var(--aif-paper); color:var(--aif-tx-dark); }
.aifirst-section--ink{ background:var(--aif-ink-900); color:var(--aif-tx-light); }
.aifirst-section--ink + .aifirst-section--ink{ padding-top:0; }

/* ---------- STATS ---------- */
.aifirst-stats{
  background:var(--aif-ink-850); color:var(--aif-tx-light);
  border-top:1px solid rgba(255,255,255,.07);
  font-family:var(--aif-f-body);
}
.aifirst-stats__inner{
  max-width:var(--aif-wrap); margin-inline:auto; padding:0 var(--aif-gutter);
  display:grid; grid-template-columns:repeat(4,1fr);
}
.aifirst-stat{
  padding:38px 26px; border-left:1px solid rgba(255,255,255,.07);
  display:flex; flex-direction:column; gap:8px;
}
.aifirst-stat:first-child{ border-left:0; padding-left:0; }
.aifirst-stat:last-child{ padding-right:0; }
.aifirst-stat__num{
  font-family:var(--aif-f-display); font-size:clamp(38px,4vw,54px); line-height:1;
  font-weight:500; color:#fff; font-variation-settings:"opsz" 144,"SOFT" 10;
}
.aifirst-stat__label{
  font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; line-height:1.55;
  color:var(--aif-tx-light-3); max-width:24ch;
}

/* ---------- SECTION HEADS ---------- */
.aifirst-sec-head{ max-width:760px; margin-bottom:clamp(44px,5vw,72px); }
.aifirst-sec-num{
  font-family:var(--aif-f-display); font-size:13px; letter-spacing:.3em;
  color:var(--aif-claret); margin:0 0 20px; display:flex; align-items:center; gap:14px;
  font-weight:600;
}
.aifirst-sec-num span{ position:relative; }
.aifirst-sec-num::after{
  content:""; flex:1; max-width:80px; height:1px; background:var(--aif-paper-line);
}
.aifirst-section--ink .aifirst-sec-num{ color:var(--aif-claret-hi); }
.aifirst-section--ink .aifirst-sec-num::after{ background:rgba(255,255,255,.16); }

.aifirst-sec-title{
  font-family:var(--aif-f-display);
  font-size:clamp(31px,4.2vw,54px); line-height:1.06; letter-spacing:-.025em;
  font-weight:400; font-variation-settings:"opsz" 120,"SOFT" 0;
  margin:0 0 24px;
}
.aifirst-sec-lede{
  font-size:clamp(16px,1.3vw,18px); line-height:1.72; color:var(--aif-tx-mid);
  max-width:80ch; margin:0;
}
.aifirst-section--ink .aifirst-sec-lede{ color:var(--aif-tx-light-2); }

/* ---------- CARDS ---------- */
.aifirst-cards{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--aif-paper-line); border:1px solid var(--aif-paper-line);
}
.aifirst-card{
  position:relative; background:var(--aif-bone); padding:38px 30px 44px;
  display:flex; flex-direction:column; transition:background .45s var(--aif-ease);
}
.aifirst-card:hover{ background:var(--aif-white); }
.aifirst-card__num{
  font-family:var(--aif-f-display); font-size:14px; font-weight:600; letter-spacing:.22em;
  color:var(--aif-claret); margin-bottom:26px; display:block;
}
.aifirst-card__title{
  font-family:var(--aif-f-display);
  font-size:22px; line-height:1.18; letter-spacing:-.015em; margin:0 0 14px;
  font-weight:500; font-variation-settings:"opsz" 40,"SOFT" 0;
}
.aifirst-card p{ font-size:15px; line-height:1.68; color:var(--aif-tx-mid); margin:0; }
.aifirst-card__rule{
  position:absolute; left:0; bottom:0; height:3px; width:100%; background:var(--aif-claret);
  transform:scaleX(0); transform-origin:left; transition:transform .55s var(--aif-ease-out);
}
.aifirst-card:hover .aifirst-card__rule{ transform:scaleX(1); }
.aifirst-card--accent{ background:var(--aif-ink-900); color:var(--aif-tx-light); }
.aifirst-card--accent:hover{ background:var(--aif-ink-850); }
.aifirst-card--accent .aifirst-card__num{ color:var(--aif-claret-hi); }
.aifirst-card--accent .aifirst-card__title{ color:var(--aif-tx-light); }
.aifirst-card--accent p{ color:var(--aif-tx-light-2); }

.aifirst-cards__foot{ margin:34px 0 0; font-size:15.5px; color:var(--aif-tx-mid); }
.aifirst-cards__foot a{
  text-decoration:none; font-weight:600;
  box-shadow:inset 0 -1px 0 rgba(134,41,42,.35);
  transition:box-shadow .3s var(--aif-ease);
}
.aifirst-cards__foot a:hover{ box-shadow:inset 0 -2px 0 var(--aif-claret); }

@media (max-width:1040px){
  .aifirst-cards{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:860px){
  .aifirst-stats__inner{ grid-template-columns:repeat(2,1fr); }
  .aifirst-stat{ padding:28px 20px; border-left:0; }
  .aifirst-stat:nth-child(2n){ border-left:1px solid rgba(255,255,255,.07); }
  .aifirst-stat:nth-child(n+3){ border-top:1px solid rgba(255,255,255,.07); }
  .aifirst-stat:first-child,
  .aifirst-stat:last-child{ padding-inline:20px; }
  .aifirst-stat:nth-child(odd){ padding-left:0; }
  .aifirst-stat:nth-child(even){ padding-right:0; }
}

@media (max-width:680px){
  .aifirst-cards{ grid-template-columns:1fr; }
  .aifirst-card{ padding:30px 24px 34px; }
}

@media print{
  .aifirst-section--ink,
  .aifirst-stats{ background:#fff !important; color:#000 !important; }
}

/* ---------- PILLARS (texas law) ---------- */
.aifirst-pillars{ display:grid; grid-template-columns:repeat(2,1fr); gap:0; }
.aifirst-pillar{ padding:40px 44px 40px 0; border-top:1px solid rgba(255,255,255,.1); }
.aifirst-pillar:nth-child(even){
  padding-left:44px; padding-right:0; border-left:1px solid rgba(255,255,255,.1);
}
.aifirst-pillar h3{
  font-family:var(--aif-f-display);
  font-size:23px; line-height:1.24; margin:0 0 16px; color:#fff; font-weight:500;
  font-variation-settings:"opsz" 48,"SOFT" 0; letter-spacing:-.015em;
}
.aifirst-pillar__tag{
  display:block; font-family:var(--aif-f-body); font-size:11px; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase; color:var(--aif-claret-hi);
  margin-bottom:12px;
}
.aifirst-pillar p{
  font-size:15.5px; line-height:1.72; color:var(--aif-tx-light-2); margin:0; max-width:52ch;
}

/* ---------- ADVANTAGE (why us) ---------- */
.aifirst-advantage__grid{
  display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:clamp(36px,5vw,86px); align-items:start;
}
/* main.css sets .site-container{overflow-x:hidden}, which forces overflow-y:auto
   and gives that element its own scroll context — a sticky child would anchor to
   it instead of the viewport and never stick. overflow-x:clip crops the same way
   without creating that context. */
.home .site-container{ overflow-x:clip; }
.aifirst-advantage__media{ position:sticky; top:calc(var(--aif-header-h) + 34px); }
.aifirst-advantage__photo{
  position:relative; overflow:hidden; border-radius:var(--aif-rad);
  background:var(--aif-ink-900);
  box-shadow:0 34px 70px -32px rgba(27,27,27,.6);
}
.aifirst-advantage__photo img{
  width:100%; filter:grayscale(.15) contrast(1.05) sepia(.12);
  object-fit:cover; aspect-ratio:5/6; object-position:44% 28%;
}
.aifirst-advantage__photo::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(134,41,42,.06) 0%, rgba(27,27,27,.42) 100%);
}
.aifirst-advantage__plate{
  position:relative; margin-top:-1px; background:var(--aif-ink-900); color:var(--aif-tx-light);
  padding:20px 24px; display:flex; flex-direction:column; gap:5px;
  border-left:3px solid var(--aif-claret);
}
.aifirst-advantage__plate-k{
  font-family:var(--aif-f-display); font-size:19px; font-weight:500; letter-spacing:.01em;
}
.aifirst-advantage__plate-v{
  font-size:11px; letter-spacing:.19em; text-transform:uppercase;
  color:var(--aif-tx-light-3);
}
.aifirst-advantage__copy .aifirst-sec-title{ margin-bottom:28px; }
.aifirst-advantage__copy p{ color:var(--aif-tx-mid); font-size:16.5px; }
.aifirst-advantage__copy .aifirst-lede{ color:var(--aif-tx-dark); }

.aifirst-lede{
  font-size:clamp(17px,1.35vw,19.5px); line-height:1.68; color:var(--aif-tx-dark);
}
.aifirst-lede em{ font-family:var(--aif-f-display); font-style:italic; }

.aifirst-pullquote{
  margin:34px 0; padding:26px 0 26px 30px; border-left:3px solid var(--aif-claret);
}
.aifirst-pullquote p{
  font-family:var(--aif-f-display); font-style:italic; font-size:clamp(19px,1.8vw,23px);
  line-height:1.45; color:var(--aif-tx-dark); margin:0; letter-spacing:-.01em;
  font-variation-settings:"opsz" 72,"SOFT" 40,"WONK" 1;
}

.aifirst-ticks{ list-style:none; margin:0 0 34px; padding:0; }
.aifirst-ticks li{
  position:relative; padding-left:34px; margin-bottom:14px; list-style:none;
  font-size:16px; line-height:1.6; color:var(--aif-tx-mid);
}
.aifirst-ticks li::before{
  content:""; position:absolute; left:0; top:.62em;
  width:16px; height:9px;
  border-left:2px solid var(--aif-claret); border-bottom:2px solid var(--aif-claret);
  transform:rotate(-45deg);
}

@media (max-width:1040px){
  .aifirst-advantage__grid{ grid-template-columns:1fr; }
  .aifirst-advantage__media{ position:static; max-width:440px; }
}

@media (max-width:860px){
  .aifirst-pillars{ grid-template-columns:1fr; }
  .aifirst-pillar,
  .aifirst-pillar:nth-child(even){ padding:32px 0; border-left:0; }
}

/* ---------- CENTRED SECTION HEADS ---------- */
.aifirst-sec-num--center{ justify-content:center; }
.aifirst-sec-num--center::before{
  content:""; flex:0 0 80px; max-width:80px; height:1px; background:rgba(255,255,255,.16);
}
.aifirst-sec-num--center::after{ background:rgba(255,255,255,.16); }
.aifirst-sec-title--center{ text-align:center; }
.aifirst-sec-title--center + .aifirst-sec-lede{ margin-inline:auto; text-align:center; }

/* ---------- MEDIATION ---------- */
.aifirst-mediation{ overflow:hidden; }
.aifirst-mediation__bg{
  position:absolute; inset:0; z-index:0; opacity:.14;
  background-position:center 40%; background-size:cover; background-repeat:no-repeat;
  filter:grayscale(1) contrast(1.15);
  mask-image:radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image:radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 78%);
}
.aifirst-mediation__inner{ position:relative; z-index:1; text-align:center; }
.aifirst-mediation__lede{
  max-width:62ch; margin:0 auto 56px; font-size:clamp(16px,1.3vw,18px);
  line-height:1.75; color:var(--aif-tx-light-2);
}
.aifirst-mediation__cols{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.1);
  text-align:left;
}
.aifirst-mcol{
  background:var(--aif-ink-900); padding:34px 30px;
  transition:background .45s var(--aif-ease);
}
.aifirst-mcol:hover{ background:var(--aif-ink-800); }
.aifirst-mcol h3{
  font-family:var(--aif-f-display);
  font-size:20px; margin:0 0 13px; color:#fff; letter-spacing:-.012em; font-weight:500;
  font-variation-settings:"opsz" 40,"SOFT" 0;
}
.aifirst-mcol p{ font-size:15px; line-height:1.7; color:var(--aif-tx-light-2); margin:0; }
.aifirst-mediation__cta{ margin-top:48px; }
.aifirst-section--ink .aifirst-btn--outline{ color:#fff; border-color:rgba(255,255,255,.4); }
.aifirst-section--ink .aifirst-btn--outline::after{ background:var(--aif-claret); }
.aifirst-section--ink .aifirst-btn--outline:hover,
.aifirst-section--ink .aifirst-btn--outline:focus{ border-color:var(--aif-claret); }

/* ---------- TEAM ---------- */
.aifirst-team{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,2.4vw,34px); }
.aifirst-member{
  background:var(--aif-white); border:1px solid var(--aif-paper-line);
  display:flex; flex-direction:column; overflow:hidden;
  transition:transform .5s var(--aif-ease-out), box-shadow .5s var(--aif-ease-out);
}
.aifirst-member:hover{ transform:translateY(-5px); box-shadow:0 26px 50px -28px rgba(27,27,27,.5); }
.aifirst-member__portrait{
  aspect-ratio:4/3.4; overflow:hidden; background:var(--aif-ink-900); position:relative;
}
.aifirst-member__portrait img{
  width:100%; height:100%; object-fit:cover; object-position:50% 24%;
  filter:grayscale(.2) sepia(.1) contrast(1.04);
  transition:transform 1s var(--aif-ease-out), filter .6s var(--aif-ease);
}
.aifirst-member:hover .aifirst-member__portrait img{ transform:scale(1.05); filter:grayscale(0) sepia(.04); }
.aifirst-member__portrait--mono{
  display:grid; place-items:center;
  background:
    radial-gradient(120% 120% at 30% 10%, rgba(134,41,42,.5) 0%, rgba(134,41,42,0) 60%),
    var(--aif-ink-900);
}
.aifirst-member__portrait--mono::before{
  content:""; position:absolute; inset:16px; border:1px solid rgba(255,255,255,.14);
}
.aifirst-member__portrait--mono span{
  font-family:var(--aif-f-display); font-size:64px; font-weight:400; color:#fff;
  letter-spacing:.06em; font-variation-settings:"opsz" 144,"SOFT" 20; opacity:.92;
}
.aifirst-member__body{ padding:28px 28px 32px; }
.aifirst-member__role{
  font-size:10.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--aif-claret); margin:0 0 10px; font-weight:600;
}
.aifirst-member__name{
  font-family:var(--aif-f-display);
  font-size:26px; margin:0 0 14px; letter-spacing:-.02em; font-weight:500;
  font-variation-settings:"opsz" 60,"SOFT" 0;
}
.aifirst-member__body p:last-child{ font-size:15px; line-height:1.68; color:var(--aif-tx-mid); margin:0; }

@media (max-width:1040px){
  .aifirst-team{ grid-template-columns:1fr; }
  .aifirst-member{ flex-direction:row; align-items:stretch; }
  .aifirst-member__portrait{ flex:0 0 34%; aspect-ratio:auto; }
  .aifirst-member__portrait--mono span{ font-size:52px; }
  .aifirst-member__body{ flex:1; }
}

@media (max-width:860px){
  .aifirst-mediation__cols{ grid-template-columns:1fr; }
}

@media (max-width:680px){
  .aifirst-member{ flex-direction:column; }
  .aifirst-member__portrait{ flex:none; aspect-ratio:1/1; }
  .aifirst-member__portrait img{ object-position:50% 12%; }
  .aifirst-member__portrait--mono span{ font-size:56px; }
  .aifirst-member__body{ padding:24px 22px 28px; }
}

@media (max-width:420px){
  .aifirst-btn--lg{ padding:16px 22px; font-size:12.5px; }
}

/* ---------- FAQ ---------- */
.aifirst-wrap--narrow{ max-width:900px; }

.aifirst-faq{ border-top:1px solid var(--aif-paper-line); }
.aifirst-qa{ border-bottom:1px solid var(--aif-paper-line); }
.aifirst-qa__q{
  width:100%; background:none; border:0; border-radius:0; box-shadow:none;
  -webkit-appearance:none; appearance:none;
  cursor:pointer; text-align:left; text-transform:none;
  padding:26px 44px 26px 0; margin:0; position:relative;
  display:flex; align-items:flex-start; gap:16px;
  font-family:var(--aif-f-display); font-size:clamp(18px,1.6vw,21px); line-height:1.34;
  font-weight:500; letter-spacing:-.012em; color:var(--aif-tx-dark);
  transition:color .3s var(--aif-ease);
  font-variation-settings:"opsz" 40,"SOFT" 0;
}
.aifirst-qa__q::before,
.aifirst-qa__q::after{ content:none; }
.aifirst-qa__q:hover{ color:var(--aif-claret); background:none; }
.aifirst-qa__q i{ position:absolute; right:2px; top:32px; width:15px; height:15px; flex:0 0 auto; }
.aifirst-qa__q i::before,
.aifirst-qa__q i::after{
  content:""; position:absolute; background:var(--aif-claret);
  transition:transform .45s var(--aif-ease-out);
}
.aifirst-qa__q i::before{ left:0; top:7px; width:15px; height:1.5px; }
.aifirst-qa__q i::after{ left:7px; top:0; width:1.5px; height:15px; }
.aifirst-qa__q[aria-expanded="true"] i::after{ transform:scaleY(0); }
.aifirst-qa__q[aria-expanded="true"] i::before{ transform:rotate(180deg); }
.aifirst-qa__q[aria-expanded="true"]{ color:var(--aif-claret); }

.aifirst-qa__a{
  display:grid; grid-template-rows:0fr;
  transition:grid-template-rows .5s var(--aif-ease-out);
}
.aifirst-qa__a > div{ overflow:hidden; }
.aifirst-qa.is-open .aifirst-qa__a{ grid-template-rows:1fr; }
.aifirst-qa__a p{ font-size:16px; line-height:1.75; color:var(--aif-tx-mid); max-width:70ch; }
.aifirst-qa__a > div > :first-child{ padding-top:2px; }
.aifirst-qa__a > div > :last-child{ margin-bottom:30px; }
.aifirst-qa__a ul{ list-style:none; margin:0 0 1.1em; padding:0; }
.aifirst-qa__a li{
  position:relative; padding-left:22px; margin-bottom:8px; list-style:none;
  font-size:15.5px; line-height:1.6; color:var(--aif-tx-mid);
}
.aifirst-qa__a li::before{
  content:""; position:absolute; left:0; top:.7em; width:8px; height:1px; background:var(--aif-claret);
}
.aifirst-qa__urgent{
  background:rgba(134,41,42,.07); border-left:3px solid var(--aif-claret);
  padding:16px 20px; font-size:15px !important; color:var(--aif-tx-dark) !important;
}
.aifirst-faq__foot{ margin-top:38px; font-size:15.5px; color:var(--aif-tx-mid); }
.aifirst-faq__foot a{
  text-decoration:none; font-weight:600;
  box-shadow:inset 0 -1px 0 rgba(134,41,42,.35);
  transition:box-shadow .3s var(--aif-ease);
}
.aifirst-faq__foot a:hover{ box-shadow:inset 0 -2px 0 var(--aif-claret); }

/* ---------- OFFICES ---------- */
.aifirst-offices{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(22px,3vw,44px); }
.aifirst-office{
  border:1px solid rgba(255,255,255,.1); overflow:hidden;
  transition:border-color .45s var(--aif-ease);
}
.aifirst-office:hover{ border-color:rgba(255,255,255,.22); }
.aifirst-office__img{
  position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--aif-ink-950);
}
.aifirst-office__img img{
  width:100%; height:100%; object-fit:cover;
  filter:grayscale(1) contrast(1.12) brightness(.72);
  transition:transform 1.1s var(--aif-ease-out), filter .6s var(--aif-ease);
}
.aifirst-office:hover .aifirst-office__img img{
  transform:scale(1.05); filter:grayscale(.65) contrast(1.1) brightness(.8);
}
.aifirst-office__img::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(134,41,42,.28) 0%, rgba(15,15,15,.5) 100%);
  mix-blend-mode:multiply;
}
.aifirst-office__badge{
  position:absolute; z-index:2; top:16px; left:16px; background:var(--aif-claret); color:#fff;
  font-size:10.5px; letter-spacing:.18em; text-transform:uppercase; font-weight:600;
  padding:7px 13px;
}
.aifirst-office__body{ padding:30px 32px 34px; background:var(--aif-ink-850); }
.aifirst-office__body h3{
  font-family:var(--aif-f-display);
  font-size:30px; margin:0 0 14px; color:#fff; letter-spacing:-.02em; font-weight:500;
  font-variation-settings:"opsz" 72,"SOFT" 0;
}
.aifirst-office__addr{ font-size:15.5px; line-height:1.66; color:var(--aif-tx-light-2); margin:0 0 10px; }
.aifirst-office__meta{ font-size:14px; color:var(--aif-tx-light-3); margin:0 0 18px; }
.aifirst-office__tel{
  display:inline-block; font-size:18px; font-weight:600; letter-spacing:.02em;
  text-decoration:none;
  box-shadow:inset 0 -1px 0 var(--aif-claret-hi);
  transition:box-shadow .3s var(--aif-ease), color .3s var(--aif-ease);
}
.aifirst-office__tel:hover{ box-shadow:inset 0 -2px 0 var(--aif-claret-hi); }

@media (max-width:860px){
  .aifirst-offices{ grid-template-columns:1fr; }
}

@media (max-width:680px){
  .aifirst-qa__q{ padding:22px 38px 22px 0; font-size:17.5px; }
  .aifirst-qa__q i{ top:27px; }
}

@media (max-width:420px){
  .aifirst-office__body{ padding:24px 20px 28px; }
}

/* ---------- CONTACT SECTION ---------- */
.aifirst-contact{
  position:relative; overflow:hidden;
  font-family:var(--aif-f-body);
  background:
    radial-gradient(90% 100% at 15% 0%, rgba(134,41,42,.34) 0%, rgba(134,41,42,0) 62%),
    linear-gradient(160deg,#1c1a19 0%,#131211 55%,#181414 100%);
  color:var(--aif-tx-light);
  padding:clamp(72px,9vw,120px) 0;
}
.aifirst-contact__grain{
  position:absolute; inset:0; pointer-events:none; opacity:.5; z-index:2;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}
.aifirst-contact__grid{
  position:relative; z-index:3;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:clamp(36px,5vw,80px); align-items:start;
}
/* Grid children default to min-width:auto: the form box would not shrink below
   its content and pushed past the viewport on small screens. */
.aifirst-contact__pitch,
.aifirst-contact__formwrap{ min-width:0; }
.aifirst-contact__title{
  font-family:var(--aif-f-display);
  font-size:clamp(30px,3.9vw,50px); line-height:1.07; letter-spacing:-.026em;
  font-weight:400; margin:0 0 22px; color:#fff;
  font-variation-settings:"opsz" 120,"SOFT" 0;
}
.aifirst-contact__lede{
  font-size:17px; line-height:1.72; color:var(--aif-tx-light-2); max-width:46ch; margin:0 0 34px;
}
.aifirst-contact__phone{
  display:inline-flex; flex-direction:column; gap:4px; text-decoration:none;
  padding:20px 28px; border:1px solid rgba(255,255,255,.16); border-radius:var(--aif-rad);
  margin-bottom:30px; transition:border-color .4s var(--aif-ease), background .4s var(--aif-ease);
}
.aifirst-contact__phone:hover{ border-color:var(--aif-claret-hi); background:rgba(134,41,42,.14); }
.aifirst-contact__phone span{
  font-size:10.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--aif-tx-light-3);
}
.aifirst-contact__phone strong{
  font-family:var(--aif-f-display); font-size:clamp(28px,3vw,38px); font-weight:500;
  color:#fff; letter-spacing:-.01em; line-height:1.1;
  font-variation-settings:"opsz" 100,"SOFT" 10;
}
.aifirst-contact__list{ list-style:none; display:flex; flex-wrap:wrap; gap:10px 22px; margin:0; padding:0; }
.aifirst-contact__list li{
  position:relative; padding-left:18px; list-style:none;
  font-size:13px; letter-spacing:.09em; text-transform:uppercase; color:var(--aif-tx-light-2);
}
.aifirst-contact__list li::before{
  content:""; position:absolute; left:0; top:.62em; width:7px; height:7px;
  background:var(--aif-claret-hi); transform:rotate(45deg);
}
.aifirst-contact__formwrap{
  background:rgba(244,244,244,.045); border:1px solid rgba(255,255,255,.12);
  padding:clamp(26px,3vw,42px); border-radius:var(--aif-rad);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
.aifirst-form__title{
  font-family:var(--aif-f-display); font-size:24px; font-weight:500; color:#fff;
  margin:0 0 26px; letter-spacing:-.015em; line-height:1.2;
}
.aifirst-form__disclaimer{
  font-size:11.5px; line-height:1.6; color:var(--aif-tx-light-3); margin:18px 0 0; text-align:center;
}

@media (max-width:1040px){
  .aifirst-contact__grid{ grid-template-columns:1fr; }
  .aifirst-contact__pitch{ max-width:640px; }
}

@media (max-width:680px){
  .aifirst-contact__formwrap{ padding:24px 20px 28px; }
  .aifirst-contact__phone{ width:100%; }
}

/* =========================================================
   GRAVITY FORMS — .custom-formweb
   Set as the form CSS class in the form settings, so the same
   styling applies to any form on any page, not only this one.

   Selectors are prefixed with the wrapper and repeat the class on
   purpose. Gravity's theme.min.css loads AFTER custom.css and its
   rules weigh 0-3-0 (0-3-1 for inputs), so anything lighter ties
   and loses on source order. This prefix weighs 0-3-0 by itself,
   putting every rule below at 0-4-0 or more.

   The control rules add .gform_fields .gfield because main.css
   targets those inputs with a chain of :not() that reaches 0-6-1;
   matching that weight lets custom.css win on order, since it is
   enqueued after main.css.
   ========================================================= */
.custom-formweb{
  --gf-form-gap-y:0px;
  --gf-form-gap-x:18px;
  --gf-field-gap-y:0px;
  --gf-field-gap-x:18px;
  --gf-form-footer-margin-y-start:24px;
  font-family:var(--aif-f-body);
}

/* Redundant with the asterisks on every label */
.custom-formweb .gform_required_legend,
.custom-formweb_wrapper .gform_required_legend{ display:none; }

.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields{ column-gap:18px; row-gap:0; min-width:0; }
/* Grid items default to min-width:auto, which stops Gravity's 12-column
   grid from shrinking below its content and pushes the form past the
   viewport on small screens. */
.custom-formweb_wrapper .custom-formweb.custom-formweb .gfield{ margin:0 0 18px; padding:0; min-width:0; }
.custom-formweb_wrapper .custom-formweb.custom-formweb .ginput_container{ min-width:0; }

.custom-formweb_wrapper .custom-formweb.custom-formweb .gfield_label{
  font-family:var(--aif-f-body);
  font-size:11px; letter-spacing:.17em; text-transform:uppercase;
  color:var(--aif-tx-light-2); margin:0 0 9px; padding:0;
  font-weight:600; line-height:1.68;
}
.custom-formweb_wrapper .custom-formweb.custom-formweb .gfield_required{
  color:var(--aif-claret-hi); border:0; font-size:inherit; margin-left:2px;
}

.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield input[type="text"],
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield input[type="email"],
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield input[type="tel"],
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield textarea{
  font-family:var(--aif-f-body); font-size:16px; color:#fff;
  background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.15);
  border-radius:var(--aif-rad); padding:14px 16px; width:100%; margin:0;
  height:auto; min-height:0; box-shadow:none;
  -webkit-appearance:none; appearance:none;
  transition:border-color .3s var(--aif-ease), background .3s var(--aif-ease);
  resize:vertical;
}
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield textarea{ min-height:98px; }
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield input::placeholder,
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield textarea::placeholder{ color:rgba(240,237,231,.32); opacity:1; }
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield input:focus,
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield textarea:focus{
  outline:none; border-color:var(--aif-claret-hi); background:rgba(0,0,0,.4);
}

/* Name: first and last side by side, sub-labels hidden like the landing */
.custom-formweb_wrapper .custom-formweb.custom-formweb .ginput_complex{
  display:grid; grid-template-columns:1fr 1fr; gap:18px;
}
.custom-formweb_wrapper .custom-formweb.custom-formweb .ginput_complex > span{ display:block; padding:0; }
.custom-formweb_wrapper .custom-formweb.custom-formweb .ginput_complex label{ display:none; }

/* Validation */
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield.gfield_error input,
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield.gfield_error textarea{ border-color:#d4585a; }
.custom-formweb_wrapper .custom-formweb.custom-formweb .gfield_error .gfield_label{ color:var(--aif-tx-light-2); }
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield .gfield_validation_message,
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_fields .gfield .validation_message{
  font-family:var(--aif-f-body); font-size:12px; line-height:1.5; color:#e58486;
  margin:7px 0 0; padding:0; background:none; border:0;
  /* main.css pins these over the field with position:absolute; top:50% */
  position:static; top:auto; right:auto; left:auto; bottom:auto;
  width:auto; max-width:none; transform:none;
}
.gform_wrapper.custom-formweb_wrapper.custom-formweb_wrapper .gform_validation_errors{
  background:rgba(212,88,90,.12); border:1px solid rgba(212,88,90,.4);
  border-radius:var(--aif-rad); padding:14px 18px; margin:0 0 22px; box-shadow:none;
}
.gform_wrapper.custom-formweb_wrapper.custom-formweb_wrapper .gform_validation_errors h2,
.gform_wrapper.custom-formweb_wrapper.custom-formweb_wrapper .gform_submission_error{
  font-family:var(--aif-f-body); font-size:14px; font-weight:600; color:#e58486;
  margin:0; padding:0; line-height:1.5; letter-spacing:0; text-transform:none;
}

/* Opt-in checkbox */
.custom-formweb_wrapper .custom-formweb.custom-formweb .gfield--type-checkbox .gfield_label{ display:none; }
.custom-formweb_wrapper .custom-formweb.custom-formweb .gfield_checkbox{ margin:0; }
.custom-formweb_wrapper .custom-formweb.custom-formweb .gchoice{ display:flex; gap:12px; align-items:flex-start; margin:0; }
.custom-formweb_wrapper .custom-formweb.custom-formweb .gchoice input[type="checkbox"]{
  appearance:none; -webkit-appearance:none; flex:0 0 auto;
  width:19px; height:19px; min-height:0; margin:3px 0 0; padding:0; cursor:pointer;
  border:1px solid rgba(255,255,255,.3); border-radius:2px; background:rgba(0,0,0,.28);
  transition:background .25s var(--aif-ease), border-color .25s var(--aif-ease);
  position:relative;
}
.custom-formweb_wrapper .custom-formweb.custom-formweb .gchoice input[type="checkbox"]:checked{
  background:var(--aif-claret); border-color:var(--aif-claret);
}
.custom-formweb_wrapper .custom-formweb.custom-formweb .gchoice input[type="checkbox"]:checked::after{
  content:""; position:absolute; left:6px; top:2px; width:5px; height:10px;
  border-right:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(42deg);
}
.custom-formweb_wrapper .custom-formweb.custom-formweb .gchoice label{
  font-family:var(--aif-f-body); font-size:11.5px; line-height:1.6;
  color:var(--aif-tx-light-3); cursor:pointer;
  margin:0; padding:0; font-weight:400; text-transform:none; letter-spacing:0;
}
.custom-formweb_wrapper .custom-formweb.custom-formweb .gfield--type-checkbox .gfield_description{
  font-family:var(--aif-f-body); font-size:11.5px; line-height:1.6;
  color:var(--aif-tx-light-3); padding:8px 0 0; margin:0 0 0 31px;
}
.custom-formweb_wrapper .custom-formweb.custom-formweb .gchoice label a,
.custom-formweb_wrapper .custom-formweb.custom-formweb .gfield_description a{
  color:var(--aif-tx-light-2); text-decoration:underline; text-underline-offset:2px;
}

/* Submit */
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_footer{ margin:24px 0 0; padding:0; }
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_button{
  position:relative; display:flex; align-items:center; justify-content:center;
  width:100%; margin:0; cursor:pointer; isolation:isolate; overflow:hidden;
  padding:18px 34px; border:1px solid transparent; border-radius:var(--aif-rad);
  background:var(--aif-claret); color:#fff;
  font-family:var(--aif-f-body); font-size:14px; font-weight:600; letter-spacing:.05em;
  line-height:1.2; text-transform:uppercase; text-decoration:none; box-shadow:none;
  transition:background .35s var(--aif-ease), transform .35s var(--aif-ease);
}
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_button:hover{ background:var(--aif-claret-lit); color:#fff; }
.custom-formweb_wrapper .custom-formweb.custom-formweb .gform_button:active{ transform:translateY(1px); }

/* Confirmation replaces the form, so .custom-formweb is gone by then */
.custom-formweb_wrapper .gform_confirmation_message,
.gform_confirmation_wrapper .gform_confirmation_message,
.aifirst-contact__formwrap .gform_confirmation_message{
  margin:0; padding:14px 18px; background:rgba(134,41,42,.2);
  border-left:3px solid var(--aif-claret-hi);
  font-family:var(--aif-f-body); font-size:14.5px; line-height:1.6; color:#fff;
}

@media (max-width:680px){
  .custom-formweb_wrapper .custom-formweb.custom-formweb .ginput_complex{ grid-template-columns:1fr; gap:18px; }
}
