:root {
  --ink: #0b302f;
  --ink-2: #143f3d;
  --ink-soft: #365653;
  --moss: #5f7d64;
  --moss-deep: #315a44;
  --rose: #a45d69;
  --amber: #c8a36a;
  --mist: #edf4ee;
  --paper: #fbfcf8;
  --paper-2: #f4f7ef;
  --white: #ffffff;
  --line: rgba(11, 48, 47, 0.15);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 84px rgba(11, 48, 47, 0.18);
  --sans: "Aptos", "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.is-solid {
  color: var(--ink);
  background: rgba(251, 252, 248, 0.94);
  box-shadow: 0 14px 40px rgba(11, 48, 47, 0.13);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 92px;
  height: 92px;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 92px;
  height: 92px;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.brand-logo-white {
  opacity: 1;
}

.brand-logo-green {
  opacity: 0;
  background: #082425;
  -webkit-mask: url("../img/aleana-logo-white.png") center / contain no-repeat;
  mask: url("../img/aleana-logo-white.png") center / contain no-repeat;
}

.site-header.is-scrolled .brand-logo-white,
.site-header.is-open .brand-logo-white,
.site-header.is-solid .brand-logo-white {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-green,
.site-header.is-open .brand-logo-green,
.site-header.is-solid .brand-logo-green {
  opacity: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-alerts {
  position: absolute;
  z-index: 9;
  top: clamp(124px, 15vh, 158px);
  left: max(20px, calc((100% - 1180px) / 2));
  right: max(20px, calc((100% - 1180px) / 2));
  display: grid;
  gap: 12px;
}

.site-alerts--count-1 { grid-template-columns: minmax(0, 470px); }
.site-alerts--count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-alerts--count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-alerts--count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-alerts--count-5,
.site-alerts--count-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.site-alerts--count-5 .site-alert,
.site-alerts--count-6 .site-alert { grid-column: span 2; }
.site-alerts--count-5 .site-alert:nth-child(4) { grid-column: 2 / span 2; }
.site-alerts:not(.site-alerts--count-1):not(.site-alerts--count-2):not(.site-alerts--count-3):not(.site-alerts--count-4):not(.site-alerts--count-5):not(.site-alerts--count-6) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-alert {
  position: relative;
  width: 100%;
  min-height: 108px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: var(--white);
  background: rgba(7, 44, 40, 0.76);
  border: 1px solid rgba(200, 163, 106, 0.48);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(5, 30, 30, 0.24);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.site-alert::before {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--alert-line-width, 58%);
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--amber), rgba(200, 163, 106, 0));
}

.site-alert--absence {
  background: rgba(7, 44, 40, 0.82);
}

.site-alert--upcoming {
  background: rgba(28, 82, 65, 0.84);
}

.site-alert--info {
  background: rgba(7, 44, 40, 0.82);
}

.site-alert-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.site-alert small {
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-alert strong {
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 600;
  line-height: 1.35;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 170ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  padding: 128px 0 92px;
  background: linear-gradient(135deg, #051e1e, #0b302f 48%, #172d29);
}

.hero-media,
.water-canvas,
.hero-veil,
.light-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center center;
  transform: none;
  transform-origin: center center;
  filter: saturate(0.82) contrast(1.05);
}

.water-canvas {
  z-index: 3;
  opacity: 0.42;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-veil {
  z-index: 2;
  background:
    radial-gradient(circle at 72% 28%, rgba(200, 163, 106, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(5, 30, 30, 0.94), rgba(8, 49, 49, 0.64) 44%, rgba(8, 49, 49, 0.18)),
    linear-gradient(0deg, rgba(5, 30, 30, 0.72), rgba(5, 30, 30, 0.04) 58%);
}

.light-field {
  z-index: 4;
  pointer-events: none;
}

.light-field span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.88);
  animation: glint 9s ease-in-out infinite;
}

.light-field span:nth-child(1) {
  left: 39%;
  top: 31%;
}

.light-field span:nth-child(2) {
  left: 50%;
  top: 38%;
  animation-delay: -2s;
}

.light-field span:nth-child(3) {
  left: 67%;
  top: 24%;
  animation-delay: -4s;
}

.light-field span:nth-child(4) {
  left: 27%;
  top: 47%;
  animation-delay: -5.4s;
}

.light-field span:nth-child(5) {
  left: 82%;
  top: 56%;
  animation-delay: -7s;
}

@keyframes glint {
  0%,
  100% {
    opacity: 0.1;
    transform: translate3d(0, 0, 0) scale(0.7);
  }
  45% {
    opacity: 0.9;
    transform: translate3d(10px, -16px, 0) scale(1.7);
  }
}

.hero-content {
  position: relative;
  z-index: 6;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 15px;
  color: var(--moss);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(3.35rem, 7.8vw, 6.8rem);
  font-weight: 400;
  line-height: 0.92;
}

h2 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.12;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

h4 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.lead {
  max-width: 730px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.12rem, 2.2vw, 1.56rem);
  line-height: 1.46;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--moss-deep);
  border-color: var(--moss-deep);
}

.button.primary.dark {
  background: var(--ink);
  border-color: var(--ink);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 8;
  width: 28px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue::after {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 8px;
  content: "";
  background: var(--white);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: cue 1.7s infinite;
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 14px);
  }
}

.opening,
.price-band {
  padding: clamp(68px, 9vw, 116px) 0;
  background: var(--mist);
}

.opening-grid,
.motion-grid,
.profile-grid,
.quote-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.opening-copy {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.service-lab {
  position: relative;
  padding: clamp(78px, 10vw, 138px) 0;
  background:
    linear-gradient(180deg, var(--paper), #f6f8f1 48%, var(--paper));
}

.section,
.news {
  padding: clamp(74px, 10vw, 132px) 0;
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.service-experience {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.service-rail {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.service-mobile-panel {
  display: none;
}

.service-tab {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.service-tab:hover,
.service-tab.is-active {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 18px 44px rgba(11, 48, 47, 0.16);
  transform: translateX(4px);
}

.service-tab span {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.service-stage {
  position: relative;
  min-height: 650px;
  padding: clamp(28px, 4vw, 46px);
  color: var(--white);
  background:
    radial-gradient(circle at 92% 14%, rgba(200, 163, 106, 0.22), transparent 30%),
    linear-gradient(135deg, #0b302f, #173f3e 46%, #244e48);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, rgba(11, 48, 47, 0.26), rgba(255, 255, 255, 0.07), rgba(11, 48, 47, 0.34)),
    url("../img/aleana-neural.jpg") center / cover no-repeat;
  opacity: 0.24;
  pointer-events: none;
}

.service-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at var(--pulse-x, 74%) var(--pulse-y, 32%), rgba(200, 163, 106, 0.16), transparent 26%),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.055), transparent);
  opacity: 0.9;
  pointer-events: none;
  transition: background 360ms ease;
}

.service-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.86;
  mix-blend-mode: screen;
  pointer-events: none;
}

.service-panel {
  position: absolute;
  inset: clamp(28px, 4vw, 46px);
  display: grid;
  align-content: start;
  gap: 34px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.service-panel.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.service-panel-head {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.service-panel h3 {
  max-width: 780px;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.12;
}

.service-panel p,
.principles p {
  color: rgba(255, 255, 255, 0.78);
}

.detail-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.detail-grid > div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.detail-grid h4 {
  color: rgba(255, 255, 255, 0.9);
}

.detail-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 19px;
  color: rgba(255, 255, 255, 0.78);
}

.detail-grid li::marker {
  color: var(--amber);
}

.service-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.service-footer p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.service-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex: 0 0 auto;
}

.service-actions .button {
  min-width: 154px;
  white-space: nowrap;
}

body.modal-open {
  overflow: hidden;
}

.service-detail-dialog {
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: min(82dvh, 780px);
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(200, 163, 106, 0.52);
  border-radius: 8px;
  box-shadow: 0 34px 100px rgba(2, 20, 19, 0.46);
  overflow: hidden;
}

.service-detail-dialog::backdrop {
  background: rgba(5, 24, 23, 0.62);
  backdrop-filter: blur(7px);
}

.service-detail-dialog[open] {
  animation: service-dialog-in 220ms ease both;
}

@keyframes service-dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.service-detail-window {
  position: relative;
  max-height: min(82dvh, 780px);
  background: linear-gradient(128deg, #082f2d, #164a42);
  overflow: hidden;
}

.service-detail-window::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url("../img/aleana-neural.jpg") center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.service-detail-window::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.035), transparent 42%, rgba(200, 163, 106, 0.07));
  pointer-events: none;
}

.service-detail-scroll {
  position: relative;
  z-index: 1;
  max-height: min(82dvh, 780px);
  padding: clamp(38px, 5vw, 58px) clamp(30px, 6vw, 66px) 34px;
  overflow-y: auto;
  scrollbar-color: rgba(200, 163, 106, 0.72) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.service-detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(4, 29, 28, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.service-detail-close:hover {
  background: var(--ink);
  border-color: var(--amber);
  transform: rotate(4deg);
}

.service-detail-header {
  max-width: 740px;
  padding-right: 32px;
}

.service-detail-header h3 {
  max-width: 760px;
  margin: 8px 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 400;
  line-height: 1.12;
}

.service-detail-lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.65;
}

.service-detail-copy {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.service-detail-copy > p,
.service-detail-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.72;
}

.service-detail-section {
  display: grid;
  gap: 13px;
  margin-top: 10px;
  padding-top: 23px;
  border-top: 1px solid rgba(200, 163, 106, 0.56);
}

.service-detail-section h4 {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.service-detail-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.service-detail-section li::marker {
  color: var(--amber);
}

.service-detail-copy blockquote {
  margin: 12px 0 0;
  padding: 18px 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(200, 163, 106, 0.56);
  border-left: 3px solid var(--amber);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.service-detail-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.motion-note {
  position: relative;
  padding: clamp(96px, 9vw, 116px) 0 clamp(68px, 9vw, 116px);
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(4, 26, 27, 0.99), rgba(8, 43, 41, 0.95) 58%, rgba(24, 52, 49, 0.91)),
    url("../img/aleana-neural.jpg") center / cover;
  isolation: isolate;
  overflow: hidden;
}

.motion-note::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 77% 34%, rgba(200, 163, 106, 0.14), transparent 24%);
  pointer-events: none;
}

.motion-note .container {
  position: relative;
  z-index: 2;
}

.motion-orbit {
  position: absolute;
  z-index: 1;
  top: 9%;
  right: 5%;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 163, 106, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.motion-orbit::before,
.motion-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.motion-orbit::before {
  inset: 16%;
}

.motion-orbit::after {
  inset: 34%;
  background: rgba(200, 163, 106, 0.08);
}

.motion-heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 48px);
  color: var(--white);
}

.motion-heading .section-kicker {
  color: var(--amber);
}

.motion-heading h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(2.25rem, 4vw, 3.4rem);
}

.motion-heading h2::after {
  width: clamp(54px, 9vw, 112px);
  height: 1px;
  content: "";
  background: var(--amber);
  opacity: 0.82;
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.motion-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.motion-grid--1 {
  grid-template-columns: minmax(0, 1fr);
}

.motion-card,
.news-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 36px rgba(11, 48, 47, 0.06);
}

.motion-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: linear-gradient(145deg, rgba(7, 40, 39, 0.82), rgba(29, 69, 64, 0.66));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 48px rgba(3, 25, 25, 0.22);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.motion-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 100% 0, rgba(200, 163, 106, 0.16), transparent 36%);
  pointer-events: none;
}

.motion-card > * {
  position: relative;
  z-index: 1;
}

.motion-card:hover {
  background: linear-gradient(145deg, rgba(7, 40, 39, 0.9), rgba(35, 78, 71, 0.78));
  border-color: rgba(200, 163, 106, 0.56);
  box-shadow: 0 22px 56px rgba(3, 25, 25, 0.3);
}

.motion-card h3 {
  margin-top: 0;
}

.motion-card-status {
  display: block;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.motion-card p {
  color: rgba(255, 255, 255, 0.74);
}

.motion-grid--3 .motion-card p,
.motion-grid--2 .motion-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.motion-grid--3 .motion-card p {
  -webkit-line-clamp: 4;
}

.motion-grid--2 .motion-card p {
  -webkit-line-clamp: 6;
}

.motion-grid--1 .motion-card {
  min-height: 260px;
  padding: clamp(28px, 4vw, 44px);
}

.motion-grid--1 .motion-card p {
  max-width: 900px;
  font-size: 1.05rem;
}

.motion-card-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--amber);
  font-weight: 800;
  text-decoration: none;
}

.motion-card-link span {
  transition: transform 180ms ease;
}

.motion-card-link:hover span {
  transform: translateX(4px);
}

.profile-section {
  position: relative;
  padding: clamp(74px, 10vw, 132px) 0;
  color: var(--white);
  background: linear-gradient(112deg, #082d2c, #0d3c37 58%, #183f37);
  overflow: hidden;
}

.profile-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(200, 163, 106, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%, rgba(0, 0, 0, 0.14));
  pointer-events: none;
}

.profile-grid {
  position: relative;
  z-index: 1;
}

.profile-image {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.profile-image::before {
  position: absolute;
  inset: 38px -18px -18px 38px;
  content: "";
  border: 1px solid rgba(200, 163, 106, 0.48);
  border-radius: 8px;
}

.profile-image::after {
  position: absolute;
  inset: 18px;
  content: "";
  background:
    linear-gradient(180deg, rgba(11, 48, 47, 0.02), rgba(11, 48, 47, 0.22)),
    radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.16), transparent 28%);
  border-radius: 6px;
  pointer-events: none;
}

.profile-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  filter: saturate(0.88) contrast(1.03) brightness(1);
}

.profile-lead {
  color: #c6d8c8;
  font-size: 1.22rem;
  font-weight: 800;
}

.profile-copy .section-kicker {
  color: #c6d8c8;
}

.profile-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.timeline div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline strong {
  color: var(--amber);
}

.profile-details {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(42px, 6vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.profile-detail {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.profile-detail summary {
  min-height: 62px;
  padding: 17px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}

.profile-detail summary::-webkit-details-marker {
  display: none;
}

.profile-detail summary:hover,
.profile-detail[open] summary {
  color: var(--amber);
}

.profile-detail summary i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.profile-detail summary i::before,
.profile-detail summary i::after {
  position: absolute;
  top: 8px;
  width: 10px;
  height: 1px;
  content: "";
  background: var(--amber);
  transition: transform 180ms ease;
}

.profile-detail summary i::before {
  left: 1px;
  transform: rotate(42deg);
}

.profile-detail summary i::after {
  right: 1px;
  transform: rotate(-42deg);
}

.profile-detail[open] summary i::before {
  transform: rotate(-42deg);
}

.profile-detail[open] summary i::after {
  transform: rotate(42deg);
}

.profile-detail-content {
  max-width: 920px;
  padding: 2px 2px 28px;
  animation: profile-detail-in 240ms ease both;
}

.profile-detail-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.76;
}

.profile-detail-content p:last-child {
  margin-bottom: 0;
}

.profile-detail-content blockquote {
  margin: 28px 0 2px;
  padding: 2px 0 2px 20px;
  color: var(--amber);
  border-left: 1px solid var(--amber);
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.5;
}

@keyframes profile-detail-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.timeline span {
  color: rgba(255, 255, 255, 0.75);
}

.quote-section {
  padding: clamp(74px, 10vw, 132px) 0;
  color: var(--white);
  background: var(--ink);
}

.quote-grid {
  align-items: stretch;
}

.quote-panel {
  position: relative;
  height: 100%;
  min-height: 430px;
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 46px);
  background: linear-gradient(135deg, rgba(16, 61, 56, 0.92), rgba(7, 39, 38, 0.98));
  border-radius: 8px;
  overflow: hidden;
}

.quote-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 72% 28%, rgba(200, 163, 106, 0.12), transparent 34%);
  pointer-events: none;
}

.neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  mix-blend-mode: screen;
  pointer-events: none;
}

.quote-panel p {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.25vw, 2.1rem);
  line-height: 1.16;
}

.quote-panel span {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 850;
}

.principles .section-kicker {
  color: #c6d8c8;
}

.principles div {
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.news {
  color: var(--white);
  background: var(--ink);
}

.news .section-kicker {
  color: var(--amber);
}

.news .section-heading h2 {
  color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.news-card {
  height: 100%;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.news-card p {
  color: rgba(255, 255, 255, 0.76);
}

.news-card h3,
.motion-card h3 {
  font-size: clamp(1.305rem, 2.16vw, 1.935rem);
}

.news-card-next {
  min-height: 18px;
  margin: 0 0 13px;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
  border: 0;
}

.news-card-next small,
.news-card-quick-facts small {
  color: var(--amber);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card-next strong { color: var(--amber); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.news-card-next--cancelled strong { color: #e7c8bd; }
.news-card-quick-facts { margin: 13px 0 18px; display: grid; gap: 9px; }
.news-card-quick-facts span { display: grid; gap: 2px; color: rgba(255,255,255,.84); font-size: .85rem; }
.news-card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }

.news-card-action {
  align-self: flex-start;
  min-height: 42px;
  margin-top: 0;
  padding: 9px 16px;
  color: var(--amber);
  background: transparent;
  border: 1px solid rgba(200, 163, 106, 0.72);
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}


.news-facts dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.news-facts dl > div { padding: 15px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 5px; }
.news-facts dt { margin-bottom: 5px; color: var(--amber); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.news-facts dd { margin: 0; color: var(--white); line-height: 1.45; }
.news-facts dd a { margin-left: 6px; color: var(--amber); font-size: .82rem; font-weight: 800; }
.news-all-sessions-link { width: fit-content; margin-top: 12px; padding: 10px 13px; color: var(--amber); background: transparent; border: 1px solid rgba(200,163,106,.66); border-radius: 4px; font: inherit; font-size: .8rem; font-weight: 850; cursor: pointer; }
.news-all-sessions-link:hover { color: var(--ink); background: var(--amber); }
.news-sessions-dialog { width: min(860px, calc(100% - 32px)); }
.news-sessions-dialog .service-detail-window { width: 100%; max-width: none; }
.news-sessions { scroll-margin-top: 20px; }
.news-sessions-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.news-sessions-heading .section-kicker { margin: 0 0 4px; }
.news-sessions-heading > span { color: rgba(255,255,255,.6); font-size: .78rem; }
.news-session-list { display: grid; gap: 8px; }
.news-session-row { padding: 14px 15px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.12); border-radius: 5px; }
.news-session-description { margin: 0; color: var(--white); line-height: 1.5; }
.news-session-row time { color: var(--white); font-weight: 850; }
.news-session-topic { color: rgba(255,255,255,.78); font-weight: 500; }
.news-session-row--cancelled { opacity: .56; }
.news-session-row--cancelled time { text-decoration: line-through; }
.news-session-status { color: var(--amber); font-size: .74rem; text-transform: uppercase; }
.calendar-options { position: relative; }
.calendar-options summary { padding: 8px 11px; color: var(--ink); background: var(--amber); border-radius: 4px; font-size: .75rem; font-weight: 850; cursor: pointer; list-style: none; }
.calendar-options summary::-webkit-details-marker { display: none; }
.calendar-options > div { position: absolute; z-index: 4; top: calc(100% + 6px); right: 0; width: 200px; padding: 7px; display: grid; gap: 3px; color: var(--ink); background: var(--white); border-radius: 5px; box-shadow: 0 16px 38px rgba(0,0,0,.28); }
.calendar-options a { margin: 0; padding: 9px; color: var(--ink); border-radius: 3px; font-size: .78rem; text-decoration: none; }
.calendar-options a:hover { background: var(--mist); }
.news-calendar-all { width: fit-content; margin-top: 4px; padding: 10px 13px; color: var(--amber); border: 1px solid rgba(200,163,106,.66); border-radius: 4px; font-size: .8rem; font-weight: 850; text-decoration: none; }

.news-card-action:hover {
  color: var(--ink);
  background: var(--amber);
  transform: translateY(-2px);
}

.news-detail-practical p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.85;
}

.news-note {
  margin: 16px 0 0;
  padding-top: 0;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.94rem;
  font-weight: 800;
  border: 0;
}

.news-details {
  margin-top: auto;
  padding-top: 18px;
  border: 0;
}

.news-details summary {
  color: var(--amber);
  font-weight: 900;
  cursor: pointer;
}

.news-details summary::marker {
  color: var(--amber);
}

.news-details ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.news-details li::marker {
  color: var(--amber);
}

.news-card a,
.text-link {
  margin-top: auto;
  color: var(--amber);
  font-weight: 850;
}

.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: start;
}

.price-intro p:not(.section-kicker) {
  max-width: 640px;
  color: var(--ink-soft);
}

.price-intro .price-download {
  margin-top: 24px;
}

.price-panel .button {
  justify-self: start;
}

.price-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(8, 36, 37, 0.12);
}

.price-table .price-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 88px minmax(160px, 0.8fr);
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  outline: 0;
  cursor: default;
  transition: background 180ms ease;
}

.price-table .price-row::before {
  display: none;
}

.price-table .price-row:not(.price-row-header):hover,
.price-table .price-row:not(.price-row-header):focus-visible {
  z-index: 1;
  background: rgba(126, 159, 135, 0.13);
}

.price-table .price-row:last-child {
  border-bottom: 0;
}

.price-table .price-row-header {
  min-height: 48px;
  padding-block: 12px;
  color: #dce8df;
  background: rgba(255, 255, 255, 0.065);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  cursor: default;
}

.price-table .price-row-header::before {
  display: none;
}

.price-table .price-row-header strong,
.price-table .price-row-header span,
.price-table .price-row-header b {
  color: #dce8df;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-table strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
  transition: color 180ms ease;
}

.price-table span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 750;
  transition: color 180ms ease;
}

.price-table b {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
  text-align: right;
  transition: color 180ms ease;
}

.price-table .price-row:not(.price-row-header):hover strong,
.price-table .price-row:not(.price-row-header):focus-visible strong {
  color: #dce8df;
}

.price-table .price-row:not(.price-row-header):hover span,
.price-table .price-row:not(.price-row-header):focus-visible span {
  color: #dce8df;
}

.price-table .price-row:not(.price-row-header):hover b,
.price-table .price-row:not(.price-row-header):focus-visible b {
  color: #dce8df;
}

.contact-section {
  position: relative;
  padding: clamp(74px, 10vw, 132px) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 26%, rgba(200, 163, 106, 0.12), transparent 28%),
    linear-gradient(135deg, #0a2929, #102f31 48%, #193f3a);
  overflow: hidden;
}

.contact-section .contact-grid {
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.contact-copy {
  height: 100%;
  padding: clamp(28px, 4vw, 44px);
  color: var(--white);
  background: rgba(5, 36, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(3, 25, 25, 0.22);
  backdrop-filter: blur(8px);
}

.contact-copy > p:not(.section-kicker),
.contact-copy address {
  color: rgba(255, 255, 255, 0.78);
}

.contact-copy address strong {
  color: var(--white);
}

.contact-copy h2::after {
  width: clamp(62px, 8vw, 96px);
  height: 1px;
  margin-top: 18px;
  display: block;
  content: "";
  background: var(--amber);
}

.contact-copy address {
  margin: 28px 0;
  font-style: normal;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.contact-details div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.contact-details span {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details strong {
  color: var(--white);
  font-weight: 800;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a {
  padding: 10px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.08);
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(200, 163, 106, 0.62);
}

.contact-form {
  display: grid;
  gap: 20px;
  height: 100%;
  padding: clamp(24px, 4vw, 38px);
  color: var(--white);
  background: rgba(5, 36, 35, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 58px rgba(3, 25, 25, 0.22);
  backdrop-filter: blur(8px);
}

.contact-form label {
  display: grid;
  gap: 3px;
  font-weight: 850;
}

.contact-copy > .section-kicker,
.contact-form > .section-kicker {
  margin-bottom: 0;
  color: var(--white);
}

.contact-form input,
.contact-form select {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  box-shadow: 0 0 0 1000px #183f3b inset;
  -webkit-box-shadow: 0 0 0 1000px #183f3b inset;
  transition: background-color 9999s ease-out 0s;
}

.contact-form select option {
  color: var(--white);
  background: #17483f;
}

.contact-form textarea {
  resize: vertical;
  min-height: 190px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-feedback {
  margin: 0;
  padding: 13px 15px;
  color: var(--ink);
  background: #e4eee6;
  border-left: 3px solid var(--moss-deep);
  border-radius: 4px;
  font-size: 0.92rem;
}

.contact-feedback--warning {
  background: #f5edd8;
  border-color: #9b741f;
}

.contact-feedback--error {
  color: #73333d;
  background: #f4e5e8;
  border-color: var(--rose);
}

.contact-form button:disabled {
  opacity: 0.64;
  cursor: wait;
}

.contact-form .button.primary.dark {
  justify-self: start;
  height: 44px;
  min-height: 44px;
  padding: 10px 17px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.contact-form .button.primary.dark:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(200, 163, 106, 0.62);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(200, 163, 106, 0.28);
  border-color: rgba(200, 163, 106, 0.72);
}

.contact-form .form-note {
  color: rgba(255, 255, 255, 0.68);
}

.map-dialog {
  width: min(740px, calc(100% - 32px));
  max-height: min(78dvh, 690px);
}

.map-dialog-window {
  max-height: min(78dvh, 690px);
}

.map-dialog-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  padding: clamp(30px, 5vw, 48px);
}

.map-dialog-header h3 {
  margin: 6px 42px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 400;
}

.map-frame-shell {
  position: relative;
  min-height: 360px;
  background: #173f39;
  border: 1px solid rgba(200, 163, 106, 0.48);
  border-radius: 7px;
  overflow: hidden;
}

.map-frame-shell::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(25, 76, 63, 0.12);
  mix-blend-mode: color;
  pointer-events: none;
}

.map-frame-shell iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: 0;
  filter: grayscale(0.58) sepia(0.24) hue-rotate(78deg) saturate(0.82) brightness(0.86) contrast(1.05);
}

.map-dialog-footer {
  display: flex;
  justify-content: flex-end;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.legal-hero {
  position: relative;
  padding: clamp(138px, 16vw, 190px) 0 clamp(64px, 8vw, 98px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(200, 163, 106, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(8, 36, 37, 0.96), rgba(11, 48, 47, 0.92)),
    url("../img/aleana-neural.jpg") center / cover;
  overflow: hidden;
}

.legal-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.legal-hero .section-kicker {
  color: #c6d8c8;
}

.legal-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-hero p:not(.section-kicker) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.legal-section {
  padding: clamp(70px, 9vw, 116px) 0;
  background: var(--paper);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.legal-card,
.legal-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 44px rgba(11, 48, 47, 0.07);
}

.legal-card {
  position: sticky;
  top: 98px;
  padding: 28px;
}

.legal-card h2,
.legal-content h2 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.legal-card p,
.legal-content p {
  color: var(--ink-soft);
}

.legal-card a,
.legal-content a {
  color: var(--moss-deep);
  font-weight: 850;
}

.legal-content {
  padding: clamp(28px, 5vw, 52px);
}

.legal-content h2 {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #082425;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
}

.footer-grid img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.footer-grid p {
  margin: 0;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .service-experience {
    grid-template-columns: 1fr;
  }

  .service-rail {
    position: relative;
    top: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-tab {
    grid-template-columns: 1fr;
    min-height: 108px;
  }

  .opening-grid,
  .profile-grid,
  .quote-grid,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 900px) {
  .motion-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid,
  .price-panel {
    grid-template-columns: 1fr;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .service-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .news-facts dl { grid-template-columns: 1fr; }
  .news-session-row { grid-template-columns: 1fr; align-items: start; }
  .calendar-options { width: 100%; }
  .calendar-options summary { width: 100%; text-align: center; }
  .calendar-options > div { position: static; width: 100%; margin-top: 6px; }
  .site-header {
    position: absolute;
    min-height: 68px;
    padding: 10px 18px;
  }

  .site-header.is-scrolled,
  .site-header.is-open,
  .site-header.is-solid {
    color: var(--white);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-alerts {
    top: 342px;
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-alerts--count-5 .site-alert,
  .site-alerts--count-6 .site-alert,
  .site-alerts--count-5 .site-alert:nth-child(4) {
    grid-column: auto;
  }

  .site-alert {
    min-height: 0;
    padding: 17px 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .has-site-alert .hero {
    min-height: 930px;
  }

  .has-site-alerts-2 .hero { min-height: 1050px; }
  .has-site-alerts-3 .hero { min-height: 1170px; }
  .has-site-alerts-4 .hero { min-height: 1290px; }
  .has-site-alerts-5 .hero { min-height: 1410px; }
  .has-site-alerts-6 .hero { min-height: 1530px; }

  .brand-logo {
    width: 62px;
    height: 62px;
  }

  .brand {
    width: 62px;
    height: 62px;
  }

  .nav-toggle {
    display: block;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 45;
    color: var(--white);
    background: rgba(8, 36, 37, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
  }

  .site-header.is-scrolled .brand-logo-white,
  .site-header.is-open .brand-logo-white,
  .site-header.is-solid .brand-logo-white {
    opacity: 1;
  }

  .site-header.is-scrolled .brand-logo-green,
  .site-header.is-open .brand-logo-green,
  .site-header.is-solid .brand-logo-green {
    opacity: 0;
  }

  .site-nav {
    position: fixed;
    inset: 68px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 86svh;
    padding-bottom: 58px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: 2.9rem;
  }

  .hero .eyebrow {
    margin-bottom: 11px;
    font-size: 0.7rem;
  }

  .hero .lead {
    margin-bottom: 24px;
    font-size: 1.04rem;
    line-height: 1.42;
  }

  .hero-media {
    inset: 74px 0 auto;
    height: 56%;
    object-fit: contain;
    object-position: center top;
    transform: none;
    filter: saturate(0.86) contrast(1.02);
  }

  .hero-veil {
    background:
      linear-gradient(0deg, rgba(5, 30, 30, 0.98), rgba(5, 30, 30, 0.84) 25%, rgba(5, 30, 30, 0.18) 74%),
      linear-gradient(90deg, rgba(5, 30, 30, 0.34), rgba(5, 30, 30, 0.06));
  }

  .news {
    padding: 56px 0;
  }

  .news .section-heading {
    margin-bottom: 30px;
  }

  .news-card {
    min-height: 250px;
    padding: 24px;
  }

  .service-rail {
    display: block;
  }

  .service-stage {
    display: none;
  }

  .service-tab {
    width: 100%;
    scroll-margin-top: 12px;
  }

  .service-tab.is-active {
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
    transform: none;
  }

  .service-mobile-panel {
    position: relative;
    display: none;
    gap: 22px;
    margin: -1px 0 12px;
    padding: 28px 22px;
    color: var(--white);
    background:
      radial-gradient(circle at 92% 14%, rgba(200, 163, 106, 0.22), transparent 30%),
      linear-gradient(135deg, #0b302f, #173f3e 46%, #244e48);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .service-tab.is-active + .service-mobile-panel {
    display: grid;
    animation: service-mobile-panel-in 240ms ease both;
  }

  .service-mobile-panel-head h3 {
    margin-bottom: 14px;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 7vw, 2.3rem);
    font-weight: 400;
    line-height: 1.12;
  }

  .service-mobile-panel-head p,
  .service-mobile-panel .service-footer p {
    color: rgba(255, 255, 255, 0.78);
  }

  .service-mobile-panel .service-footer {
    margin-top: 6px;
  }

  @keyframes service-mobile-panel-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .service-detail-dialog {
    width: calc(100% - 20px);
    max-height: 86dvh;
  }

  .service-detail-window,
  .service-detail-scroll {
    max-height: 86dvh;
  }

  .service-detail-scroll {
    padding: 48px 24px 26px;
  }

  .service-panel {
    gap: 22px;
  }

  .profile-image::before {
    inset: 28px 0 -14px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-grid nav {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1160px);
  }

  .hero-actions,
  .contact-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .service-actions .button {
    min-width: 0;
  }

  .service-rail {
    grid-template-columns: 1fr;
  }

  .service-tab {
    min-height: 74px;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .price-table div,
  .contact-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .price-table b {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .water-canvas,
  .light-field {
    display: none;
  }
}
