:root {
  --sand: #f7f1e6;
  --sand-deep: #efe4d0;
  --ink: #141414;
  --ink-soft: #4a4640;
  --teal: #1d7f86;
  --teal-deep: #135a60;
  --coral: #e8603c;
  --sun: #f4b63a;
  --line: rgba(20, 20, 20, 0.14);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 50% -10%, #fff 0%, transparent 70%),
    var(--sand);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Masthead */
.masthead {
  text-align: center;
  padding: clamp(0.5rem, 1.5vw, 1rem) 1.25rem 1.5rem;
}
.logo {
  width: min(620px, 90vw);
  margin: 0 auto;
  mix-blend-mode: multiply; /* lets the white logo background melt into the sand */
}
.lede {
  margin: 1.4rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--ink-soft);
}

/* Properties */
.stays {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.stay {
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(19, 90, 96, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.stay figure { margin: 0; overflow: hidden; }
.stay img { width: 100%; transition: transform 0.6s ease; }
.stay:hover, .stay:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 var(--line), 0 28px 50px -24px rgba(19, 90, 96, 0.6);
}
.stay:hover img, .stay:focus-visible img { transform: scale(1.03); }
.stay:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

.stay-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem 1.25rem;
}
.stay-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.1;
}
.stay-title { display: flex; flex-direction: column; gap: 0.3rem; }
.stay-details {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.stay-town {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.stay-cta {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  padding: 0.55rem 0.95rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.stay:hover .stay-cta { background: var(--teal-deep); color: #fff; }

/* Book direct */
.direct {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 1200px;
  margin: clamp(3.5rem, 8vw, 6rem) auto 0;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--ink);
  color: var(--sand);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1240px) { .direct { margin-inline: auto; } }
.direct::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  right: -160px; top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 182, 58, 0.35), transparent 65%);
  pointer-events: none;
}
.direct-intro { position: relative; }
.badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.badge span { font-size: 1.05rem; letter-spacing: 0; }
.direct h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
}
.direct-intro > p:not(.badge) {
  margin: 0;
  max-width: 34ch;
  font-weight: 300;
  font-size: 1.08rem;
  color: rgba(247, 241, 230, 0.8);
}

.contact-links {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(247, 241, 230, 0.2);
  border-radius: 14px;
  color: var(--sand);
  text-decoration: none;
  font-size: 1.08rem;
  word-break: break-word;
  transition: border-color 0.25s, background 0.25s;
}
.contact-links a:hover, .contact-links a:focus-visible {
  border-color: var(--sun);
  background: rgba(244, 182, 58, 0.08);
}
.contact-links small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun);
}
.contact-links svg {
  flex-shrink: 0;
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.direct-intro > p.payments {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: none;
  margin: 0.85rem 0 0;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 500;
  font-size: 1.02rem;
}
.payments svg {
  flex-shrink: 0;
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* Form */
.inquiry {
  position: relative;
  background: var(--sand);
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(1.4rem, 3vw, 2rem);
}
.inquiry h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
}
.hp { position: absolute; left: -9999px; }
.row { display: grid; gap: 0.85rem; margin-bottom: 0.85rem; }
.row.two { grid-template-columns: 1fr 1fr; }
.row.three { grid-template-columns: 1fr 1fr 0.6fr; }
.inquiry label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.inquiry label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: 0.7; }
.inquiry input, .inquiry select, .inquiry textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inquiry textarea { resize: vertical; }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29, 127, 134, 0.18);
}
.inquiry button {
  width: 100%;
  margin-top: 0.4rem;
  padding: 1rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--coral);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
}
.inquiry button:hover { background: #d24f2c; }
.inquiry button:active { transform: translateY(1px); }
.inquiry button:disabled { opacity: 0.6; cursor: wait; }
.form-status { min-height: 1.4em; margin: 0.8rem 0 0; font-size: 0.95rem; text-align: center; }
.form-status.ok { color: var(--teal-deep); font-weight: 500; }
.form-status.err { color: #b3361a; }

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer a { color: inherit; }

/* Responsive */
@media (max-width: 1240px) {
  .direct { margin-left: clamp(1rem, 3vw, 2rem); margin-right: clamp(1rem, 3vw, 2rem); }
}
@media (max-width: 860px) {
  .stays, .direct { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .row.two, .row.three { grid-template-columns: 1fr; }
  .stay-caption { flex-direction: column; align-items: flex-start; }
  .stay-name { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
