/* Quiet light details: a logo sheen, an orbit glint and fine background arcs. */
.intro__logo-frame {
  display: block;
  position: relative;
  width: 290px;
  margin-bottom: 45px;
  overflow: hidden;
  isolation: isolate;
}
.intro__logo-frame .intro__logo {
  width: 100%;
  margin: 0;
}
.intro__logo-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: -35%;
  bottom: -35%;
  left: -60%;
  width: 40%;
  background: linear-gradient(
    105deg,
    transparent 5%,
    #ffffff18 25%,
    #ffffffb8 50%,
    #ffffff18 75%,
    transparent 95%
  );
  filter: blur(1px);
  transform: skewX(-16deg);
  mix-blend-mode: screen;
  animation: logo-sheen 3.5s 1s ease-in-out infinite;
}
.intro__orbit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 0 8px 3px #fff8,
    0 0 22px 8px #ecffd133;
  offset-path: ellipse(49.8% 49.8% at 50% 50%);
  offset-distance: 0%;
  offset-rotate: 0deg;
  animation: orbit-glint 12s linear infinite;
  opacity: 0.85;
}
.intro__orbit--two::after {
  width: 5px;
  height: 5px;
  opacity: 0.6;
  animation-duration: 17s;
  animation-direction: reverse;
  animation-delay: -7s;
}
.journey,
.social {
  position: relative;
  isolation: isolate;
}
.journey::before {
  content: "";
  position: absolute;
  left: -170px;
  top: 70px;
  width: 610px;
  height: 360px;
  border: 1px solid #5b9e9627;
  border-radius: 50%;
  transform: rotate(-20deg);
  z-index: -1;
  pointer-events: none;
  animation: line-drift 18s ease-in-out infinite alternate;
}
.social::before {
  content: "";
  position: absolute;
  right: -210px;
  top: 22px;
  width: 650px;
  height: 180px;
  border-top: 1px solid #8ab3a740;
  border-bottom: 1px solid #8ab3a717;
  border-radius: 50%;
  transform: rotate(-12deg);
  z-index: -1;
  pointer-events: none;
  animation: line-drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes logo-sheen {
  0%,
  30% {
    left: -60%;
    opacity: 0;
  }
  44% {
    opacity: 0.8;
  }
  76% {
    left: 140%;
    opacity: 0;
  }
  100% {
    left: 140%;
    opacity: 0;
  }
}
@keyframes orbit-glint {
  to {
    offset-distance: 100%;
  }
}
@keyframes line-drift {
  to {
    translate: 20px 12px;
    rotate: 3deg;
  }
}
@media (max-width: 760px) {
  .intro__logo-frame {
    width: 225px;
    margin-bottom: 32px;
  }
  .journey::before {
    width: 420px;
    height: 240px;
    left: -180px;
    top: 55px;
  }
  .social::before {
    width: 420px;
    height: 140px;
    right: -200px;
  }
  .intro__orbit::after {
    width: 5px;
    height: 5px;
  }
}
@media (max-width: 374px) {
  .intro__logo-frame {
    width: 190px;
    margin-bottom: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro__logo-frame::after,
  .intro__orbit::after,
  .journey::before,
  .social::before {
    animation: none !important;
  }
  .intro__logo-frame::after {
    display: none;
  }
}

/* Shared interaction surfaces: desktop dialogs and mobile bottom sheets. */
.sparkle-dialog {
  padding: 0;
  border: 1px solid #dce9e3;
  color: var(--ink);
  width: min(610px, calc(100vw - 40px));
  max-height: calc(100dvh - 60px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 28px;
  background: var(--ivory);
  box-shadow: 0 35px 100px #073d4433;
}
.sparkle-dialog::backdrop {
  background: #063e445c;
  backdrop-filter: blur(7px);
}
.sparkle-dialog[open] {
  animation: dialog-in 0.24s ease-out;
}
.sparkle-dialog .dialog-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 30px 24px;
  border-bottom: 1px solid var(--line);
}
.sparkle-dialog .dialog-header > div {
  flex: 1;
  min-width: 0;
}
.sparkle-dialog .dialog-header .eyebrow {
  font-size: 12px;
  letter-spacing: 0.09em;
  gap: 8px;
}
.sparkle-dialog .dialog-header .eyebrow .icon {
  width: 18px;
  height: 18px;
}
.sparkle-dialog .dialog-header h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-top: 12px;
  padding-right: 6px;
}
.sparkle-dialog .dialog-close {
  flex: 0 0 40px;
  background: var(--aqua);
}
.sparkle-dialog .dialog-body {
  padding: 26px 30px;
}
.sparkle-dialog .dialog-body > p {
  font-size: 16px;
  line-height: 1.7;
}
.sparkle-dialog .dialog-footer {
  padding: 20px 30px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
}
.sparkle-dialog .dialog-footer .button {
  font-size: 14px;
  min-height: 48px;
}
.dialog-footer--wrap {
  flex-wrap: wrap;
}
.sparkle-dialog .dialog-subtitle {
  font-size: 17px;
  margin: 26px 0 15px;
}
.care-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
  margin: 0 0 25px;
}
.care-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}
.care-list .icon {
  color: var(--teal);
  width: 21px;
  height: 21px;
}
.sparkle-dialog .dialog-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px !important;
  line-height: 1.6;
  background: #e7f0e9;
  padding: 14px 16px;
  border-radius: 14px;
  margin-top: 22px;
}
.dialog-note .icon {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--teal-deep);
}
.form-field {
  margin-top: 22px;
}
.form-field > label,
.message-preview-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 9px;
}
.field-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}
.field-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.field-icon-wrap > .icon:first-child {
  position: absolute;
  left: 15px;
  top: 15px;
  width: 20px;
  height: 20px;
  color: var(--teal);
}
.field-icon-wrap input,
.field-icon-wrap select,
.field-icon-wrap textarea {
  background: #fff;
  border: 1px solid #c4d9d4;
  border-radius: 13px;
  width: 100%;
  min-height: 50px;
  padding: 13px 15px 13px 46px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.field-icon-wrap textarea {
  resize: vertical;
  min-height: 95px;
}
.field-icon-wrap select {
  appearance: none;
  padding-right: 42px;
}
.field-icon-wrap .select-chevron {
  position: absolute;
  right: 14px;
  pointer-events: none;
  width: 18px;
  height: 18px;
  color: var(--teal);
}
.field-icon-wrap input::placeholder,
.field-icon-wrap textarea::placeholder {
  color: #788e90;
}
.field-icon-wrap input[aria-invalid="true"] {
  border-color: #af534b;
}
.sparkle-dialog .form-error {
  font-size: 14px !important;
  color: #a34239;
  padding: 12px 0 0;
}
.message-preview-label {
  margin-top: 24px;
}
.message-preview {
  display: block;
  width: 100%;
  border: 1px solid #c8dbd4;
  border-radius: 16px;
  padding: 18px;
  resize: vertical;
  background: #edf5ee;
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
  min-height: 190px;
}
.social-dialog-body {
  text-align: center;
}
.social-dialog-icon {
  background: var(--aqua);
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  margin: 0 auto 22px;
}
.social-dialog-icon .icon {
  width: 36px;
  height: 36px;
}
.social-dialog-body h3 {
  font-size: 23px;
  margin-bottom: 14px;
}
.sparkle-dialog--lightbox {
  width: min(1040px, calc(100vw - 40px));
  background: var(--paper);
  max-height: 95dvh;
  overflow: auto;
}
.lightbox-header {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.lightbox-header h2 {
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.lightbox-header .icon-button {
  background: var(--aqua);
  flex-shrink: 0;
}
.lightbox-image-wrap {
  position: relative;
  background: var(--aqua);
}
.lightbox-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70dvh;
  object-fit: contain;
  margin: auto;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fffef6e8 !important;
  box-shadow: 0 3px 14px #063e4424;
}
.lightbox-nav:hover {
  transform: translateY(-50%) !important;
}
.lightbox-nav--prev {
  left: 14px;
}
.lightbox-nav--next {
  right: 14px;
}
.lightbox-caption {
  font-size: 13px;
  text-align: center;
  padding: 15px 20px;
}
.toast {
  position: fixed;
  z-index: 5000;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  max-width: calc(100vw - 32px);
  border-radius: 30px;
  padding: 13px 24px;
  box-shadow: 0 5px 28px #063e4433;
  font-size: 14px;
  text-align: center;
}
.real-review {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}
.real-review > .icon {
  color: var(--teal);
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
}
.real-review blockquote {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.real-review figcaption {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
.real-review figcaption span {
  font-size: 13px;
  color: var(--muted);
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 760px) {
  .sparkle-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 90dvh;
    margin: auto 0 0;
    border-radius: 26px 26px 0 0;
    border-bottom: 0;
    box-shadow: 0 -15px 60px #063e4429;
  }
  .sparkle-dialog .dialog-header {
    padding: 24px 22px 20px;
  }
  .sparkle-dialog .dialog-header h2 {
    font-size: 27px;
  }
  .sparkle-dialog .dialog-body {
    padding: 22px;
  }
  .sparkle-dialog .dialog-footer {
    padding: 20px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  }
  .sparkle-dialog .dialog-footer > .button {
    flex: 1;
  }
  .sparkle-dialog--lightbox {
    margin: auto;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    border-radius: 20px;
    max-height: 94dvh;
  }
  .lightbox-header {
    padding: 14px 16px;
  }
  .lightbox-header h2 {
    font-size: 16px;
  }
  .lightbox-caption {
    font-size: 12px;
  }
  .toast {
    bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    font-size: 14px;
  }
  .sparkle-dialog .dialog-header .eyebrow {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sparkle-dialog[open] {
    animation: none;
  }
}
[data-motion="off"] .sparkle-dialog[open] {
  animation: none;
}
@media (min-width: 761px) {
  .intro__logo {
    width: 420px;
    max-width: 100%;
  }
}
@media (max-width: 760px) {
  .hero__note {
    display: none;
  }
  .hero__actions {
    gap: 15px;
    margin-top: 24px;
  }
  .intro__portrait > img {
    width: 125%;
    height: 125%;
    left: 0;
    bottom: -50px;
    max-width: none;
  }
}
@media (max-width: 374px) {
  .mobile-dock {
    left: 7px;
    right: 7px;
    padding: 9px 2px 7px;
  }
  .mobile-dock > a,
  .mobile-dock > button,
  .mobile-dock__primary > span:last-child {
    font-size: 12px;
    letter-spacing: -0.02em;
  }
}
.sparkle-dialog--enquiry[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sparkle-dialog--enquiry > .dialog-header {
  flex: none;
}
.sparkle-dialog--enquiry #enquiry-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.sparkle-dialog--enquiry .dialog-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sparkle-dialog--enquiry .dialog-footer {
  flex: none;
  background: var(--ivory);
}

/* Polished gallery and visit details: the same controls survive image changes. */
.lightbox-image-wrap {
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  min-height: 180px;
}
.lightbox-image {
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 22px 0;
}
.lightbox-counter {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--teal-deep);
}
.lightbox-pager {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.lightbox-pager button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: transparent;
  border-radius: 50%;
  padding: 7px;
}
.lightbox-pager button span {
  display: block;
  width: 7px;
  height: 7px;
  background: #bbd4cf;
  border-radius: 20px;
  transition:
    width 0.25s,
    background 0.25s;
}
.lightbox-pager button.is-active span {
  width: 20px;
  background: var(--teal);
}
.lightbox-caption {
  padding: 7px 22px 17px;
  text-align: left;
  font-size: 13px;
}
.lightbox-swipe-hint {
  display: none;
  padding: 0 17px 17px;
  font-size: 12px;
  line-height: 1.5;
}
.visit-details {
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}
.visit-details > div {
  position: relative;
  padding: 18px 18px 18px 51px;
  background: var(--aqua);
  border-radius: 18px;
}
.visit-details > div > .icon {
  position: absolute;
  top: 21px;
  left: 18px;
  width: 20px;
  height: 20px;
  color: var(--teal);
}
.visit-details dt {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 5px;
}
.visit-details dd {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.faq-list details[open] > p,
.faq-list details[open] > .text-link {
  animation: answer-in 0.3s ease-out;
}
@keyframes answer-in {
  from {
    opacity: 0;
    translate: 0 -5px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
[data-motion="off"] .faq-list details[open] > p,
[data-motion="off"] .faq-list details[open] > .text-link {
  animation: none;
}
@media (max-width: 760px) {
  .lightbox-toolbar {
    padding: 12px 17px 0;
    gap: 8px;
  }
  .lightbox-counter {
    font-size: 13px;
  }
  .lightbox-caption {
    padding: 5px 17px 8px;
  }
  .lightbox-swipe-hint {
    display: block;
  }
  .lightbox-pager button {
    width: 28px;
    height: 32px;
  }
  .lightbox-image {
    max-height: 58dvh;
  }
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .lightbox-nav--prev {
    left: 9px;
  }
  .lightbox-nav--next {
    right: 9px;
  }
  .visit-details > div {
    padding: 17px 16px 17px 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-list details[open] > p,
  .faq-list details[open] > .text-link {
    animation: none;
  }
  .lightbox-pager button span {
    transition: none;
  }
}
