/* =========================================================
   SPUN Sitges Retreat — Welcome Pack
   Mobile-first webpage. SPUN DS v3.1 tokens.
   ========================================================= */

/* ---------- Webfonts ---------- */
@font-face {
  font-family: "Söhne Schmal";
  src: url("assets/fonts/SoehneSchmal-Fett.woff2") format("woff2"),
       url("assets/fonts/SoehneSchmal-Fett.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Unica";
  src: url("assets/fonts/NeueHaasUnicaPro-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Unica";
  src: url("assets/fonts/NeueHaasUnicaPro-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Unica";
  src: url("assets/fonts/NeueHaasUnicaPro-Italic.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Unica";
  src: url("assets/fonts/NeueHaasUnicaPro-BoldItalic.otf") format("opentype");
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "MD IO";
  src: url("assets/fonts/MDIO-Regular.woff2") format("woff2"),
       url("assets/fonts/MDIO-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens (slimmed-down copy of SPUN DS) ---------- */
:root {
  --black: #000000;
  --white: #ffffff;
  --spun-grellow: #d3ff33;

  --light-gray-light: #F7F7F7;
  --light-gray-medium: #EBEBEB;
  --light-gray-dark: #B9B9B9;
  --dark-gray-light: #4C4C4C;
  --dark-gray-medium: #333333;
  --dark-gray-dark: #202020;

  --paper-warm: #e1ddd2;
  --cream: #f3e79b;
  --sand: #f8d08a;
  --apricot: #fab880;
  --peach: #f8a07e;
  --salmon: #f18982;
  --melon: #e3768a;
  --moss: #749c56;
  --lichen-green: #324536;
  --pale-green: #9ed06c;
  --plum: #5c53a5;
  --midnight-blue: #231f4b;
  --clay-red: #b64b4e;

  --tag-1: #cdfed1;
  --tag-2: #dadbd5;
  --tag-5: #e6e0f8;
  --tag-7: #ffbaba;
  --tag-8: #e9ff99;

  --ink: var(--black);
  --paper: var(--white);
  --paper-tint: var(--light-gray-light);
  --rule: var(--light-gray-medium);
  --ink-muted: var(--dark-gray-light);

  --font-display: "Söhne Schmal", "Anton", Impact, sans-serif;
  --font-body: "Neue Haas Unica", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "MD IO", ui-monospace, monospace;

  --radius-pill: 9999px;
  --radius-soft: 10px;
  --radius-block: 20px;

  --gutter: 20px;
  --max-content: 1100px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* leave room under sticky nav when jumping */
}
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--spun-grellow); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--spun-grellow);
}
.section-h {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 9vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.4;
  max-width: 56ch;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid #222;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 54px;
}
.topbar .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}
.topbar .logo img { height: 18px; width: auto; }
.topbar .logo .sep {
  width: 1px; height: 16px; background: #555;
}
.topbar .logo .name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar .dates {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 480px) {
  .topbar .dates { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  background: #2a1a10;
  overflow: hidden;
}
.hero .photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero .photo { aspect-ratio: 16/9; max-height: 80vh; }
}
.hero .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.75) 100%
  );
}
.hero .copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  color: var(--paper);
  padding: 24px var(--gutter) 28px;
  z-index: 2;
}
.hero .copy .wrap { padding: 0; }
.hero .eyebrow {
  color: var(--paper);
  margin-bottom: 14px;
}
.hero .eyebrow .dot { background: var(--spun-grellow); }
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(56px, 17vw, 180px);
  line-height: 0.84;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.hero h1 .accent {
  color: var(--spun-grellow);
}
.hero .meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.hero .meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero .meta .pill.live {
  background: var(--spun-grellow);
  color: var(--ink);
  border-color: var(--spun-grellow);
}
.hero .photo-credit {
  position: absolute;
  right: 12px; top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.3);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--spun-grellow);
  color: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  padding: 10px 0;
}
.marquee .track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  padding-right: 28px; /* keeps the seam gap consistent with item-to-item gap */
  animation: mq-scroll 42s linear infinite;
  will-change: transform;
}
.marquee .track > span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.marquee .dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink);
}
@keyframes mq-scroll {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; transform: translate3d(-12%,0,0); }
}

/* ---------- Sticky section nav ---------- */
.subnav {
  position: sticky;
  top: 54px;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.subnav .scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
}
.subnav .scroll::-webkit-scrollbar { display: none; }
.subnav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: background-color 0.12s, color 0.12s, border-color 0.12s;
}
.subnav a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.subnav a .n {
  color: var(--ink-muted);
  font-size: 10px;
}
.subnav a:hover .n { color: var(--spun-grellow); }
.subnav a.active {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.subnav a.active .n { color: var(--spun-grellow); }

/* ---------- Section ---------- */
section.block {
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}
section.block:first-of-type { border-top: 0; }
@media (min-width: 768px) {
  section.block { padding: 88px 0; }
}
.block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}
.block-head .l {
  display: flex; flex-direction: column; gap: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  background: var(--spun-grellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s, color 0.12s, transform 0.12s;
}
.btn:hover { background: var(--ink); color: var(--spun-grellow); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; }
.btn.sm { padding: 8px 14px; font-size: 11px; }
.btn .ico {
  width: 16px; height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--ico) center / 80% no-repeat;
          mask: var(--ico) center / 80% no-repeat;
}
.btn svg.ico {
  width: 16px; height: 16px;
  flex-shrink: 0;
  background: none;
  fill: currentColor;
  -webkit-mask: none; mask: none;
}

/* ---------- Tags / Pills ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--tag-8);
  color: var(--ink);
  line-height: 1.2;
}
.tag.cream { background: var(--cream); }
.tag.sand { background: var(--sand); }
.tag.peach { background: var(--peach); }
.tag.green { background: var(--tag-1); }
.tag.plum { background: var(--tag-5); }
.tag.rose { background: var(--tag-7); }

/* ---------- Area section ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .area-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
  }
}
.area-grid .copy { font-size: 17px; line-height: 1.5; }
.area-grid .copy p { margin-bottom: 1em; }
.area-grid .copy p strong { font-weight: 700; }
.area-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.area-photo {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-soft);
  overflow: hidden;
  background: var(--paper-tint);
}
.area-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.area-photo image-slot { width: 100%; height: 100%; }
.area-photo.tall { aspect-ratio: 4/5; }
.area-photo.wide { aspect-ratio: 4/3; grid-column: span 2; }
.area-photo .label {
  position: absolute;
  left: 10px; bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(0,0,0,0.55);
  padding: 4px 9px;
  border-radius: 4px;
  z-index: 2;
}
.map-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-top: 6px;
}

/* Region map (embedded MyMap) */
.region-map {
  margin-top: 40px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-block);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.region-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  flex-wrap: wrap;
}
.region-map-head .section-num { color: rgba(255,255,255,0.6); }
.region-map-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1;
  margin: 6px 0 0;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.region-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #111;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}
@media (min-width: 640px) {
  .region-map-frame { aspect-ratio: 16 / 10; }
}
@media (min-width: 1024px) {
  .region-map-frame { aspect-ratio: 16 / 8; }
}
.region-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.region-map-note {
  padding: 14px 22px 18px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* ---------- Attendees ---------- */
.attendees {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .attendees { grid-template-columns: auto 1fr; gap: 48px; }
}
.attendees .left { }
.attendees .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 14vw, 132px);
  line-height: 0.85;
  letter-spacing: -0.02em;
}
.attendees .num small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 8px;
  color: var(--ink-muted);
}
.attendee-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 540px) {
  .attendee-cards { grid-template-columns: repeat(3, 1fr); }
}
.attendee-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.attendee-card .pic {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-soft);
  overflow: hidden;
  background: var(--paper-tint);
}
.attendee-card .pic img {
  width: 100%; height: 100%; object-fit: cover;
}
.attendee-card .role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.attendee-card .name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.attendee-card .pic .pill {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--spun-grellow);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.team-roster {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--paper-tint);
  border-radius: var(--radius-soft);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.team-roster .stack {
  display: flex; flex-direction: column; gap: 4px;
}
.team-roster .label-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Pre-retreat ---------- */
.prework {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-block);
  padding: 28px 24px;
}
@media (min-width: 768px) {
  .prework { padding: 48px 40px; }
}
.prework .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .prework .grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.prework-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.prework-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--spun-grellow);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.prework-sub {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255,255,255,0.85);
  max-width: 36ch;
}
.prework-sub strong { color: var(--paper); font-weight: 700; }
.prework h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.01em;
}
.prework .object-card {
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-soft);
}
.prework .object-card .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--spun-grellow);
  margin-bottom: 8px;
}
.prework ol {
  counter-reset: prompt;
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.prework ol li {
  counter-increment: prompt;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-soft);
  font-size: 15px;
  line-height: 1.4;
}
.prework ol li::before {
  content: counter(prompt, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--spun-grellow);
  padding-top: 2px;
}
.prework .pullquote {
  margin-top: 24px;
  padding: 18px 20px 18px 22px;
  border-left: 4px solid var(--spun-grellow);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  color: var(--paper);
}
.prework .freewrite {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}

/* ---------- Itinerary ---------- */
.itinerary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .itinerary { grid-template-columns: 280px 1fr; gap: 48px; }
}
.day-tabs {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
  background: var(--paper);
  z-index: 5;
}
.day-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .day-tabs {
    flex-direction: column;
    gap: 6px;
    align-self: start;
    top: 130px;
  }
}
.day-tab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-soft);
  border: 1px solid var(--rule);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: background-color 0.12s, border-color 0.12s, color 0.12s;
}
.day-tab:hover { border-color: var(--ink); }
.day-tab[aria-selected="true"] {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.day-tab .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 0.9;
  letter-spacing: -0.01em;
}
.day-tab .info {
  display: flex; flex-direction: column; gap: 2px;
}
.day-tab .info .day {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.day-tab .info .title {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}
.day-tab .live {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--spun-grellow);
  color: var(--ink);
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  display: none;
}
.day-tab.today .live { display: inline-block; }

.day-panel { display: none; }
.day-panel.active { display: block; }
.day-hero {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
.day-hero .big-n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(80px, 14vw, 140px);
  line-height: 0.82;
  letter-spacing: -0.02em;
}
.day-hero .info {
  display: flex; flex-direction: column; gap: 6px;
}
.day-hero .info .eyebrow { color: var(--ink-muted); }
.day-hero .info .title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.005em;
}

.schedule {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.schedule li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule);
  align-items: start;
}
@media (min-width: 540px) {
  .schedule li { grid-template-columns: 110px 1fr; gap: 20px; }
}
.schedule li:last-child { border-bottom: 0; }
.schedule li .time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding-top: 2px;
  white-space: nowrap;
}
.schedule li .what {
  font-size: 16px;
  line-height: 1.4;
}
.schedule li .what .icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.schedule li .what .pill-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px 3px 7px;
  background: var(--cream);
  border-radius: var(--radius-pill);
  margin-right: 8px;
  vertical-align: 1px;
  line-height: 1.2;
}
.schedule li .what .pill-mini .pill-ico {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  stroke-width: 2.2;
  margin-left: -1px;
}
.tag {
  gap: 6px;
}
.tag .tag-ico {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  stroke-width: 2.2;
  margin-left: -2px;
}
.attendee-card .pic .pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.attendee-card .pic .pill .tag-ico {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  stroke-width: 2.4;
  margin-left: -1px;
}
.schedule li .what .pill-mini.bus { background: var(--sand); }
.schedule li .what .pill-mini.meal { background: var(--tag-1); }
.schedule li .what .pill-mini.work { background: var(--tag-5); }
.schedule li .what .pill-mini.free { background: var(--tag-2); }
.schedule li .what .pill-mini.fun { background: var(--peach); }
.schedule li.headline {
  background: var(--paper-tint);
  border-radius: var(--radius-soft);
  padding: 12px 16px;
  margin: 6px 0;
  border: 0;
  grid-template-columns: 1fr;
}
.schedule li.headline .time { display: none; }
.schedule li.headline .what { font-weight: 700; }

/* ---------- Stays ---------- */
.villas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .villas { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.villa {
  border: 1px solid var(--rule);
  border-radius: var(--radius-block);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.villa .villa-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.villa .villa-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--paper-tint);
  border-bottom: 1px solid var(--rule);
}
.villa .villa-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.2);
}
.villa h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.005em;
}
.villa .addr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink-muted);
}
.villa .host {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
}
.villa .host strong { font-weight: 700; }
.villa .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.between {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  justify-content: center;
  padding: 8px 0;
}
.between::before, .between::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}

/* WiFi */
.wifi {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.wifi h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 32px;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.wifi-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.wifi-group {
  border: 1px solid var(--rule);
  border-radius: var(--radius-soft);
  background: var(--paper);
  overflow: hidden;
}
.wifi-group > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wifi-group > summary::-webkit-details-marker { display: none; }
.wifi-group > summary .chev {
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("assets/icons/chevron-down.svg") center / contain no-repeat;
          mask: url("assets/icons/chevron-down.svg") center / contain no-repeat;
  transition: transform 0.2s;
}
.wifi-group[open] > summary .chev { transform: rotate(180deg); }
.wifi-group .body { padding: 4px 0; }
.wifi-group.masia-nur .body {
  padding: 4px 0;
}
@media (min-width: 640px) {
  .wifi-group.masia-nur .body {
    column-count: 2;
    column-gap: 0;
  }
  .wifi-group.masia-nur .wifi-row {
    break-inside: avoid;
    border-right: 1px solid var(--rule);
  }
  .wifi-group.masia-nur .wifi-row:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1024px) {
  .wifi-group.masia-nur .body {
    column-count: 3;
  }
  .wifi-group.masia-nur .wifi-row:nth-child(2n) { border-right: 1px solid var(--rule); }
  .wifi-group.masia-nur .wifi-row:nth-child(3n) { border-right: 0; }
}
.wifi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.wifi-row:last-child { border-bottom: 0; }
.wifi-row .name {
  font-family: var(--font-body);
  font-weight: 700;
}
.wifi-row .pw {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.wifi-row .pw button {
  appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.wifi-row .pw button:hover { background: var(--ink); color: var(--paper); }
.wifi-row .pw button.copied { background: var(--spun-grellow); border-color: var(--ink); }

.contact-card {
  margin-top: 24px;
  background: var(--spun-grellow);
  border: 1px solid var(--ink);
  border-radius: var(--radius-block);
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
}
.contact-card .copy { font-size: 16px; line-height: 1.4; max-width: 32ch; }
.contact-card .copy strong { font-weight: 700; }
.contact-card .num {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 44px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.contact-card .num:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- Packing ---------- */
.packing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .packing { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (min-width: 1024px) {
  .packing { grid-template-columns: repeat(3, 1fr); }
}
.packing .heads-up {
  grid-column: 1 / -1;
  background: var(--cream);
  border-radius: var(--radius-soft);
  padding: 20px 22px;
  font-size: 15px;
  line-height: 1.5;
}
.packing .heads-up h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--ink);
}
.packing .heads-up ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.packing .heads-up li::before {
  content: "—"; margin-right: 8px; color: var(--ink-muted);
}

.pack-group h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.pack-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.pack-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.3;
  user-select: none;
}
.pack-list li:last-child { border-bottom: 0; }
.pack-list li .check {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background 0.12s;
}
.pack-list li .check::after {
  content: "";
  width: 12px; height: 12px;
  background: var(--ink);
  -webkit-mask: url("assets/icons/checkmark.svg") center / contain no-repeat;
          mask: url("assets/icons/checkmark.svg") center / contain no-repeat;
  opacity: 0;
}
.pack-list li.checked .check { background: var(--spun-grellow); }
.pack-list li.checked .check::after { opacity: 1; }
.pack-list li.checked .text { text-decoration: line-through; color: var(--ink-muted); }
.pack-list li .text { flex: 1; }
.pack-list li .note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-left: 8px;
}

.pack-progress {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
}
.pack-progress .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pack-progress .bar {
  flex: 1;
  height: 6px;
  background: var(--rule);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.pack-progress .bar .fill {
  height: 100%;
  background: var(--spun-grellow);
  width: 0%;
  transition: width 0.3s ease;
}
.pack-progress .count {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- Travel ---------- */
.travel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) { .travel { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .travel { grid-template-columns: repeat(3, 1fr); } }
.travel-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-soft);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.12s, transform 0.12s;
}
.travel-card, .travel-card * { text-decoration: none; }
.travel-card:hover { border-color: var(--ink); }
.travel-card .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.travel-card .name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.005em;
}
.travel-card .lines {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink);
  margin-top: 4px;
}
.travel-card .lines .lc { text-transform: none; letter-spacing: 0; }
.travel-card .lines a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--ink); }
.travel-card .actions {
  margin-top: 10px;
  display: flex; flex-wrap: wrap; gap: 6px;
}

/* ---------- Emergency ---------- */
.emergency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .emergency-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.sophie-card {
  grid-column: 1 / -1;
  background: var(--spun-grellow);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-block);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
@media (max-width: 540px) {
  .sophie-card { grid-template-columns: 1fr; padding: 22px; }
}
.sophie-card .copy { display: flex; flex-direction: column; gap: 8px; }
.sophie-card .copy .eyebrow { color: var(--ink); }
.sophie-card .copy .eyebrow .dot { background: var(--ink); }
.sophie-card .copy p { font-size: 18px; line-height: 1.4; margin: 0; max-width: 32ch; }
.sophie-card .num {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 44px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.sophie-card .num:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.emergency-card.big {
  grid-column: 1 / -1;
  background: var(--clay-red);
  color: var(--paper);
  border-radius: var(--radius-block);
  padding: 28px 28px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}
@media (max-width: 540px) {
  .emergency-card.big { grid-template-columns: 1fr; }
}
.emergency-card.big .l { display: flex; flex-direction: column; gap: 4px; }
.emergency-card.big .l .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.emergency-card.big .l .title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.005em;
  line-height: 0.95;
}
.emergency-card.big .num {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 120px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-decoration: none;
}
.emergency-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-block);
  padding: 22px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.emergency-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.emergency-card .lines {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.6;
}
.emergency-card .lines a { text-decoration: underline; text-underline-offset: 2px; }

.insurance-note {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--paper-tint);
  border-left: 4px solid var(--spun-grellow);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0;
  margin-top: 0;
}
.footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .footer .wrap { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.footer .logo img { height: 24px; }
.footer .small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer .big-mark {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(64px, 12vw, 120px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  color: var(--spun-grellow);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
