@font-face {
  font-family: "Kurale";
  src: url("/fonts/kurale.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f0e6;      /* warm plaster, like the facades along the canal */
  --card: #fcfaf5;
  --ink: #1e2b2c;        /* deep canal green-black */
  --muted: #5d6662;
  --terracotta: #b4552f; /* roof tiles and shutters */
  --canal: #2e6b61;      /* the water */
  --line: rgba(30, 43, 44, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --serif: "Kurale", "Georgia", "Times New Roman", serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.nowrap { white-space: nowrap; }

.eyebrow {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* =========================================================
   Hero (mobile first)
   ========================================================= */

.hero {
  display: flex;
  flex-direction: column;
}

.photo {
  position: relative;
  margin: 0;
  height: 56vh;
  height: 56svh;
  min-height: 340px;
  max-height: 560px;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 70%; /* keep the canal and the bridge in frame */
  animation: settle 1.6s var(--ease) both;
}

/* Soft shade at the top so the caption reads over the sky */
.photo::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 45%;
  background: linear-gradient(180deg, rgba(20, 30, 32, 0.35), transparent);
  pointer-events: none;
}

.place {
  position: absolute;
  z-index: 1;
  top: calc(18px + env(safe-area-inset-top));
  left: 20px;
  padding: 7px 13px;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.panel {
  position: relative;
  z-index: 1;
  margin-top: -28px;
  padding: 36px 20px 8px;
  background: var(--paper);
  border-radius: 28px 28px 0 0;
  text-align: center;
}

.panel-inner {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  animation: rise 0.9s 0.15s var(--ease) both;
}

.name {
  margin: 0;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.wave {
  display: block;
  margin: 18px auto 16px;
  color: var(--canal);
}

.bio {
  margin: 0 auto 30px;
  max-width: 24em;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Booking cards ---------- */

.booking {
  display: grid;
  gap: 12px;
}

.link {
  display: grid;
  grid-template-columns: 56px 1fr 36px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(30, 43, 44, 0.04), 0 8px 24px -12px rgba(30, 43, 44, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.link img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
}

.link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.link-platform {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.link-label {
  font-size: 1.0625rem;
  line-height: 1.3;
  text-wrap: balance;
}

.link-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.link:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 43, 44, 0.22);
  box-shadow: 0 2px 4px rgba(30, 43, 44, 0.05), 0 16px 32px -14px rgba(30, 43, 44, 0.28);
}
.link:hover .link-arrow {
  background: var(--terracotta);
  transform: translateX(2px);
}

/* ---------- Instagram + scroll cue ---------- */

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 22px;
}

.social,
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}
.social:hover,
.scroll-cue:hover { background: rgba(30, 43, 44, 0.06); }

.scroll-cue svg { animation: nudge 2.4s ease-in-out infinite; }

/* =========================================================
   Sections
   ========================================================= */

.section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 16px 0;
}

.section-title {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-text {
  margin: 0;
  max-width: 34em;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

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

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shot {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: #e8e1d4;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.shot:hover img { transform: scale(1.03); }

.shot:focus-visible {
  outline: 2px solid var(--canal);
  outline-offset: 3px;
}

.shot-wide { grid-column: span 2; aspect-ratio: 4 / 3; }
.shot-a    { grid-column: span 2; aspect-ratio: 3 / 2; }
.shot-b    { grid-column: span 1; aspect-ratio: 4 / 5; }

/* ---------- Location ---------- */

.location {
  display: grid;
  gap: 28px;
}

.location-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.location-body { padding: 0 4px; }

.address {
  margin: 22px 0 18px;
  padding-left: 14px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  border-left: 2px solid var(--terracotta);
}

.map {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  background: #e8e1d4;
}

.map-art {
  display: block;
  width: 100%;
  height: 100%;
}

/* Pins: tip of each pin sits on its spot (0,0 of the group) */
.pin-body {
  stroke: #fff;
  stroke-width: 5;
  filter: drop-shadow(0 6px 6px rgba(30, 43, 44, 0.3));
}
.pin use {
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pin text {
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 600;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 9px;
  stroke-linejoin: round;
}

.pin-sight .pin-body { fill: var(--canal); }
.pin-sight text      { fill: var(--canal); }
.pin-port .pin-body  { fill: #2a6f97; }
.pin-port text       { fill: #2a6f97; }
.pin-shop .pin-body  { fill: #8a5a2b; }
.pin-shop text       { fill: #8a5a2b; }
.pin-home .pin-body  { fill: var(--terracotta); }
.pin-home text       { fill: var(--terracotta); font-size: 50px; font-weight: 700; }

.streets text {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 500;
  text-anchor: middle;
  dominant-baseline: middle;
  fill: #5f6368;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 6px;
  stroke-linejoin: round;
}
.streets .water { fill: #2a7f9e; stroke: none; font-style: italic; }

.map-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 2px 6px;
  font-family: var(--sans);
  font-size: 0.5625rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  border-top-left-radius: 6px;
}

/* Small screens show less of the map, so labels and pins get bigger */
@media (max-width: 599px) {
  .pin text { font-size: 52px; stroke-width: 11px; }
  .pin-home text { font-size: 60px; }
  .streets text { font-size: 32px; }
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--paper);
  text-decoration: none;
  background: var(--ink);
  border-radius: 999px;
  transition: background-color 0.25s ease;
}
.button:hover { background: var(--terracotta); }

.social:focus-visible,
.scroll-cue:focus-visible,
.link:focus-visible,
.map:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--canal);
  outline-offset: 3px;
}

/* ---------- Footer ---------- */

.footer {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
  text-align: center;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p { margin: 0; }

.footer-name {
  margin-bottom: 4px !important;
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: 0;
  color: var(--ink);
}

/* ---------- Photo viewer ---------- */

.viewer {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.viewer[open] {
  display: grid;
  place-items: center;
  animation: fade 0.3s ease both;
}

.viewer::backdrop {
  background: rgba(16, 22, 23, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.viewer img {
  max-width: 94vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.viewer-close {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
}

/* ---------- Scroll reveal (only when JS runs) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Desktop
   ========================================================= */

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(460px, 1fr);
    height: 100vh;
    min-height: 680px;
  }

  .photo {
    height: 100%;
    min-height: 0;
    max-height: none;
    padding: 16px 0 16px 16px;
  }

  .photo img {
    border-radius: 24px;
    object-position: 26% 70%;
  }

  .photo::after {
    inset: 16px 0 auto 16px;
    border-radius: 24px 24px 0 0;
    height: 30%;
  }

  .place {
    top: auto;
    bottom: 40px;
    left: 40px;
  }

  .panel {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 48px clamp(40px, 6vw, 104px);
    border-radius: 0;
  }

  .name { font-size: 3.5rem; }

  .bio { font-size: 1.1875rem; }

  .link {
    grid-template-columns: 64px 1fr 40px;
    padding: 14px 16px 14px 14px;
  }
  .link img { width: 64px; height: 64px; }
  .link-label { font-size: 1.125rem; }
  .link-arrow { width: 40px; height: 40px; }

  .section { padding: 128px 32px 0; }

  .section-title { font-size: 2.75rem; }

  .section-head {
    display: grid;
    grid-template-columns: 5fr 7fr;
    column-gap: 64px;
    align-items: end;
    margin-bottom: 40px;
    padding: 0;
  }
  .section-head .eyebrow { grid-column: 1; }
  .section-head .section-title { grid-column: 1; margin: 0; }
  .section-head .section-text { grid-column: 2; grid-row: 1 / span 2; }

  .gallery {
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }

  .shot { border-radius: 20px; }
  .shot-wide { grid-column: span 12; aspect-ratio: 21 / 9; }
  .shot-a    { grid-column: span 7;  aspect-ratio: 4 / 3; }
  .shot-b    { grid-column: span 5;  aspect-ratio: auto; }

  .location {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
  }

  .location-photo {
    border-radius: 20px;
    aspect-ratio: 3 / 4;
  }

  .location-body { padding: 0; }

  .map { aspect-ratio: 16 / 9; border-radius: 20px; }

  .footer { margin-top: 128px; }
}

/* ---------- Motion ---------- */

@keyframes settle {
  from { transform: scale(1.06); opacity: 0.5; }
  to   { transform: scale(1);    opacity: 1; }
}

@keyframes rise {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .photo img, .panel-inner, .scroll-cue svg, .viewer[open] { animation: none; }
  .link, .link-arrow, .social, .shot img, .button { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
