/* Selected composition: first screen from template 09, with the approved copy. */
.site-header{height:96px}
.brand{gap:10px}
.brand-dolphin{width:68px;height:58px}
.brand-name{font-size:36px;white-space:nowrap}
.brand-name>span{font-size:11px;letter-spacing:.09em;line-height:1.7;margin-top:5px}
.desktop-nav{font-size:16px;gap:24px;padding:0;background:transparent;border-radius:0;box-shadow:none}
.language-switch button{font-size:12px;width:34px;height:36px}
.footer-brand{font-size:32px}
.footer-brand>span{font-size:10px;letter-spacing:.08em;line-height:1.6}
.hero{display:block;width:100%;padding:4px 0 0;min-height:0}
.hero-copy{width:min(1080px,calc(100% - 48px));margin-inline:auto;text-align:center;padding-bottom:0}
.hero .eyebrow{justify-content:center;font-size:13px;letter-spacing:.12em;margin-bottom:10px}
.hero .little-wave{display:none}
.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(48px,4.6vw,64px);font-weight:400;line-height:1.04;letter-spacing:-.045em;max-width:1040px;margin-inline:auto;text-wrap:balance}
.hero-description{font-size:17px;line-height:1.5;max-width:760px;margin:12px auto 0;text-wrap:balance}
.hero-actions{justify-content:center;gap:14px;margin-top:16px}
.hero-actions .button{justify-content:center;background:#b85e65;color:white;font-size:15px;font-weight:400;padding:13px 28px;min-height:48px;gap:10px}
.hero-actions .button:hover{background:#a84d56}
.hero-actions .button-arrow{display:none}
.hero-actions .text-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #b88385;border-radius:30px;color:#8e4e54;text-decoration:none;font-size:15px;font-weight:400;padding:12px 28px;min-height:48px}
.hero-actions .text-link:hover{background:#f2e3e1}
.hero-note{justify-content:center;font-size:13px;margin-top:8px;max-width:none;line-height:1.5}
.hero-note>span:first-child{display:none}
.hero-visual{display:block;position:relative;width:100%;margin-top:0}
.hero-art{width:100%;max-width:none;height:clamp(300px,22vw,340px);margin:0}
.hero-art:before,.hero-art:after,.hero-art>.petals,.hero-art>.hero-water{display:none}
.hero-media{width:100%;height:100%;border-radius:0;background:#4192a7}
/* Keep decoded video rectangular: clipping its composited layer can flicker.
   A static foreground cover preserves the same wave, with edge overlap. */
.hero-wave-cover{position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);fill:var(--paper);stroke:none;pointer-events:none;z-index:1}
.hero-media video{object-position:50% 32%}
.hero-socials{position:absolute;right:clamp(20px,4vw,64px);bottom:24px;left:auto;width:auto;max-width:calc(100% - 96px);margin:0;display:flex;gap:0;padding:4px 6px;border:1px solid #fff8;border-radius:40px;background:#fbf5efed;box-shadow:none;z-index:3}
.hero-socials a{flex:0 1 auto;min-height:44px;padding:10px 16px;border:0;border-radius:30px;background:transparent;font-size:14px;line-height:1.4;gap:8px;font-weight:400;color:var(--ink)}
.hero-socials a+a{position:relative}
.hero-socials a+a:before{content:'';position:absolute;left:0;top:12px;bottom:12px;border-left:1px solid #cfdbd5}
.hero-socials .icon{width:22px;height:22px}
.hero-socials a:hover{background:#e3eeea}
.hero-socials a:focus-visible{outline-offset:0}
.video-toggle{left:24px;right:auto;bottom:24px;transform:none;min-width:44px;min-height:44px;justify-content:center;font-size:13px;padding:10px 16px;z-index:2;backdrop-filter:none}
.hero+.places{padding-top:28px}
@media(max-width:1100px){
  .desktop-nav{gap:16px;padding-inline:0;font-size:16px}
  .brand-name{font-size:32px}.brand-dolphin{width:58px}
}
@media(max-width:900px){
  .hero{padding-top:12px}
  .hero h1{font-size:56px;max-width:720px}
  .hero-description{font-size:17px;max-width:600px}
  .hero-art{height:360px}
}
@media(max-width:640px){
  .site-header{height:96px}
  .brand{gap:7px}.brand-dolphin{width:48px;height:46px}
  .brand-name{font-size:28px}.brand-name>span{font-size:10px;letter-spacing:.06em}
  .header-tools{gap:8px}.language-switch{gap:0}
  .language-switch button{width:27px}
  .hero{padding-top:18px}
  .hero-copy{width:calc(100% - 36px);max-width:none;padding-bottom:8px}
  .hero .eyebrow{font-size:11px;letter-spacing:.05em;margin-bottom:18px}
  .hero h1{font-size:clamp(44px,10.8vw,62px);max-width:500px;letter-spacing:-.055em;line-height:1.04}
  .hero-description{font-size:16px;line-height:1.55;margin-top:20px;max-width:450px}
  .hero-actions{gap:10px;margin-top:20px}
  .hero-actions .button,.hero-actions .text-link{font-size:14px;padding:12px 18px;min-height:46px}
  .hero-note{font-size:13px;max-width:340px;display:block;margin:16px auto 0;text-wrap:balance}
  .hero-art{width:100%;height:360px;max-width:none;margin:0}
  .hero-media video{object-position:45% 50%}
  .hero-socials{right:12px;bottom:16px;max-width:calc(100% - 76px);padding:2px 4px}
  .hero-socials a{font-size:12px;padding:9px 10px;gap:6px;min-height:44px}
  .hero-socials .icon{width:19px;height:19px}
  .video-toggle{left:12px;right:auto;bottom:18px;transform:none;width:44px;height:44px;padding:0}
  .video-label{display:none}
  .hero+.places{padding-top:20px}
}
@media(max-width:370px){
  .brand-name{font-size:26px}.brand-name>span{font-size:10px}.brand-dolphin{width:28px}
  .hero .eyebrow{font-size:10px;letter-spacing:.03em}
  .hero-actions{display:grid;grid-template-columns:1fr;max-width:260px;margin-inline:auto}
  .hero-actions .button,.hero-actions .text-link{width:100%;font-size:15px}
  .hero-art{height:330px}
  .hero-socials a{padding-inline:8px;font-size:11px;gap:5px}
}

/* Template 04: an editorial family guide. Scoped to the services section. */
#services {
  --service-paper: #fbf7f2;
  --service-border: #e9dfd8;
  --service-pink: #edd0d8;
  --service-heading: #173a48;
  padding-block: 28px;
}

#services .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  text-align: center;
}

#services .section-heading > div {
  display: grid;
  grid-template-columns: minmax(32px, 1fr) minmax(0, 620px) minmax(32px, 1fr);
  align-items: center;
  column-gap: 28px;
  width: 100%;
  max-width: none;
}

#services .section-heading > div::before,
#services .section-heading > div::after {
  content: '';
  grid-row: 1;
  height: 1px;
  background: #b8b6ad;
}

#services .section-heading > div::before { grid-column: 1; }
#services .section-heading > div::after { grid-column: 3; }
#services .section-heading .eyebrow { display: none; }

#services .section-heading h2 {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
  margin: 0;
  color: var(--service-heading);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.04;
  text-wrap: balance;
}

#services .section-heading > p {
  max-width: 740px;
  margin: 0 auto;
  padding: 0;
  font-size: 16px;
  line-height: 1.65;
}

#services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

#services .service-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px 8px;
  min-width: 0;
  min-height: 264px;
  height: auto;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--service-border);
  border-radius: 10px;
  background: var(--service-paper);
  box-shadow: none;
}

#services .service-number {
  position: static;
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #a67a85;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: .01em;
  opacity: 1;
}

#services .service-number::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d8c9c7;
}

#services .service-content,
#services .service-pool .service-content {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  height: auto;
}

#services .service-card h3 {
  order: 1;
  width: 100%;
  max-width: none;
  margin: 0 0 6px;
  color: var(--service-heading);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

#services .service-tag {
  order: 2;
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
  color: #536b72;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

#services .service-card p:not(.service-tag),
#services .service-pool p:not(.service-tag) {
  order: 3;
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  color: #405b65;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

#services .card-link {
  order: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  max-width: 100%;
  margin-top: auto;
  padding: 10px 16px;
  border: 0;
  border-radius: 28px;
  background: var(--service-pink);
  color: #243e48;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

#services .card-link:hover { background: #e3bfc9; }

#services .card-link svg {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
}

#services .service-photo,
#services .service-yoga .service-illustration {
  position: static;
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 5px;
  object-fit: cover;
  object-position: 50% 40%;
  transform: none;
  opacity: 1;
}

#services .service-photo {
  min-height: 0;
  max-height: 224px;
  align-self: center;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 100%);
}

#services .services-grid .service-card .service-photo {
  width: 100%;
  height: auto;
  max-width: 420px;
  max-height: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
  -webkit-mask-image: none;
  mask-image: none;
}

#services .services-grid .service-home .service-photo,
#services .services-grid .service-online .service-photo {
  object-position: 50% 100%;
}

#services .services-grid .service-massage .service-photo {
  object-position: 45% 50%;
}

#services .services-grid .service-watsu .service-photo {
  object-position: 85% 50%;
}

#services .service-yoga .service-illustration {
  align-self: center;
  height: 150px;
  color: #688b8d;
  stroke: currentColor;
  stroke-width: 1.2;
}

#services .card-petal { display: none; }

@media (max-width: 1100px) {
  #services .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #services .service-card { min-height: 264px; padding: 16px; }
  #services .service-card h3 { font-size: 26px; }
}

@media (min-width: 701px) and (max-width: 850px) {
  #services .service-card { grid-template-columns: minmax(0,2fr) minmax(0,1fr); }
}

@media (min-width: 1101px) and (max-width: 1199px) {
  #services .service-card { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
}

@media (max-width: 700px) {
  #services { padding-block: 54px; }
  #services .section-heading { gap: 17px; margin-bottom: 28px; }
  #services .section-heading > div { grid-template-columns: 24px minmax(0, 1fr) 24px; gap: 14px; }
  #services .section-heading h2 { font-size: 39px; }
  #services .section-heading > p { font-size: 16px; line-height: 1.6; }
  #services .services-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #services .service-card { min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 16px; padding: 20px; }
  #services .service-card h3 { font-size: 28px; }
  #services .service-card p:not(.service-tag),
  #services .service-pool p:not(.service-tag) { font-size: 16px; }
  #services .service-tag { font-size: 14px; }
  #services .card-link { font-size: 14px; min-height: 44px; }
  /* Keep the complete photo in its own row, including on landscape phones. */
  #services .service-photo,
  #services .service-yoga .service-illustration { grid-column: 1; grid-row: 3; justify-self: center; align-self: start; }
  #services .service-photo { width: auto; height: auto; max-width: 100%; max-height: 520px; object-fit: contain; object-position: center; -webkit-mask-image: none; mask-image: none; }
  #services .service-yoga .service-illustration { width: 165px; height: 180px; }
}

/* Simplify the section heading on narrower phones. */
@media (max-width: 480px) {
  #services .section-heading > div { grid-template-columns: minmax(0, 1fr); }
  #services .section-heading > div::before,
  #services .section-heading > div::after { display: none; }
  #services .section-heading h2 { grid-column: 1; font-size: 38px; }
  #services .service-card h3 { font-size: 28px; }
  #services .service-card p:not(.service-tag),
  #services .service-pool p:not(.service-tag) { margin-bottom: 20px; }
}
