@font-face {
  font-family: Onest;
  src: url('./assets/onest-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #173b4b;
  --muted: #476675;
  --teal: #276574;
  --sky: #f2fbfc;
  --mint: #d8f0f1;
  --aqua: #a9dceb;
  --cream: #fff3de;
  --paper: #fffdf8;
  --line: #a8cbd0;
  --white: #fff;
  font-family: Onest, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--sky);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
img, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
button:not(:disabled), select { cursor: pointer; }
button:disabled { cursor: not-allowed; }
section[id], main[id] { scroll-margin-top: 1.2rem; }
:focus-visible { outline: 3px solid #2a6f7d; outline-offset: 4px; }

.shell { width: min(1280px, calc(100% - 2 * clamp(20px, 4.2vw, 64px))); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 8; inset: 12px auto auto 12px; padding: 12px 18px; background: var(--white); }

.site-header { position: relative; z-index: 1; background: var(--sky); border-bottom: 1px solid #d0e7e9; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 22px; }
.wordmark { display: inline-grid; flex: 0 0 auto; gap: 2px; text-decoration: none; }
.wordmark strong { font-size: clamp(1.32rem, 2.25vw, 2rem); letter-spacing: -.075em; line-height: 1; font-weight: 820; }
.wordmark i { color: var(--teal); font-family: Georgia, serif; font-weight: normal; }
.wordmark > span { font-size: .65rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 720; }
.site-nav { display: flex; gap: clamp(1rem, 2.8vw, 2.8rem); align-items: center; }
.site-nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: .25em; }

.button { display: inline-flex; min-height: 48px; justify-content: center; align-items: center; gap: 10px; padding: .63rem 1.08rem; border: 1px solid transparent; border-radius: 999px; font-size: .91rem; font-weight: 735; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled { opacity: .57; }
.button > span[aria-hidden] { font-size: 1.1em; }
.button--primary { color: var(--white); background: var(--ink); }
.button--primary:hover:not(:disabled) { background: #26566a; }
.button--book { border-color: #85b4bd; background: var(--white); }
.button--book:hover { background: var(--cream); border-color: #63929a; }
.button--quiet { background: #fff9; border-color: #bfdbe0; }
.button--quiet:hover { border-color: #82b2bb; background: var(--white); }

.experience {
  border-bottom: 1px solid #cde7e8;
  background: radial-gradient(ellipse at 77% 23%, #c5e8ee75, transparent 62%), linear-gradient(130deg, var(--sky) 16%, #e6f5f5 100%);
}
.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.42fr);
  align-items: center;
  gap: clamp(20px, 3.3vw, 50px);
  min-width: 0;
  padding-block: clamp(40px, 6vw, 88px);
}
.hero-copy { min-width: 0; padding-block: 4px; }
.location { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.17rem; font-size: .81rem; font-weight: 745; letter-spacing: .06em; text-transform: uppercase; }
.location > span[aria-hidden] { width: 9px; height: 9px; border-radius: 50%; background: #47929c; box-shadow: 0 0 0 3px #74b9c444; }
h1 { font-size: clamp(2.85rem, 5.45vw, 5.3rem); font-weight: 810; line-height: .99; letter-spacing: -.075em; }
h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.068em; color: var(--teal); }
.hero-description { max-width: 34ch; margin: 1.35rem 0 1.6rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.scene-column { min-width: 0; }
.scene-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.49;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #b1d7de;
  border-radius: 28px;
  background: radial-gradient(ellipse at 50% 40%, #f7fbf4 2%, #d8eff0 74%);
  box-shadow: 0 14px 42px #1e5a6815;
}
.scene-poster, #groom-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-poster { object-fit: cover; }
#groom-canvas { visibility: hidden; touch-action: pan-y; }
.scene-stage[data-ready="true"] #groom-canvas { visibility: visible; }
.scene-stage[data-ready="true"] .scene-poster { visibility: hidden; }
.scene-status { position: absolute; inset: auto auto 14px 14px; max-width: calc(100% - 28px); margin: 0; padding: .37rem .66rem; border: 1px solid #a4c9d1; border-radius: 999px; background: #fffdf3f0; font-size: .77rem; font-weight: 680; }
.scene-status:empty { display: none; }
.scene-stage[data-ready="true"] .scene-status { width: 1px; height: 1px; overflow: hidden; padding: 0; border: 0; clip-path: inset(50%); white-space: nowrap; }
.scene-bar { display: none; justify-content: space-between; gap: .8rem; margin-top: .46rem; }
#experience:is([data-phase="interior"], [data-phase="entering"], [data-phase="leaving"]) .scene-bar { display: flex; }
.text-action { display: inline-flex; align-items: center; justify-content: center; gap: .38rem; min-height: 44px; padding: .25rem .15rem; background: none; border: 0; color: var(--teal); font-size: .84rem; font-weight: 710; text-decoration: underline; text-underline-offset: .23em; }
.text-action:hover { color: var(--ink); }
.text-action:disabled { opacity: .5; }
.scene-return { visibility: hidden; }
#experience[data-phase="interior"] .scene-return, #experience[data-phase="leaving"] .scene-return { visibility: visible; }

.groom-panel { display: none; min-width: 0; }
#experience[data-phase="interior"] .experience-grid, #experience[data-phase="leaving"] .experience-grid { grid-template-columns: minmax(0, 1.7fr) minmax(315px, 1fr); align-items: start; padding-block: clamp(26px, 3.7vw, 54px); }
#experience[data-phase="interior"] .hero-copy, #experience[data-phase="leaving"] .hero-copy { display: none; }
#experience[data-phase="interior"] .groom-panel, #experience[data-phase="leaving"] .groom-panel { display: grid; }
#groom-canvas.is-grooming { touch-action: none; cursor: crosshair; }

.groom-panel { padding: clamp(16px, 1.8vw, 25px); gap: 1rem; background: var(--paper); border-radius: 23px; border: 1px solid #bedcde; box-shadow: 0 10px 32px #1e5a680f; }
.package-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; min-width: 0; }
.package-picker button, .tool-strip button { min-height: 44px; padding: .37rem .48rem; background: var(--white); border: 1px solid #b4d3d7; border-radius: 10px; font-size: .8rem; font-weight: 710; line-height: 1.2; }
.package-picker button small { display: block; margin-top: .23rem; color: var(--muted); font-size: .68rem; font-weight: 720; }
.package-picker button small:empty { display: none; }
.package-picker button:hover, .tool-strip button:hover:not(:disabled) { background: #e8f7f7; }
.package-picker button[aria-pressed="true"], .tool-strip button[aria-pressed="true"] { background: var(--mint); border-color: #74aeb7; box-shadow: inset 0 -2px #78b9c3; }
.tool-strip button:disabled { color: #526e77; border-style: dashed; background: #f2f5f3; }
.package-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.package-heading h2 { font-size: clamp(1.25rem, 2.15vw, 1.7rem); line-height: 1.12; letter-spacing: -.055em; }
.package-rate { flex: 0 0 auto; text-align: right; font-variant-numeric: tabular-nums; }
.package-rate strong { display: block; font-size: 1.12rem; font-weight: 780; }
.package-rate span { display: block; color: var(--muted); font-size: .76rem; }
#package-summary, #package-inclusions, .price-note { margin-top: .42rem; font-size: .84rem; color: var(--muted); }
#package-inclusions { padding-left: 1rem; }
#package-inclusions li + li { margin-top: .12rem; }
.price-note { font-size: .74rem; }
.package-details { padding-top: .25rem; border-top: 1px solid #c9e0e1; }
.panel-pricing { margin-top: .3rem; font-size: .81rem; }
.panel-pricing summary { min-height: 36px; padding-block: .42rem; font-weight: 710; cursor: pointer; }
.panel-pricing label { display: block; margin-block: .12rem .28rem; }
.panel-pricing ul { margin: 0 0 .48rem; padding: .42rem .66rem; border: 1px solid #c7dddd; border-radius: 8px; background: #edf7f6; list-style: none; font-variant-numeric: tabular-nums; }
.panel-pricing ul:empty { display: none; }
.panel-pricing li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem .48rem; padding-block: .21rem; }
.panel-pricing li + li { border-top: 1px solid #d1e4e3; }
.panel-pricing select { width: 100%; min-height: 42px; padding: .35rem .65rem; border: 1px solid #a3c6ca; border-radius: 8px; background: var(--white); }
.panel-pricing .text-link { margin-top: .4rem; }
.care-controls { padding-top: .85rem; border-top: 1px solid #c9e0e1; }
.care-controls h3 { margin-bottom: .5rem; font-size: .9rem; font-weight: 760; }
.tool-strip { display: flex; flex-wrap: wrap; gap: .36rem; }
.tool-strip button { flex: 1 1 auto; }
.tool-status { margin-block: .48rem; min-height: 2.25em; color: var(--muted); font-size: .8rem; }
.care-progress-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .65rem; font-size: .75rem; font-weight: 710; font-variant-numeric: tabular-nums; }
.care-progress-row progress { width: 100%; height: 8px; border: 0; border-radius: 10px; background: #e6efef; color: var(--teal); }
progress::-webkit-progress-bar { border-radius: 10px; background: #e6efef; }
progress::-webkit-progress-value { border-radius: 10px; background: #4796a3; }
progress::-moz-progress-bar { border-radius: 10px; background: #4796a3; }
.care-actions { display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: center; margin-top: .52rem; }
.care-actions .button { min-height: 44px; }
.panel-booking { width: 100%; }

h2 { font-size: clamp(2.04rem, 3.9vw, 3.55rem); line-height: 1.02; font-weight: 805; letter-spacing: -.066em; }
.services, .pricing, .contact { padding-block: clamp(45px, 6.9vw, 99px); }
.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 1rem 2.4rem; margin-bottom: 1.8rem; }
.section-heading > p, .pricing-copy > p, .contact-layout p:not(.location) { max-width: 44ch; color: var(--muted); }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 20px); }
.service-card { padding: clamp(18px, 2.7vw, 34px); border: 1px solid #c0d9d8; border-radius: 18px; background: #f2faf8; }
.service-card:first-child { background: #eff8f7; }
.service-card:last-child { background: #fff4e2; border-color: #dccfb0; }
.service-card h3 { font-size: clamp(1.16rem, 1.95vw, 1.66rem); font-weight: 775; line-height: 1.1; letter-spacing: -.044em; }
.service-card > p { margin-top: .58rem; color: var(--muted); font-size: .93rem; }
.service-card .card-price:not(:empty) { margin-top: .88rem; color: var(--ink); font-size: 1.02rem; font-weight: 760; }
.services-note { margin-top: .95rem; color: var(--muted); font-size: .79rem; }

.pricing { background: #e5f5f6; border-block: 1px solid #cde7e8; }
.pricing-layout { display: grid; grid-template-columns: minmax(0, .57fr) minmax(0, 1.43fr); gap: clamp(18px, 4.4vw, 66px); align-items: start; }
.pricing-copy > p { margin-top: .72rem; }
.text-link { display: inline-flex; align-items: center; min-height: 38px; gap: .32rem; color: #265965; text-underline-offset: .26em; font-size: .91rem; font-weight: 700; }
.pricing-copy .text-link { margin-top: .48rem; }
.pricing-table-frame { min-width: 0; overflow: hidden; border: 1px solid #b0d4d8; background: var(--paper); border-radius: 17px; }
.price-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.price-table :is(th, td) { padding: .61rem .72rem; border-bottom: 1px solid #deeaeb; text-align: left; overflow-wrap: anywhere; }
.price-table thead th { color: var(--ink); background: #d5eff1; font-size: .84rem; line-height: 1.3; }
.price-table tbody :is(th, td) { font-size: .88rem; }
.price-table tbody :is(span, small) { display: block; color: var(--muted); font-size: .78em; }
.source-date { padding: .52rem .72rem; color: var(--muted); font-size: .77rem; }
.source-date:has(#pricing-checked:empty) { display: none; }
.pricing-table-frame noscript > p { padding: .52rem .72rem; }

.contact { background: var(--cream); }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 1.4rem 2.65rem; }
.contact-layout .location { margin-bottom: .74rem; }
.contact-layout p:not(.location) { margin-top: .8rem; }
.contact-layout .button { margin-top: 1.07rem; }
.contact-links { display: grid; gap: .42rem; padding: 1rem 0 1rem 1.3rem; border-left: 1px solid #b9a783; font-style: normal; }
.contact-links a { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; gap: .42rem; font-weight: 690; text-decoration-thickness: 1px; text-underline-offset: .25em; overflow-wrap: anywhere; }
.contact-socials { display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.site-footer { background: var(--ink); color: #f6fcfc; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1.25rem; padding-block: 1rem; font-size: .8rem; }

@media (max-width: 960px) {
  .header-inner { gap: 16px; }
  .site-nav { gap: 16px; }
  .experience-grid { gap: 24px; }
  .scene-stage { aspect-ratio: 1.32; }
  #experience[data-phase="interior"] .experience-grid, #experience[data-phase="leaving"] .experience-grid { grid-template-columns: minmax(0, 1.3fr) minmax(302px, 1fr); }
}

@media (max-width: 730px) {
  .header-inner { min-height: 67px; }
  .site-nav { display: none; }
  .experience-grid, #experience[data-phase="interior"] .experience-grid, #experience[data-phase="leaving"] .experience-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 26px 24px; }
  .scene-stage { aspect-ratio: 1.34; border-radius: 20px; }
  #experience[data-phase="interior"] .experience-grid { gap: 12px; }
  #experience[data-phase="interior"] .scene-stage { aspect-ratio: 1.15; }
  .groom-panel { gap: .83rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.9rem, 10.8vw, 4.4rem); }
  .hero-description { margin: .9rem 0 1rem; }
  .location { margin-bottom: .67rem; }
  .section-heading, .pricing-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .package-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-links { border-left: 0; border-top: 1px solid #b9a783; padding: .6rem 0 0; }
}

@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .header-inner .button { padding-inline: .72rem; gap: .35rem; font-size: .77rem; }
  .wordmark strong { font-size: 1.24rem; }
  .wordmark > span { font-size: .55rem; }
  .price-table :is(th, td) { padding: .43rem .3rem; }
  .price-table thead th { font-size: .67rem; }
  .price-table tbody :is(th, td) { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
