*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --cream: #FFFFFF;
  /* All light tones unified to the single white colour */
  --sand: var(--cream);
  --warm-white: var(--cream);
  --bark: #3A4F73;
  --soil: #0B1F45;
  --moss: #25406E;
  --clay: #5B86C4;
  --stone: #8DA0C2;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--soil);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* PAGE HEADER */
.pf-header {
  padding: 4rem 4rem 2.5rem;
  background: var(--soil);
  position: relative;
  overflow: hidden;
}
.pf-header-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #06122B 0%, #0B1F45 45%, #1B3A6B 100%);
}
.pf-header-texture {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 8px 8px;
}
.pf-header-inner { position: relative; z-index: 2; }
.pf-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sand); text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s, transform 0.2s;
}
.pf-back::before { content: '←'; }
.pf-back:hover { color: var(--clay); transform: translateX(-3px); }
.pf-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.pf-eyebrow::before {
  content: ''; display: block; width: 40px; height: 0.5px;
  background: var(--clay);
}
.pf-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.02;
  color: var(--warm-white);
  letter-spacing: 0.01em;
}
.pf-title em { font-style: italic; color: var(--clay); }
.pf-subtitle {
  font-size: 0.95rem; line-height: 1.9;
  color: var(--sand); margin-top: 1.5rem; max-width: 560px;
}
.pf-quote {
  display: inline-block; margin-top: 1.5rem; padding: 0.65rem 1.15rem;
  background: var(--warm-white); color: var(--soil); font-weight: 500; text-decoration: none;
}
.pf-quote:hover { background: #d3e2f8; }
.pf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.pf-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  min-height: 46px;
  box-sizing: border-box;
  text-align: center;
}
.pf-actions .pf-quote { border: 1px solid var(--warm-white); }
.pf-secondary {
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--warm-white);
  color: var(--warm-white);
  background: transparent;
  font-weight: 500;
  text-decoration: none;
}
.pf-secondary:hover { background: rgba(255,255,255,0.12); }
@media (max-width: 360px) {
  .pf-actions { flex-direction: column; align-items: stretch; }
  .pf-actions a { width: 100%; text-align: center; }
}
.pf-group + .pf-group { margin-top: 3rem; }
.pf-group h2 { font: 400 2rem 'Cormorant Garamond', serif; margin-bottom: 1rem; }
.pf-group img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pf-group figcaption { color: var(--bark); margin-top: 0.55rem; }

/* PORTFOLIO GRID */
.pf-gallery {
  padding: 5rem 4rem 6rem;
  background: var(--cream);
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
/* FOOTER */
footer {
  background: var(--soil);
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding: 2rem 4rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--stone);
}
.footer-copy { font-size: 0.7rem; color: var(--stone); letter-spacing: 0.05em; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: flex-end; }
.footer-socials a {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--stone); text-decoration: none; transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.footer-socials a:hover { color: var(--sand); }
.social-icon { display: block; flex-shrink: 0; }
.footer-services { flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; padding-top: 1.25rem; margin-top: 0.25rem; border-top: 0.5px solid rgba(255,255,255,0.08); }
.footer-services a { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); text-decoration: none; transition: color 0.2s; }
.footer-services a:hover { color: var(--sand); }


/* RESPONSIVE */
@media (max-width: 900px) {
  .pf-header { padding: 3rem 2rem 2rem; }
  .pf-gallery { padding: 3rem 2rem 4rem; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem; }
  .footer-socials { justify-content: center; }
  .footer-services { flex: none; }
}
@media (max-width: 560px) {
  .pf-header { padding: 2.5rem 1.25rem 1.75rem; }
  .pf-gallery { padding: 2.5rem 1.25rem 3.5rem; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-subtitle { font-size: 0.9rem; }
}

@media (width > 900px) {
  .pf-grid-balanced { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pf-grid-balanced > figure { grid-column: span 2; }
  .pf-grid-balanced > figure:last-child:nth-child(3n + 1) { grid-column: 3 / span 2; }
  .pf-grid-balanced > figure:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
}
@media (560px < width <= 900px) {
  .pf-grid-balanced { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pf-grid-balanced > figure { grid-column: span 2; }
  .pf-grid-balanced > figure:last-child:nth-child(odd) { grid-column: 2 / span 2; }
}

@media (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .pf-back, .pf-quote, .pf-secondary, .footer-socials a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
}

/* Areas and FAQ on the hotel and resort page */
.pf-copy {
  margin-top: 4rem;
  max-width: 46rem;
}
.pf-copy h2 {
  font: 400 2rem 'Cormorant Garamond', serif;
  margin-bottom: 1rem;
  color: var(--soil);
}
.pf-copy p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--bark);
  font-weight: 400;
  max-width: 46rem;
}
.pf-copy a { color: var(--soil); font-weight: 500; }
.pf-copy a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.pf-faq details {
  border-top: 1px solid #d6e0ec;
  padding-block: 0.85rem;
}
.pf-faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--soil);
  font-size: 1rem;
}
.pf-faq details p { margin: 0.6rem 0 0; }
@media (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .pf-faq details { padding-block: 0; }
  .pf-faq summary { min-height: 44px; padding-block: 0.7rem; display: flex; align-items: center; }
  .pf-faq details p { margin-top: 0; padding-bottom: 0.85rem; }
}
