:root {
  color-scheme: light;
  --ink: #1e4560;
  --muted: #4d6678;
  --script: #4e6f9a;
  --blush: #f4bcbb;
  --butter: #edd362;
  --sky: #a0d4e1;
  --sky-soft: #e5f4f8;
  --peach: #f0c4a6;
  --cream: #fff8f6;
  --white: #fffcfb;
  --shadow: 0 16px 40px rgba(30, 69, 96, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
}

a {
  color: var(--script);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  background: white;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 69, 96, 0.08);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.brand {
  display: block;
  line-height: 0;
  flex: none;
}

.brand img {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  object-fit: cover;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blush);
  padding: 28px 0 88px;
}

.blob,
.doodle {
  position: absolute;
  pointer-events: none;
}

.blob-yellow {
  width: 280px;
  height: 230px;
  background: var(--butter);
  border-radius: 58% 42% 62% 38% / 42% 58% 42% 58%;
  top: -50px;
  right: 4%;
}

.blob-sky {
  width: 220px;
  height: 190px;
  background: #9ed1e2;
  border-radius: 46% 54% 40% 60% / 58% 38% 62% 42%;
  left: -70px;
  bottom: 30px;
}

.blob-peach {
  width: 150px;
  height: 140px;
  background: var(--peach);
  border-radius: 60% 40% 50% 50%;
  right: 22%;
  bottom: 18px;
  opacity: 0.9;
}

.doodle-flower {
  width: 78px;
  height: 78px;
  top: 36px;
  left: 4%;
}

.doodle-star {
  width: 54px;
  height: 54px;
  top: 28px;
  right: 7%;
}

.doodle-spark {
  width: 36px;
  height: 36px;
  right: 18%;
  top: 120px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0;
}

h1 .display {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  text-transform: uppercase;
  line-height: 0.92;
}

h1 .script {
  display: block;
  margin-top: 6px;
  color: var(--script);
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  letter-spacing: 0;
  line-height: 0.82;
  text-transform: none;
}

h1 .script-small {
  display: block;
  font-size: 0.58em;
  line-height: 1;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h2 .script,
.visit-script {
  font-family: "Caveat", cursive;
  font-weight: 700;
  color: var(--script);
  letter-spacing: 0;
}

h2 .script {
  font-size: 1.25em;
}

.lead,
.section-lead {
  color: var(--ink);
  font-size: 1.12rem;
}

.lead {
  max-width: 38rem;
  margin: 18px 0 0;
}

.section-lead {
  margin: 12px 0 0;
  max-width: 38rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: white;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

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

.button-small {
  padding: 8px 14px;
  font-size: 0.95rem;
}

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

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.hero-photos {
  position: relative;
  min-height: 540px;
}

.polaroid {
  margin: 0;
  background: white;
  padding: 12px;
  box-shadow: var(--shadow);
}

.polaroid img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.polaroid figcaption {
  margin: 0;
  padding: 6px 0 4px;
  text-align: center;
  font-family: "Caveat", cursive;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.polaroid-main {
  width: 78%;
  transform: rotate(-3deg);
}

.polaroid-main img {
  height: 430px;
  object-position: center 18%;
}

.polaroid-front {
  position: absolute;
  width: 54%;
  right: 0;
  bottom: 8px;
  transform: rotate(4deg);
}

.polaroid-front img {
  height: 230px;
  object-position: center 12%;
}

.sheet {
  position: relative;
  z-index: 1;
  margin-top: -40px;
  padding: 64px 0 36px;
  background: var(--cream);
  border-radius: 40px 40px 0 0;
}

.section-head {
  margin-bottom: 28px;
}

.services,
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service,
.pillars article,
.visit-card,
.facts {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(30, 69, 96, 0.06);
}

.service,
.pillars article {
  padding: 22px;
}

.service h3,
.pillars h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.service p,
.pillars p {
  margin: 0;
  color: var(--muted);
}

.mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
}

.mark svg {
  width: 26px;
  height: 26px;
  fill: var(--ink);
}

.mark svg.line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-blush {
  background: #f8d5d3;
}

.mark-sky {
  background: #d5eef5;
}

.mark-butter {
  background: #f8ebb4;
}

.mark-peach {
  background: #f8dfcf;
}

.band {
  background: var(--butter);
  padding: 64px 0 72px;
}

.ritmo {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 8px 22px 8px 8px;
  background: var(--blush);
  border-radius: 999px;
  font-family: "Caveat", cursive;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.05;
}

.ritmo img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  flex: none;
}

.num {
  margin: 0 0 8px;
  font-family: "Caveat", cursive;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 0.8;
  color: var(--script);
}

.gallery-section {
  padding: 72px 0 36px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: start;
}

.gallery figure {
  grid-column: span 2;
}

.gallery figure:nth-child(4) {
  grid-column: 2 / span 2;
}

.gallery figure:nth-child(5) {
  grid-column: 4 / span 2;
}

.gallery .polaroid img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-position: center 8%;
}

.gallery .room img {
  object-position: 22% center;
}

.gallery figure:nth-child(1) {
  transform: rotate(-1.4deg);
}

.gallery figure:nth-child(2) {
  transform: rotate(1.3deg);
}

.gallery figure:nth-child(3) {
  transform: rotate(-0.8deg);
}

.gallery figure:nth-child(4) {
  transform: rotate(1.1deg);
}

.gallery figure:nth-child(5) {
  transform: rotate(-1.2deg);
}

.gallery figure:nth-child(4) img,
.gallery figure:nth-child(5) img {
  object-position: 30% center;
}

.visit {
  padding: 36px 0 64px;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(160, 212, 225, 0.55), transparent 70%),
    var(--cream);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
  align-items: stretch;
}

.facts {
  margin: 0;
  padding: 8px 26px 18px;
  display: grid;
  gap: 4px;
}

.facts div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(30, 69, 96, 0.08);
}

.facts div:last-child {
  border-bottom: 0;
}

dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

dd {
  margin: 4px 0 0;
}

.visit-card {
  padding: 28px 24px;
  background: var(--sky-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visit-script {
  margin: 0 0 6px;
  font-size: 2.8rem;
  line-height: 0.85;
}

.visit-card p {
  margin: 0;
}

.map-frame {
  margin-top: 22px;
  border: 8px solid white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
  background: white;
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.map-link {
  margin: 12px 0 0;
  font-weight: 800;
}

.site-footer {
  background: var(--ink);
  color: #e7f2f6;
  padding: 36px 0 42px;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--sky);
}

.site-footer p {
  margin: 6px 0;
}

.narrow {
  width: min(740px, calc(100% - 40px));
}

.card {
  margin: 32px auto 48px;
  padding: 32px 28px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(30, 69, 96, 0.06);
}

.prose h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  text-transform: none;
  margin: 0 0 16px;
}

.prose h2 {
  margin: 28px 0 8px;
  font-size: 1.35rem;
}

.prose p {
  margin: 0 0 12px;
}

.updated {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .services,
  .pillars,
  .visit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bar {
    flex-wrap: wrap;
    align-items: center;
  }

  nav {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .hero-photos {
    min-height: 0;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }

  .polaroid-main,
  .polaroid-front {
    position: static;
    width: auto;
    transform: none;
  }

  .polaroid-main img,
  .polaroid-front img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .doodle {
    display: none;
  }

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

  .gallery figure,
  .gallery figure:nth-child(4),
  .gallery figure:nth-child(5) {
    grid-column: auto;
    transform: none;
  }

  .gallery figure:first-child {
    grid-column: auto;
  }

}

@media (max-width: 560px) {
  .wrap {
    width: min(1080px, calc(100% - 28px));
  }

  .brand img {
    width: 68px;
    height: 68px;
  }

  .hero-copy {
    min-width: 0;
    max-width: 100%;
  }

  h1,
  h1 .display,
  h1 .script {
    max-width: 100%;
  }

  h1 .display {
    font-size: 2.1rem;
  }

  h1 .script {
    font-size: 2.6rem;
  }

  nav {
    gap: 8px 12px;
    max-width: 100%;
  }

  .button-small {
    padding: 7px 12px;
  }

  .blob {
    display: none;
  }

  .hero {
    padding-top: 18px;
  }

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

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

  .ritmo {
    border-radius: 24px;
    width: 100%;
  }

  .map-frame iframe {
    height: 280px;
  }

  .services {
    grid-template-columns: 1fr;
  }
}

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

  .button:hover,
  .gallery figure,
  .polaroid-main,
  .polaroid-front {
    transform: none;
  }
}
