/* ============================================================
   Chania Accommodation — landing page
   Brand-neutral: deliberately distinct from Ammos Domi (Playfair
   Display + Inter) and Museum Cozy Apartment's own styling.
   Static, no JS dependencies beyond the inline year stamp.
   ============================================================ */

:root {
  --ink: #14181c;
  --ink-soft: #3a4147;
  --paper: #f7f5f1;
  --line: rgba(20, 24, 28, 0.12);
  --accent: #c98a4b;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- header ---------- */
.brand-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem clamp(1.25rem, 5vw, 3.5rem) 1rem;
}

.brand-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: 0.01em;
}

.brand-tag {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- main / cards ---------- */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1rem clamp(1.25rem, 5vw, 3.5rem) 2rem;
}

.choice-grid {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.choice-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  isolation: isolate;
  box-shadow: 0 1px 2px rgba(20, 24, 28, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.choice-card:hover,
.choice-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 24, 28, 0.22);
}

.choice-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.choice-card:hover .choice-photo,
.choice-card:focus-visible .choice-photo {
  transform: scale(1.08);
}

.choice-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 12, 14, 0.88) 0%,
    rgba(10, 12, 14, 0.35) 45%,
    rgba(10, 12, 14, 0.05) 70%
  );
}

.choice-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 4vw, 2rem);
  gap: 0.35rem;
}

.choice-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.choice-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  margin: 0;
  line-height: 1.15;
}

.choice-line {
  margin: 0.15rem 0 0.6rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32ch;
}

.choice-enter {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.choice-enter .arrow {
  transition: transform 0.25s ease;
}

.choice-card:hover .arrow,
.choice-card:focus-visible .arrow {
  transform: translateX(4px);
}

/* ---------- footer ---------- */
.brand-footer {
  text-align: center;
  padding: 1.25rem 1rem 1.75rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

/* ---------- responsive ---------- */
@media (max-width: 700px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .choice-card {
    aspect-ratio: 4 / 3;
  }
}
