/* Agarta 2.5.3 — Ocean only. The original photo, foreground mask and word
   geometry stay in their existing layers; only lettering paint is changed. */
.agm-hero__intro .agm-intro-ocean{display:none}
body.agm-page[data-theme=ocean] .agm-intro-default{display:none}
body.agm-page[data-theme=ocean] .agm-intro-ocean{display:block}

/* Bebas caps sit above the line-box centre with the shared 75/25 metrics.
   Move only their ink, never the pill, focus target or arrow. */
body.agm-page[data-theme=ocean] .agm-header{align-items:center}
body.agm-page[data-theme=ocean] .agm-nav{align-items:center}
body.agm-page[data-theme=ocean] .agm-nav a{
 display:inline-flex;align-items:center;justify-content:center;line-height:1;
 min-block-size:36px;
}
body.agm-page[data-theme=ocean] .agm-header__contact{
 align-items:center;justify-content:center;line-height:1;
}
body.agm-page[data-theme=ocean] .agm-nav__label,
body.agm-page[data-theme=ocean] .agm-header__contact-label{
 display:inline-block;transform:translateY(.12em);
}

/* Decorative activity ring: the label is ordinary status text, no percentage
   or promise of real loading progress is exposed to assistive technology. */
body.agm-page[data-theme=ocean] .agm-status{
 align-items:center;gap:9px;font-size:13px;line-height:1.4;letter-spacing:.10em;
}
body.agm-page[data-theme=ocean] .agm-status>span{
 flex:0 0 auto;inline-size:16px;block-size:16px;background:transparent;
 border:2px solid rgba(106,226,223,.28);border-top-color:var(--agm-accent);
 border-right-color:var(--agm-accent);border-radius:50%;box-shadow:none;
 animation:agm-ocean-activity 1.2s linear infinite;
}
@keyframes agm-ocean-activity{to{transform:rotate(1turn)}}

/* Solid AGA -> increasingly transparent R/T -> outline-only last A.
   Each painted copy inherits every shaping property from the original div.
   The existing aria-hidden and z-index:0 keep both below the photo silhouette. */
@supports (-webkit-text-stroke:1px #fff) and ((background-clip:text) or (-webkit-background-clip:text)){
 body.agm-page[data-theme=ocean] .agm-ocean-word{
  color:transparent;-webkit-text-fill-color:transparent;
  background-image:linear-gradient(90deg,#f4ffff 0%,#f4ffff 44%,rgba(244,255,255,.52) 65%,rgba(244,255,255,.08) 81%,rgba(244,255,255,0) 88%);
  background-size:100% 100%;background-repeat:no-repeat;
  background-clip:text;-webkit-background-clip:text;
 }
 body.agm-page[data-theme=ocean] .agm-ocean-word::after{
  content:attr(data-text);position:absolute;inset:0;display:block;
  font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;
  font-kerning:inherit;font-feature-settings:inherit;font-variation-settings:inherit;
  color:transparent;-webkit-text-fill-color:transparent;
  -webkit-text-stroke:clamp(.65px,.004em,1.2px) rgba(244,255,255,.88);
  -webkit-mask-image:linear-gradient(90deg,transparent 42%,#000 70%);
  mask-image:linear-gradient(90deg,transparent 42%,#000 70%);
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;pointer-events:none;
 }
}

/* The same full original sentence gets a deliberate, balanced two-line split
   only when space allows. Small screens and enlarged text may wrap naturally. */
@media(min-width:861px){
 body.agm-page[data-theme=ocean] .agm-hero__intro{max-inline-size:440px}
 body.agm-page[data-theme=ocean] .agm-intro-ocean>span{display:block}
}
@media (min-width:1100px) and (min-height:620px), (min-width:1024px) and (min-height:640px){
 body.agm-page[data-theme=ocean] .agm-hero__copy{
  inline-size:min(900px,100%);grid-template-columns:minmax(0,440px) auto;
 }
 body.agm-page[data-theme=ocean] .agm-hero__intro{
  max-inline-size:440px;inline-size:100%;font-size:12px;
 }
}
@media(max-width:580px){
 body.agm-page[data-theme=ocean] .agm-status{font-size:11px;gap:8px}
 body.agm-page[data-theme=ocean] .agm-status>span{inline-size:14px;block-size:14px}
}
@media(prefers-reduced-motion:reduce){
 body.agm-page[data-theme=ocean] .agm-status>span{animation:none}
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
 body.agm-page[data-theme=ocean] .agm-ocean-word{
  background-image:none;color:#f4ffff;-webkit-text-fill-color:#f4ffff;
 }
 body.agm-page[data-theme=ocean] .agm-ocean-word::after{display:none}
}
@media(forced-colors:active){
 body.agm-page[data-theme=ocean] .agm-ocean-word{
  background-image:none;color:CanvasText;-webkit-text-fill-color:CanvasText;
 }
 body.agm-page[data-theme=ocean] .agm-ocean-word::after{display:none}
 body.agm-page[data-theme=ocean] .agm-status>span{
  border-color:GrayText;border-top-color:CanvasText;border-right-color:CanvasText;
 }
}
