
/*
Theme Name: GeneratePress Child
Description: Custom All Things Remodeling child theme implementation by Clarico.
Author: Clarico
Author URI: https://theclaricoway.com
Template: generatepress
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gp-child
*/

@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", serif;
  overflow-x: clip;
  line-height: 1.08;
  
}

:root {
  --atr-section-space-y: clamp(44px, 7vw, 88px);
  --atr-section-space-y-tight: clamp(32px, 5vw, 64px);
  --atr-section-title-size: clamp(28px, 4.4vw, 54px);
  --atr-section-title-gap: clamp(24px, 3.6vw, 44px);
}

html {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: rgba(215, 38, 30, 0);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.25s ease;
}

body.is-scrolling {
  scrollbar-color: rgba(215, 38, 30, 0.95) transparent;
}

body.is-scrolling::-webkit-scrollbar-thumb,
html.is-scrolling::-webkit-scrollbar-thumb {
  background: rgba(215, 38, 30, 0.95);
}

/* Global H2 reveal */
.atr-h2-reveal {
  display: block;
}

.atr-h2-word {
  display: inline-block;
  transform: translateY(60%);
  opacity: 0;
  clip-path: inset(60% 0 -6% 0);
  will-change: transform, opacity;
}

.atr-h2-reveal.is-visible .atr-h2-word {
  animation: atr-h2-word-pop 0.85s cubic-bezier(0.22, 1.02, 0.32, 1) both;
  animation-delay: var(--word-delay, 0ms);
}

@keyframes atr-h2-word-pop {
  0% {
    transform: translateY(60%);
    opacity: 0;
    clip-path: inset(60% 0 -6% 0);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    clip-path: inset(-6% 0 -6% 0);
  }
}
/* make sure the main content / hero isn’t adding extra margin */
.site-content,
.site-main,
.inside-site-main,
.inside-article,
.entry-content > *:first-child {
  margin-top: 0;
  padding-top: 0;
}


/* ========== CORE LAYOUT ========== */

html, body {
  overflow-x: clip;
}

.site-header {
  position: absolute;      /* static at top until sticky reveal */
  top: 0;
  left: 0;
  right: 0;
  z-index: 140;
  background-color: transparent;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s ease;
  will-change: transform, opacity;
}

body.atr-header-hidden .site-header {
  transform: translateY(-110%);
  opacity: 0;
}

body.nav-open .site-header {
  transform: none;
  will-change: auto;
}

.site-header__container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  padding: 12px 42px;
  padding-top: 14.4px;
  box-sizing: border-box;
  position: relative;
  z-index: 150;
}

.site-header__left {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 24px;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
  position: static;
}

/* Logo */
.site-header__logo img{
  width:150px !important;
  transform-origin: left center;
  transition: filter 0.3s ease, transform 0.25s ease;
  max-width: 100%;
  height: auto;
}

.site-header__logo,
.site-header__burger {
  flex-shrink: 0;
}

.site-header__logo {
  max-width: 60vw;
  position: relative;
  z-index: 160;
  background: transparent;
}

.site-header__logo a,
.site-header__logo .custom-logo-link {
  background: transparent;
  box-shadow: none;
}

.site-header__logo--large {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-header__logo--small {
  display: none;
}

.site-header__logo--small img {
  width: 120px !important;
}

/* Hero nav (desktop) */
.site-header__hero-nav {
  display: flex;
  align-items: flex-start;
  position: absolute;
  right: clamp(16px, 4vw, 40px);
  top: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-nav__list--hero {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.site-nav__list--hero > li > a {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Logo */
.site-footer__logo img{
  width:125px !important;
  transition: filter 0.3s ease;
}

/* Nav shell (glass container on right) */
.site-header__nav-shell {
  min-height: 50px; 
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  margin-top: 0;
  margin-right: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  width: auto;
  margin-left: auto;
  max-width: 100%;
}

.hero-dark .site-header__nav-shell {
  background: transparent;
  border: 0;
}
.site-header.is-sticky {
  position: fixed;
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.site-header.is-sticky .site-header__nav-shell {
  background: transparent;
  border: 0;
}

.site-header.is-sticky .site-nav__list > li > a,
.site-header.is-sticky .site-nav__list > li > a::after {
  color: #141414;
}

.site-header.is-sticky .site-nav__list > li > a::after {
  background: #d7261e;
}

.site-header.is-sticky .site-nav__cta--contact {
  color: #141414;
  border-color: rgba(0,0,0,0.12);
}

.site-header.is-sticky .site-nav__cta--contact .site-nav__cta-inner {
  color: inherit;
}

.site-header.is-sticky .site-header__logo img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(90%) saturate(3202%) hue-rotate(350deg) brightness(95%) contrast(96%);
}

@media (min-width: 1001px) {
  .site-header.is-sticky .site-header__logo img {
    transform: scale(0.8);
  }
}

/* Keep dark-hero header styles even when sticky */

body.nav-collapsed .site-header__logo--large {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.nav-scrolled .site-header__logo--small {
  display: none;
}

/* Floating nav casing */
.site-header__nav-shell .site-nav__list > li > a {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 14px;
}

/* Nav links */
.site-nav {
  padding: 0;
  max-width: 100%;
}

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

/* the <ul> */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 20.8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

/* top-level <li> */
.site-nav__list > li {
  position: relative;
}

/* links */
.site-nav__list > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* Hero vertical nav overrides */
.site-nav__list.site-nav__list--hero {
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  padding-top: 1.25rem;
}

.site-header__hero-nav .site-nav__list--hero > li > a {
  color: #ffffff;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  text-transform: uppercase;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 0;
  padding-right: 0;
}

.hero-dark .site-header__hero-nav .site-nav__list--hero > li > a {
  color: #ffffff;
}

.hero-dark .site-header__logo img {
  filter: brightness(0) invert(1);
}
.site-header.site-header--dark:not(.is-sticky) .site-header__logo img {
  filter: brightness(0) invert(1);
}

.site-header.site-header--dark:not(.is-sticky) .site-nav__list > li > a {
  color: #ffffff;
}

.site-header.site-header--dark:not(.is-sticky) .site-nav__list > li > a::after {
  background: #ffffff;
}

.site-header.site-header--dark:not(.is-sticky) .burger__line {
  background: #ffffff;
}

.site-header.site-header--light-hero:not(.is-sticky) .site-header__logo img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(90%) saturate(3202%) hue-rotate(350deg) brightness(95%) contrast(96%);
}

.site-header.site-header--light-hero:not(.is-sticky) .site-nav__list > li > a {
  color: #111111;
}

.site-header.site-header--light-hero:not(.is-sticky) .site-nav__list > li > a::after {
  background: #d7261e;
}

.site-header.site-header--light-hero:not(.is-sticky) .site-nav__cta--contact {
  color: #111111;
  border-color: rgba(0, 0, 0, 0.12);
}

.site-header.site-header--light-hero:not(.is-sticky) .site-nav__cta--contact .site-nav__cta-inner {
  color: inherit;
}

.site-header.site-header--light-hero:not(.is-sticky) .burger__line {
  background: #111111;
}

.hero-dark .site-nav__list > li > a {
  color: #ffffff;
}

.hero-dark .site-nav__list > li > a::after {
  background: #ffffff;
}

.services-overview-page .site-header__logo img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(90%) saturate(3202%) hue-rotate(350deg) brightness(95%) contrast(96%);
}

.services-overview-page .site-nav__list > li > a {
  color: #111111;
}

.services-overview-page .site-nav__list > li > a::after {
  background: #d7261e;
}

.services-overview-page .burger__line {
  background: #111111;
}
/* underline-ish hover effect */
.site-nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.site-nav__list > li > a:hover::after,
.site-nav__list > li > a:focus-visible::after {
  transform: scaleX(1);
  background-color: #ffffff;
}

.site-header.is-sticky .site-nav__list > li > a::after {
  background: #141414;
}

/* CTA */
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16.25px;
  line-height: 1;      /* 🔒 same as links so height is consistent */
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #111318;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.site-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.55);
  background: #181b21;
}

.site-nav__cta--contact {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  background: transparent;
  box-shadow: none;
  border-radius: 999px;
  color: inherit;
}

.site-nav__list > li > a.site-nav__cta--contact {
  border-radius: 999px;
}

.site-nav__cta--contact .site-nav__cta-inner {
  display: inline;
}

.site-nav__cta--contact:hover,
.site-nav__cta--contact:focus-visible {
  background: transparent;
  box-shadow: none;
}

/* Caret */
.site-nav__caret {
  font-size: 10px;
}

/* ========== MEGA MENU (DESKTOP) ========== */



.mega-menu__content {
  flex: 1;
}

.mega-menu__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.mega-menu__desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.85;
}


/* Parent li with mega (Services) */
.site-nav__list > li.menu-item-has-children.has-mega {
  position: relative;
  padding-bottom: 0;
}

.site-nav__list > li.menu-item-has-children.has-mega::after {
  content: "";
  position: absolute;
  z-index: 89;
  top: 100%;
  left: 50%;
  width: max(100%, 280px);
  height: 12px;
  transform: translateX(-50%);
}

/* Overlay mega panel for .has-mega only */
.site-nav__list > li.menu-item-has-children.has-mega > .sub-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);  /* center under the item */
  z-index: 90;

  min-width: 280px;
  max-width: 420px;

  display: flex;
  flex-direction: column;
  gap: 0;

  list-style: none;
  padding: 0;
  margin: 0;

  border-radius: 18px;
  background: rgba(20, 24, 30, 0.92);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.65);
  overflow: visible;
  isolation: isolate;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Invisible interaction buffer; does not change the rendered panel size. */
.site-nav__list > li.menu-item-has-children.has-mega > .sub-menu::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -16px -24px -24px;
  background: transparent;
}

/* Show mega on hover/focus */
.site-nav__list > li.menu-item-has-children.has-mega:hover > .sub-menu,
.site-nav__list > li.menu-item-has-children.has-mega:focus-within > .sub-menu,
.site-nav__list > li.menu-item-has-children.has-mega.is-dropdown-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Card-style items inside mega */
.site-nav__list > li.menu-item-has-children.has-mega > .sub-menu > li {
  position: relative;
  z-index: 1;
  margin: 0;
}

.site-nav__list > li.menu-item-has-children.has-mega > .sub-menu > li:first-child > a {
  border-radius: 17px 17px 0 0;
}

.site-nav__list > li.menu-item-has-children.has-mega > .sub-menu > li:last-child > a {
  border-radius: 0 0 17px 17px;
}

.site-nav__list > li.menu-item-has-children.has-mega > .sub-menu > li > a {
 display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  padding: 12px 14px;
  border-radius: 0;

  text-decoration: none;
  color: rgba(245,245,245,0.96);
  background: transparent;

  font-size: 12px;
  line-height: 1.35;

  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

/* Services-style arrow on the right */
.site-nav__list > li.menu-item-has-children.has-mega > .sub-menu > li > a::after {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;

  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 6V18M12 6L7 11M12 6L17 11' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 6V18M12 6L7 11M12 6L17 11' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(45deg);

  flex-shrink: 0;
}


.site-nav__list > li.menu-item-has-children.has-mega > .sub-menu > li > a:hover,
.site-nav__list > li.menu-item-has-children.has-mega > .sub-menu > li > a:focus-visible {
  color: #ffffff;
  background: #d7261e;
  transform: translateY(-1px);
}

/* Smaller icons in dropdown items */
.site-nav__list > li.menu-item-has-children.has-mega > .sub-menu > li > a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Hero (vertical) dropdown alignment */
.site-header__hero-nav .site-nav__list--hero > li.menu-item-has-children.has-mega > .sub-menu {
  left: 0;
  transform: none;
}

/* OPTIONAL: simple dropdown style for any non-mega children */
.site-nav__list > li.menu-item-has-children:not(.has-mega) {
  position: relative;
}

.site-nav__list > li.menu-item-has-children:not(.has-mega)::after {
  content: "";
  position: absolute;
  z-index: 89;
  top: 100%;
  left: 0;
  width: max(100%, 220px);
  height: 12px;
}

.site-nav__list > li.menu-item-has-children:not(.has-mega) > .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 90;
  margin-top: 0;
  list-style: none;
  padding: 0;
  background: #111318;
  border-radius: 12px;
  overflow: visible;
  isolation: isolate;
}

.site-nav__list > li.menu-item-has-children:not(.has-mega) > .sub-menu::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -16px -24px -24px;
  background: transparent;
}

.site-nav__list > li.menu-item-has-children:not(.has-mega) > .sub-menu > li {
  position: relative;
  z-index: 1;
}

.site-nav__list > li.menu-item-has-children:not(.has-mega) > .sub-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  color: rgba(245,245,245,0.96);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.site-nav__list > li.menu-item-has-children:not(.has-mega) > .sub-menu > li:first-child > a {
  border-radius: 11px 11px 0 0;
}

.site-nav__list > li.menu-item-has-children:not(.has-mega) > .sub-menu > li:last-child > a {
  border-radius: 0 0 11px 11px;
}

.site-nav__list > li.menu-item-has-children:not(.has-mega) > .sub-menu > li > a::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 6V18M12 6L7 11M12 6L17 11' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 6V18M12 6L7 11M12 6L17 11' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(45deg);
}

.site-nav__list > li.menu-item-has-children:not(.has-mega) > .sub-menu > li > a:hover,
.site-nav__list > li.menu-item-has-children:not(.has-mega) > .sub-menu > li > a:focus-visible {
  color: #ffffff;
  background: #d7261e;
  transform: translateY(-1px);
}



/* ========== HAMBURGER (MOBILE) ========== */

.site-header__burger {
  position: relative;
  display: none; /* hidden on desktop */
  width: 32px;
  height: 26px;
  border: none;
  background: transparent;
  background-color: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 120;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}

.site-header__burger:hover,
.site-header__burger:focus,
.site-header__burger:active,
.site-header__burger:focus-visible,
body.nav-open .site-header__burger {
  background: transparent;
  background-color: transparent;
  outline: none;
  box-shadow: none;
}

.burger__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  top: 8px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.site-header.is-sticky .burger__line {
  background: #111111;
}

.hero-dark .burger__line {
  background: #ffffff;
}

.burger__line:last-child {
  top: 16px;
}

body.nav-open .site-header .site-header__burger[aria-expanded="true"] .burger__line {
  background: #ffffff;
  opacity: 1;
}

body.nav-open .site-header__burger .burger__line:first-child {
  top: 12px;
  transform: rotate(45deg);
}

body.nav-open .site-header__burger .burger__line:last-child {
  top: 12px;
  transform: rotate(-45deg);
}

/* ========== MOBILE OVERLAY NAV ========== */

.mobile-nav {
  pointer-events: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 80;
}

.mobile-nav__shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;  /* full width */
  height: 0;
  background: #111318;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.8);
  transform-origin: top;
  transition: height 0.35s ease-out;
}
/* when open */
body.nav-open .mobile-nav {
  pointer-events: auto;
}

/* when open */
body.nav-open .mobile-nav__shape {
  height: 100%; /* full viewport height */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.mobile-nav__inner {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(72px, 12vh, 120px) 20px 32px;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease-out 0.1s, transform 0.35s ease-out 0.1s;
}

body.nav-open .mobile-nav__inner {
  opacity: 1;
  transform: translateY(0);
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
}

/* change logo color on dark background (if possible) */
body.nav-open .site-header__logo img,
body.nav-open .site-header__logo--mobile img {
  filter: none;
}

/* Mobile nav links */
.mobile-nav__nav {
    margin-top: 0;
    width: 100%;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.mobile-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}

.mobile-nav__list > .mobile-nav__item {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.mobile-nav__list > .mobile-nav__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.mobile-nav__link {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font-size: 31.5px;
  line-height: 1.3;
  color: #f6f6f6;
  text-decoration: none;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  align-items: center;
  padding-left: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.25s ease;
}

.mobile-nav__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #d7261e;
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav__link:hover,
.mobile-nav__link:active,
.mobile-nav__item--open > .mobile-nav__link--toggle {
  color: #ffffff;
}

.mobile-nav__link:hover::before,
.mobile-nav__link:active::before,
.mobile-nav__item--open > .mobile-nav__link--toggle::before {
  transform: translateX(0);
}

.mobile-nav__link--toggle {
  cursor: pointer;
  justify-content: space-between;
  padding-right: 12px;
}

.mobile-nav__caret {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 17px;
  opacity: 0.75;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav__caret svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mobile-nav__item--open > .mobile-nav__link--toggle .mobile-nav__caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Sub-links (simple text only) */
.mobile-nav__sublist {
  list-style: none;
  padding: 0 0 0 12px;
  margin: 0;
  display: grid;
  gap: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  text-align: left;
}

.mobile-nav__sublink,
.mobile-nav__sublink:visited {
  display: block;
  padding: 2px 0;
  font-size: 15px;
  color: rgba(245,245,245,0.88);
  text-decoration: none;
}

.mobile-nav__sublink:hover,
.mobile-nav__sublink:focus,
.mobile-nav__sublink:focus-visible,
.mobile-nav__sublink:active {
  color: #ffffff;
}

/* Submenu open */
.mobile-nav__item--open .mobile-nav__sublist {
  max-height: 200px;
  padding-top: 15px;
  padding-bottom: 15px;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile CTA */
.mobile-nav__item--cta {
  margin-top: 8px;
}

.mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #111318;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav__contact {
  margin-top: auto;
  padding-top: 28px;
  align-self: flex-start;
  text-align: left;
}

.mobile-nav__contact-link {
  display: block;
  color: rgba(245,245,245,0.9);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.mobile-nav__address {
  margin: 10px 0 0;
  color: rgba(245,245,245,0.75);
  font-size: 13px;
  line-height: 1.4;
}

/* ========== RESPONSIVE BEHAVIOR ========== */

@media (max-width: 1000px) {
  .site-header__nav-shell {
    display: none;
  }

  .site-header__burger {
    display: inline-flex;
    margin-right: clamp(12px, 3vw, 20px);
  }

  .site-header__hero-nav {
    display: none;
  }

  .site-header__container {
    align-items: center;
    gap: 12px;
    padding-left: clamp(18px, 4vw, 64px);
    padding-right: clamp(18px, 4vw, 64px);
  }

  .site-header__logo img {
    width: clamp(110px, 22vw, 140px) !important;
  }

  .site-header__logo {
    max-width: 70vw;
  }
}
@media (max-width: 768px) {
  .site-header__logo img {
    width: clamp(100px, 26vw, 130px) !important;
  }
}

@media (max-width: 600px) {
  .site-header__container {
    gap: 8px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header__logo img {
    width: clamp(90px, 32vw, 115px) !important;
  }

  .site-header__burger {
    width: 28px;
    height: 24px;
  }

  .burger__line {
    top: 7px;
  }

  .burger__line:last-child {
    top: 15px;
  }
}

/* Slit headline reveal (sitewide) */
.atr-slit {
  display: block;
  overflow: visible;
}

.atr-slit__word {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.09em;
  line-height: 1.1;
}

.atr-slit__word-inner {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  will-change: transform, opacity;
}

.atr-slit.is-visible .atr-slit__word {
  /* container stays put; animate inner */
}

.atr-slit.is-visible .atr-slit__word-inner {
  animation: atr-slit-word-pop 0.85s cubic-bezier(0.22, 1.02, 0.32, 1) both;
  animation-delay: var(--word-delay, 0ms);
}

@keyframes atr-slit-word-pop {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
