@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/forum-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/forum-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #eeeae6;
  --paper-deep: #e4ddd3;
  --ink: #3d3831;
  --ink-soft: #6f675c;
  --gold: #dda827;
  --gold-ink: #a87c12;
  --sage: #a8b490;
  --sage-deep: #7f8c68;
  --sand: #d6c3a0;
  --gutter: 1.5rem;
  /* Height of the WhatsApp button, which the tab bar matches. */
  --bar-height: 64px;
  --bar-inset: max(0.5rem, env(safe-area-inset-bottom));
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: 'Forum', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--paper);
  /* Fine paper grain. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.3 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  padding-bottom: calc(var(--bar-height) + var(--bar-inset) + 2rem);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p {
  margin: 0;
  font-weight: 400;
}

a {
  color: inherit;
}

/* Breadcrumbs */

.breadcrumbs {
  padding: 1rem var(--gutter) 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li + li::before {
  content: '›';
  margin-right: 0.25rem;
  color: var(--gold);
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs [aria-current] {
  color: var(--ink);
}

/* Bottom bar: liquid-glass tabs on the left, the WhatsApp button on the right. */

.bottom-bar {
  position: fixed;
  left: 0.5rem;
  right: 0.5rem;
  bottom: var(--bar-inset);
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}
.bottom-bar > * {
  pointer-events: auto;
}
.whatsapp {
  display: block;
  flex: none;
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 10px rgb(40 30 15 / 0.18));
}
.whatsapp img {
  display: block;
}

.tabs {
  flex: 1;
  display: flex;
  height: var(--bar-height);
  padding: 5px;
  border-radius: 999px;
  background: rgb(250 248 245 / 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgb(255 255 255 / 0.7);
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / 0.9),
    inset 0 -1px 2px rgb(120 100 70 / 0.08),
    0 8px 24px rgb(60 45 25 / 0.14);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tabs {
    background: rgb(247 244 240 / 0.95);
  }
}
.tabs a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background-color 0.2s;
}
.tabs a[aria-current='page'] {
  color: var(--ink);
  background: rgb(255 255 255 / 0.75);
  box-shadow: 0 1px 4px rgb(60 45 25 / 0.12);
}

/* Landing page */

.home {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* The hills fill the bottom edge, so the bar floats over them. */
  padding-bottom: 0;
}
.home-waves {
  display: block;
  width: 100%;
  height: 130px;
  color: var(--sand);
}
.home-main {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter);
}
.home-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -1rem;
  text-align: center;
}
.mark {
  color: var(--gold);
}
.home-name {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.home h1 {
  margin-top: 0.25rem;
  font-size: 3rem;
  line-height: 1.1;
}
.home-letter {
  max-width: 20rem;
  margin: 2rem auto 0;
  font-size: 1.3rem;
  line-height: 1.45;
  text-align: center;
}
.home-letter p + p {
  margin-top: 1.25rem;
}
.home-letter p:nth-child(3) {
  margin-top: 2rem;
}
.home-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 22rem;
  margin: 2.25rem auto 0;
}
.home-ctas a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  border-radius: 999px;
  background: rgb(250 248 245 / 0.7);
  border: 1px solid var(--gold);
  font-size: 1.15rem;
  text-decoration: none;
}
.home-hills {
  display: block;
  width: 100%;
  height: 200px;
  margin-top: auto;
}

/* Guide pages */

.page {
  padding: 0 var(--gutter);
}
.page-header {
  position: relative;
  padding: 1.75rem 0 1.5rem;
}
.page-waves {
  position: absolute;
  inset: 0 calc(-1 * var(--gutter)) auto;
  width: calc(100% + 2 * var(--gutter));
  height: 110px;
  color: var(--sand);
  opacity: 0.6;
  z-index: -1;
}
.page h1 {
  font-size: 2.6rem;
  line-height: 1.1;
}
.lede {
  margin-top: 0.5rem;
  color: var(--ink-soft);
}
.page h2 {
  font-size: 1.6rem;
  line-height: 1.2;
}

/* House guide */

.wifi {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgb(250 248 245 / 0.65);
  border: 1px solid rgb(214 195 160 / 0.6);
}
.wifi dl {
  margin: 1rem 0 0;
}
.wifi dl > div + div {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(214 195 160 / 0.5);
}
.wifi dt {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.wifi dd {
  margin: 0.15rem 0 0;
  font-size: 1.45rem;
  overflow-wrap: anywhere;
}
.wifi-password {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wifi-password button {
  flex: none;
  min-width: 5rem;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--gold-ink);
}

.topic-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem 1rem 1rem;
  border-radius: 1.5rem;
  background: rgb(250 248 245 / 0.65);
  border: 1px solid rgb(214 195 160 / 0.6);
  text-decoration: none;
}
.topic-link-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--sage);
  color: #fff;
}
.topic-link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.topic-link-title {
  font-size: 1.4rem;
  line-height: 1.2;
}
.topic-link-subtitle {
  font-size: 1rem;
  color: var(--ink-soft);
}
.topic-link-arrow {
  flex: none;
  color: var(--gold-ink);
}

.contact {
  margin-top: 2.5rem;
}
.contact p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
}
.contact-number {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.75rem 1.4rem 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: rgb(250 248 245 / 0.65);
  font-size: 1.4rem;
  text-decoration: none;
}
.contact-number svg {
  color: var(--sage-deep);
}

/* Washing machine */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.step + .step {
  margin-top: 2rem;
}
.step figure {
  margin: 0;
}
.step .placeholder,
.step img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  object-fit: cover;
}
.step figcaption {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.step-number {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-ink);
  font-size: 1rem;
}

/* Batam guide */

.category + .category {
  margin-top: 2.25rem;
}
.scroller {
  display: flex;
  gap: 0.875rem;
  margin: 0.875rem calc(-1 * var(--gutter)) 0;
  padding: 0 var(--gutter) 0.25rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar {
  display: none;
}
.scroller li {
  flex: none;
  width: 60%;
}
.place {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.place .placeholder,
.place img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1.25rem;
  object-fit: cover;
}
.place-name {
  margin-top: 0.6rem;
  font-size: 1.25rem;
  line-height: 1.25;
}
.place-note {
  margin-top: 0.15rem;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

/* Stand-in tile until real photos arrive: sand wash with a sage hill line. */
.placeholder {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60' preserveAspectRatio='none'%3E%3Cpath d='M0 46 C 18 34, 30 30, 46 40 S 74 30, 100 38 L 100 60 L 0 60 Z' fill='%23a8b490' opacity='0.55'/%3E%3C/svg%3E")
      bottom / 100% 55% no-repeat,
    linear-gradient(160deg, #e9dfcd, #ddd0b8);
}
