/* Shared foundation for the three locally staged service landing pages. */
.a360-landing {
  --landing-paper: #fbfaf6;
  --landing-stone: #eeeae2;
  --landing-ink: #112839;
  --landing-muted: #5b656b;
  --landing-gold: #a17c3f;
  margin: 0;
  background: var(--landing-paper);
}
.a360-landing .a360-homepage {
  background: var(--landing-paper);
  overflow: visible;
  overflow: clip;
}
.a360-landing .a360-header.a360-page-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  min-height: 0;
  padding-block: 29px 0;
  background: transparent;
}
.a360-landing .a360-page-header .a360-logo,
.a360-landing .a360-page-header .a360-logo span,
.a360-landing .a360-page-header .a360-nav > a:not(.a360-btn),
.a360-landing .a360-page-header .a360-shell-toggle { color: #fff; }
.a360-landing .a360-page-header .a360-logo span { color: #ffffffb8; }
.a360-landing main { overflow: clip; }
.a360-landing :is(section, article, div)[id] { scroll-margin-top: 32px; }
.a360-landing :is(a,button,summary,input):focus-visible { outline: 2px solid #c8a96a; outline-offset: 5px; }
.a360-landing button { font-family: var(--a360-sans); }
.a360-landing-kicker {
  display: block;
  margin: 0 0 22px;
  color: var(--landing-gold);
  font: 800 10px/1.6 var(--a360-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.a360-landing .a360-landing-heading {
  margin: 0;
  color: var(--landing-ink);
  font: 400 clamp(48px,5.6vw,88px)/1.02 var(--a360-serif);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.a360-landing .a360-landing-heading em { color: var(--landing-gold); font-weight: inherit; }
.a360-landing-lede {
  max-width: 560px;
  color: var(--landing-muted);
  font-size: 16px;
  line-height: 1.9;
}
.a360-landing-section { padding-block: clamp(80px,9vw,140px); }
.a360-landing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.a360-landing .a360-btn { min-height: 48px !important; line-height: 1.35 !important; }
.a360-landing-card {
  position: relative;
  display: block;
  min-width: 0;
  padding: 8px;
  color: var(--landing-ink);
  background: #ffffff85;
  box-shadow: 0 14px 40px #0718270e;
  text-decoration: none;
  transition: transform .48s cubic-bezier(.22,1,.36,1), box-shadow .48s ease, background .48s ease;
}
.a360-landing-card-media {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #18313e;
}
.a360-landing .a360-landing-card-media > :is(img,picture),
.a360-landing .a360-landing-card-media > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.a360-landing-card-copy { display: block; padding: 24px 16px 22px; }
.a360-landing-card-copy h3 {
  margin: 0 0 12px;
  color: var(--landing-ink);
  font: 400 clamp(29px,2.7vw,40px)/1.08 var(--a360-serif);
  letter-spacing: -.025em;
}
.a360-landing-card-copy p { margin: 0; color: var(--landing-muted); font-size: 14px; line-height: 1.8; }
.a360-landing-arrow {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff82;
  border-radius: 50%;
  color: #fff;
  background: #07182735;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(4px);
  font: 400 18px/1 var(--a360-sans);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.a360-landing-arrow svg { width: 17px; height: 17px; }
.a360-landing-card:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 54px #0718271f; }
.a360-landing-card:focus-visible .a360-landing-arrow { opacity: 1; transform: translateY(0); }
@media (hover:hover) and (pointer:fine) {
  .a360-landing-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px #0718271f; background: #ffffffb8; }
  .a360-landing-card:hover .a360-landing-arrow { opacity: 1; transform: translateY(0); }
}

/* Reveal the composition. Image crops stay fixed during card interaction. */
.a360-landing-motion-ready [data-landing-reveal].is-reveal-pending {
  opacity: 0;
  translate: 0 24px;
}
.a360-landing-motion-ready [data-landing-reveal] {
  transition: opacity .75s ease, translate .85s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--landing-reveal-delay,0ms);
}
.a360-landing-motion-ready .a360-landing-card[data-landing-reveal] {
  transition: opacity .75s ease, translate .85s cubic-bezier(.22,1,.36,1), transform .48s cubic-bezier(.22,1,.36,1), box-shadow .48s ease, background .48s ease;
}
[data-landing-parallax] { transform: translate3d(0,var(--landing-parallax-y,0px),0); }

/* A little overscan removes encoded video edges without moving the card image. */
[data-landing-video-host] {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .65s ease;
}
.is-preview-playing [data-landing-video-host] { opacity: 1; }
[data-landing-video-host] iframe {
  position: absolute;
  left: -5%;
  top: -5%;
  width: 110%;
  height: 110%;
  max-width: none;
  border: 0;
  pointer-events: none;
}
[data-landing-motion-toggle][hidden] { display: none; }

[data-landing-vimeo-hero-host] {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.is-video-ready [data-landing-vimeo-hero-host] { opacity: 1; }
[data-landing-vimeo-hero-host] iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  max-width: none;
  border: 0;
  pointer-events: none;
}

/* Quiet collection cards: one name, one direction, a little room to move. */
.a360-category-pagination { color: var(--landing-ink); background: var(--landing-stone); border-top: 1px solid #11283914; }
.a360-category-pagination > .a360-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 28px;
  padding-block: 34px;
}
.a360-category-pagination a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 21px;
  width: 100%;
  min-height: 110px;
  max-width: 100%;
  padding: 20px 24px;
  border: 1px solid #11283914;
  background: #fbfaf624;
  color: var(--landing-ink);
  font: 400 clamp(31px,3.1vw,45px)/1.1 var(--a360-serif);
  letter-spacing: -.025em;
  text-decoration: none;
  transition: background .35s ease,border-color .35s ease,box-shadow .35s ease;
}
.a360-category-pagination a[rel="next"] { justify-content: flex-end; text-align: right; }
.a360-category-pagination a > span { position: relative; }
.a360-category-pagination a > span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: #a17c3f80; transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.a360-category-pagination a[rel="next"] > span::after { transform-origin: right; }
.a360-category-pagination svg { flex: 0 0 auto; width: 48px; height: 48px; padding: 13px; border: 1px solid #11283945; border-radius: 50%; background: #fbfaf650; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s ease,background .35s ease,border-color .35s ease; }
.a360-category-pagination a:is(:hover,:focus-visible) { background: #fbfaf6a6; border-color: #1128392b; box-shadow: 0 8px 24px #11283906; }
.a360-category-pagination a:focus-visible { outline: 2px solid var(--landing-gold); outline-offset: 5px; }
.a360-category-pagination a:is(:hover,:focus-visible) > span::after { transform: scaleX(1); }
.a360-category-pagination a:is(:hover,:focus-visible) svg { transform: translateX(-3px); background: var(--landing-paper); border-color: #11283970; }
.a360-category-pagination a[rel="next"]:is(:hover,:focus-visible) svg { transform: translateX(3px); }

.a360-landing-faq details { border-top: 1px solid #11283925; overflow: hidden; }
.a360-landing-faq details:last-child { border-bottom: 1px solid #11283925; }
.a360-landing-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 22px 42px 22px 0;
  color: var(--landing-ink);
  font: 700 14px/1.6 var(--a360-sans);
  list-style: none;
  cursor: pointer;
}
.a360-landing-faq summary::-webkit-details-marker { display: none; }
.a360-landing-faq summary::after { content: '+'; position: absolute; right: 6px; top: calc(50% - 13px); color: var(--landing-gold); font: 300 26px/1 var(--a360-sans); transition: transform 260ms ease; }
.a360-landing-faq details[open]:not([data-faq-expanded]) summary::after,
.a360-landing-faq details[data-faq-expanded="true"] summary::after { transform: rotate(45deg); }
.a360-landing-faq details > :not(summary) { max-width: 700px; margin: 0; padding: 0 36px 24px 0; color: var(--landing-muted); font-size: 14px; line-height: 1.8; }
.a360-landing-faq p a { text-decoration: underline; text-underline-offset: 3px; }

.a360-landing-video-dialog,
.a360-landing-video-dialog * { box-sizing: border-box; }
.a360-landing-video-dialog {
  width: min(1120px,calc(100vw - 48px),calc((100svh - 160px) * 16 / 9));
  max-width: none;
  max-height: calc(100svh - 48px);
  padding: 0;
  border: 0;
  color: #fbfaf6;
  background: transparent;
  font-family: var(--a360-sans);
  overflow: auto;
}
.a360-landing-video-dialog::backdrop { background: #030b13e8; backdrop-filter: blur(8px); }
.a360-landing-video-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 16px; }
.a360-landing-video-dialog-title { margin: 0; font: 400 28px/1.2 var(--a360-serif); }
.a360-landing-video-dialog-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.a360-landing-video-dialog-close svg { width: 20px; height: 20px; stroke: currentColor; }
.a360-landing-video-dialog-media { position: relative; aspect-ratio: 16/9; background: #030b13; }
.a360-landing-video-dialog-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.a360-landing-video-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #e0c98f; font-size: 13px; }
.a360-landing-video-external { display: inline-block; padding: 15px 0 0; color: #e0c98f; font-size: 12px; }
@media (max-width:720px) {
  .a360-landing .a360-header.a360-page-header { padding-top: 20px; }
  .a360-landing .a360-landing-heading { font-size: clamp(40px,10.5vw,68px); }
  .a360-landing-lede { font-size: 15px; line-height: 1.8; }
  .a360-landing-section { padding-block: 74px; }
  .a360-landing-card-copy { padding: 23px 14px; }
  .a360-landing-card-copy h3 { font-size: clamp(29px,7.8vw,40px); }
  .a360-landing-actions .a360-btn { padding-inline: 22px !important; }
  .a360-category-pagination > .a360-shell { gap: 18px; padding-block: 24px; }
  .a360-category-pagination a { gap: 14px; min-height: 88px; padding: 16px; font-size: clamp(27px,4.6vw,33px); }
  .a360-category-pagination svg { width: 40px; height: 40px; padding: 10px; }
  .a360-landing-faq summary { min-height: 72px; padding-block: 21px; }
  .a360-landing-video-dialog { width: min(calc(100vw - 24px),calc((100svh - 145px) * 16 / 9)); max-height: calc(100svh - 24px); padding: 0; }
  .a360-landing-video-dialog-title { font-size: 23px; }
}
@media (max-width:560px) {
  .a360-category-pagination > .a360-shell { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; padding-block: 16px 18px; }
  .a360-category-pagination > .a360-shell::before { content: 'Explore more services'; grid-column: 1 / -1; margin-bottom: 5px; color: var(--landing-gold); font: 700 9px/1.4 var(--a360-sans); letter-spacing: .15em; text-transform: uppercase; }
  .a360-category-pagination a { flex-direction: row; align-items: center; justify-content: flex-start; min-width: 0; min-height: 52px; gap: 6px; padding: 4px 9px 4px 0; border: 0; border-radius: 0; background: transparent; font-size: clamp(18px,5vw,21px); line-height: 1.1; letter-spacing: -.035em; }
  .a360-category-pagination a[rel="prev"]::after { content: ''; position: absolute; top: 8px; right: 0; bottom: 8px; width: 1px; background: #11283925; }
  .a360-category-pagination a[rel="next"] { flex-direction: row; align-items: center; justify-content: flex-end; padding: 4px 0 4px 9px; }
  .a360-category-pagination a > span { max-width: 100%; white-space: nowrap; }
  .a360-category-pagination a > span::after { display: none; }
  .a360-category-pagination svg { width: 19px; height: 19px; padding: 1px; border: 0; background: transparent; }
  .a360-category-pagination a:is(:hover,:focus-visible) { background: transparent; border-color: transparent; box-shadow: none; color: var(--landing-gold); }
}
@media (prefers-reduced-motion:reduce) {
  .a360-landing-motion-ready [data-landing-reveal].is-reveal-pending { opacity: 1; translate: none; }
  .a360-landing-motion-ready [data-landing-reveal],
  .a360-landing-card,
  .a360-landing-arrow,
  [data-landing-video-host],
  [data-landing-vimeo-hero-host],
  .a360-category-pagination a,
  .a360-category-pagination a::after,
  .a360-category-pagination a > span::after,
  .a360-category-pagination svg,
  .a360-landing-faq summary::after { transition: none !important; }
  .a360-landing-card:is(:hover,:focus-visible), [data-landing-parallax] { transform: none; }
}
