:root {
  --hudson-ink: #071425;
  --hudson-ink-deep: #030b14;
  --hudson-paper: #f7f8f7;
  --hudson-mist: #eef1ef;
  --hudson-eucalyptus: #8fa590;
  --hudson-line: rgba(7, 20, 37, 0.12);
  --hudson-glass-dark: rgba(5, 15, 27, 0.72);
  --hudson-glass-light: rgba(250, 251, 250, 0.82);
  --hudson-shadow-sm: 0 14px 36px -28px rgba(7, 20, 37, 0.48);
  --hudson-shadow-md: 0 28px 70px -46px rgba(7, 20, 37, 0.55);
  --hudson-shadow-lg: 0 42px 100px -58px rgba(2, 8, 15, 0.75);
  --hudson-radius: 18px;
}

html {
  scroll-behavior: smooth;
  background: var(--hudson-ink-deep);
}

body {
  background: var(--hudson-paper);
  color: var(--hudson-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}

::selection {
  background: var(--hudson-eucalyptus);
  color: var(--hudson-ink-deep);
}

/* A single, calm glass header across every public page. */
#top-nav {
  background: var(--hudson-glass-dark) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  box-shadow: 0 16px 50px -38px rgba(0, 0, 0, 0.82) !important;
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

#top-nav::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}

#top-nav > div:first-child {
  width: 100%;
}

#top-nav [data-header-logo="true"] {
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.16));
  transition: filter 280ms ease, transform 280ms ease;
}

#top-nav a:hover [data-header-logo="true"] {
  transform: translateY(-1px);
}

#top-nav [data-header-link="true"] {
  position: relative;
  opacity: 0.82;
  letter-spacing: 0.09em !important;
  text-decoration: none;
  transition: color 220ms ease, opacity 220ms ease;
}

#top-nav [data-header-link="true"]:hover,
#top-nav [data-header-link="true"].border-b-2 {
  opacity: 1;
}

#top-nav [data-header-cta="true"] {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.55);
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

#top-nav [data-header-cta="true"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -20px rgba(0, 0, 0, 0.65);
}

#top-nav.bg-white {
  background: var(--hudson-glass-light) !important;
  border-color: rgba(7, 20, 37, 0.1) !important;
  box-shadow: 0 18px 52px -40px rgba(7, 20, 37, 0.6) !important;
}

#top-nav.bg-white::after {
  background: linear-gradient(90deg, transparent, rgba(7, 20, 37, 0.14), transparent);
}

#mobile-menu > div {
  background: rgba(5, 15, 27, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  box-shadow: var(--hudson-shadow-lg);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
}

#mobile-menu a {
  padding: 0.68rem 0.75rem;
  border-radius: 10px;
  transition: background-color 180ms ease, transform 180ms ease;
}

#mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

/* More editorial rhythm without changing page structure. */
main > section,
body > section {
  isolation: isolate;
}

main > section.bg-surface,
main > section.bg-white,
main > section.bg-surface-container,
main > section.bg-surface-container-lowest {
  border-top: 1px solid rgba(7, 20, 37, 0.06);
}

.section-kicker,
.hero-badge,
.offer-card-heading {
  text-transform: uppercase;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* Shared component depth. */
.service-detail-card,
.support-card,
.value-card,
.audience-card,
.philosophy-pill,
.expect-item,
.timeline-card,
.stat-strip-card,
.testimonial-card-inner {
  border-color: rgba(7, 20, 37, 0.1) !important;
  box-shadow: var(--hudson-shadow-sm);
  transition: transform 300ms cubic-bezier(0.2, 0.75, 0.25, 1),
              box-shadow 300ms ease,
              border-color 300ms ease;
}

.service-detail-card:hover,
.support-card:hover,
.value-card:hover,
.audience-card:hover,
.philosophy-pill:hover,
.expect-item:hover,
.timeline-card:hover,
.stat-strip-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 165, 144, 0.38) !important;
  box-shadow: var(--hudson-shadow-md);
}

.testimonial-card-inner {
  overflow: hidden;
}

.testimonial-name::after {
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 0.85rem;
  content: "";
  background: currentColor;
  opacity: 0.28;
}

/* Premium controls with visible keyboard focus. */
a[class*="rounded"],
button[class*="rounded"] {
  transition-property: color, background-color, border-color, opacity, transform, box-shadow;
  transition-duration: 220ms;
  transition-timing-function: ease;
}

a[class*="rounded"]:hover,
button[class*="rounded"]:hover {
  transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(143, 165, 144, 0.72) !important;
  outline-offset: 3px !important;
}

input,
textarea,
select {
  border-color: rgba(7, 20, 37, 0.14) !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(7, 20, 37, 0.26) !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(7, 20, 37, 0.42) !important;
  box-shadow: 0 0 0 4px rgba(143, 165, 144, 0.16) !important;
}

/* Photography should feel intentional and tactile. */
main img:not([data-header-logo="true"]):not(.ausactive-badge) {
  image-rendering: auto;
}

.section-photo-frame,
.gallery-item,
.gallery-tile,
figure[class*="overflow-hidden"] {
  overflow: hidden;
  box-shadow: var(--hudson-shadow-md);
}

.section-photo-frame img,
.gallery-item img,
.gallery-tile img,
figure[class*="overflow-hidden"] img {
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.2, 1), filter 500ms ease;
}

.section-photo-frame:hover img,
.gallery-item:hover img,
.gallery-tile:hover img,
figure[class*="overflow-hidden"]:hover img {
  transform: scale(1.025);
  filter: saturate(1.03) contrast(1.02);
}

/* Dark sections gain depth without decorative clutter. */
.bg-primary {
  --hudson-dark-line: rgba(255, 255, 255, 0.075);
}

footer.bg-primary {
  position: relative;
  background-color: var(--hudson-ink-deep) !important;
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

footer.bg-primary::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(143, 165, 144, 0.55), transparent);
}

footer a {
  text-underline-offset: 4px;
}

.booking-modal-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 110px -45px rgba(1, 6, 12, 0.82) !important;
}

/* Consultation remains the most immersive page, with a crisper glass panel. */
[data-page-name="meta_consultation_landing"] .offer-panel {
  background: linear-gradient(150deg, rgba(19, 31, 45, 0.78), rgba(7, 17, 29, 0.6)) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 36px 95px -48px rgba(0, 0, 0, 0.92) !important;
  -webkit-backdrop-filter: blur(24px) saturate(138%);
  backdrop-filter: blur(24px) saturate(138%);
}

[data-page-name="meta_consultation_landing"] .offer-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.075)) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

@media (max-width: 1023px) {
  #top-nav {
    padding-inline: 1rem !important;
  }

  #top-nav [data-header-logo="true"] {
    max-width: 112px;
  }
}

@media (max-width: 767px) {
  :root {
    --hudson-radius: 14px;
  }

  #top-nav {
    background: rgba(4, 13, 24, 0.86) !important;
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
  }

  #top-nav.bg-white {
    background: rgba(250, 251, 250, 0.9) !important;
  }

  .service-detail-card:hover,
  .support-card:hover,
  .value-card:hover,
  .audience-card:hover,
  .philosophy-pill:hover,
  .expect-item:hover,
  .timeline-card:hover,
  .stat-strip-card:hover,
  a[class*="rounded"]:hover,
  button[class*="rounded"]:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
