/* Collections — Caroline's brief, 24 Aug 2026.
   Editorial, no search box. Inherits every colour token from site.css. */

/* ---------- landing ---------- */
.col-hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.col-hero h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.05;
  max-width: 18ch;
  margin: .6rem 0 0;
}
.col-hero .lede { max-width: 60ch; margin-top: 1.2rem; }

.col-pick { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
@media (max-width: 760px) { .col-grid { grid-template-columns: 1fr; } }

.col-card {
  position: relative;
  display: block;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  min-height: clamp(17rem, 34vw, 22rem);
  border: 1px solid var(--line, rgba(255, 255, 255, .14));
  border-radius: 14px;
  background: var(--panel, rgba(255, 255, 255, .04));
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.col-card::after {
  content: "";
  position: absolute; inset: auto -20% -45% auto;
  width: 22rem; height: 22rem; border-radius: 50%;
  background: radial-gradient(circle, var(--gorse, #E0B142) 0%, transparent 62%);
  opacity: .12; pointer-events: none;
}
.col-card-alt::after { background: radial-gradient(circle, var(--euc, #5FA98B) 0%, transparent 62%); }
.col-card:hover, .col-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gorse, #E0B142);
  background: var(--panel-2, rgba(255, 255, 255, .07));
}
.col-card-alt:hover, .col-card-alt:focus-visible { border-color: var(--euc, #5FA98B); }

.col-badge {
  display: inline-block;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft, #B6C4BB);
  border: 1px solid var(--line, rgba(255, 255, 255, .18));
  border-radius: 999px; padding: .28rem .7rem;
}
.col-figure {
  display: block;
  font-family: var(--serif, Fraunces, Georgia, serif);
  font-size: clamp(3.2rem, 9vw, 5.4rem);
  line-height: 1; margin: 1.4rem 0 .1rem;
  color: var(--gorse, #E0B142);
}
.col-card-alt .col-figure { color: var(--euc, #5FA98B); }
.col-card h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: .2rem 0 .6rem; }
.col-card p { color: var(--ink-soft, #B6C4BB); max-width: 40ch; margin: 0; }
.col-go { display: inline-block; margin-top: 1.4rem; font-weight: 600; color: var(--gorse, #E0B142); }
.col-card-alt .col-go { color: var(--euc, #5FA98B); }

.col-note { margin-top: 1.6rem; font-size: .92rem; color: var(--ink-soft, #B6C4BB); max-width: 68ch; }

.col-why { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 820px) { .col-why { grid-template-columns: 1fr; } }
.col-why h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-top: .5rem; }
.col-why p { color: var(--ink-soft, #B6C4BB); margin-top: 1rem; }

/* ---------- drill-down page ---------- */
.cx-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: calc(100vh - 8rem);
}
@media (max-width: 900px) {
  .cx-wrap { grid-template-columns: 1fr; }
  .cx-map-col { order: -1; }
}

.cx-map-col { position: relative; }
#map { position: sticky; top: 0; height: min(78vh, 720px); width: 100%; }
@media (max-width: 900px) { #map { position: static; height: 46vh; } }
.cx-hint {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0; padding: .55rem 1rem;
  font-size: .84rem; color: var(--ink-soft, #B6C4BB);
  background: color-mix(in srgb, var(--bg, #101813) 84%, transparent);
  border-top: 1px solid var(--line, rgba(255, 255, 255, .12));
  pointer-events: none;
}
@media (max-width: 900px) { .cx-hint { position: static; background: none; } }

.cx-panel { padding: clamp(1.2rem, 3vw, 2.4rem); min-width: 0; }

.cx-crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; padding: 0; font-size: .86rem; }
.cx-crumb li + li::before { content: "›"; margin-right: .4rem; color: var(--ink-soft, #B6C4BB); }
.cx-crumb a { color: var(--ink-soft, #B6C4BB); }
.cx-crumb [aria-current] { color: var(--ink, #E9F0E9); font-weight: 600; }

.cx-head h1 { font-size: clamp(1.8rem, 4.4vw, 2.9rem); margin: .3rem 0 0; line-height: 1.08; }
.cx-sub { color: var(--ink-soft, #B6C4BB); margin-top: .7rem; }

.cx-switch { display: inline-flex; margin: 1.4rem 0 .4rem; border: 1px solid var(--line, rgba(255, 255, 255, .18)); border-radius: 999px; overflow: hidden; }
.cx-switch a { padding: .5rem 1.1rem; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink-soft, #B6C4BB); }
.cx-switch a.is-on { background: var(--gorse, #E0B142); color: #17110b; }

.cx-note {
  margin: 1.4rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--euc, #5FA98B);
  background: var(--panel, rgba(255, 255, 255, .04));
  border-radius: 0 10px 10px 0;
}
.cx-note p { margin: 0; color: var(--ink-soft, #B6C4BB); font-size: .95rem; }
.cx-note .eyebrow { margin-bottom: .4rem; }

.cx-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }

/* provinces: tiles */
.cx-list-prov { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .8rem; }
.cx-tile {
  display: block; padding: 1rem;
  border: 1px solid var(--line, rgba(255, 255, 255, .14));
  border-radius: 12px; text-decoration: none; color: inherit;
  transition: border-color .16s ease, background .16s ease;
}
.cx-tile:hover, .cx-tile:focus-visible { border-color: var(--gorse, #E0B142); background: var(--panel, rgba(255, 255, 255, .05)); }
.cx-n { display: block; font-family: var(--serif, Fraunces, Georgia, serif); font-size: 2rem; line-height: 1; color: var(--gorse, #E0B142); }
.cx-t { display: block; font-weight: 600; margin-top: .35rem; }
.cx-m { display: block; font-size: .82rem; color: var(--ink-soft, #B6C4BB); margin-top: .15rem; }

/* towns: rows */
.cx-list-town li + li { margin-top: .5rem; }
.cx-row {
  display: grid; grid-template-columns: 3rem 1fr; gap: .9rem; align-items: start;
  padding: .85rem .9rem; border: 1px solid var(--line, rgba(255, 255, 255, .12));
  border-radius: 12px; text-decoration: none; color: inherit;
  transition: border-color .16s ease, background .16s ease;
}
.cx-row:hover, .cx-row:focus-visible { border-color: var(--euc, #5FA98B); background: var(--panel, rgba(255, 255, 255, .05)); }
.cx-row-n { font-family: var(--serif, Fraunces, Georgia, serif); font-size: 1.5rem; color: var(--euc, #5FA98B); line-height: 1.2; }
.cx-row-b b { display: block; }
.cx-row-b em { display: block; font-style: normal; font-size: .87rem; color: var(--ink-soft, #B6C4BB); margin-top: .2rem; }

/* homes */
.cx-list-home li + li { margin-top: .55rem; }
.cx-home {
  display: grid; grid-template-columns: 72px 1fr; gap: .9rem; align-items: center;
  padding: .7rem; border: 1px solid var(--line, rgba(255, 255, 255, .12));
  border-radius: 12px; text-decoration: none; color: inherit;
  transition: border-color .16s ease, background .16s ease;
}
.cx-home:hover, .cx-home:focus-visible { border-color: var(--gorse, #E0B142); background: var(--panel, rgba(255, 255, 255, .05)); }
.cx-home img, .cx-noimg { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; display: block; }
.cx-noimg { background: var(--panel-2, rgba(255, 255, 255, .08)); }
.cx-home-b b { display: block; font-size: .98rem; line-height: 1.3; }
.cx-home-b em { display: block; font-style: normal; font-size: .84rem; color: var(--ink-soft, #B6C4BB); margin-top: .2rem; }
.cx-price { display: block; margin-top: .3rem; font-weight: 600; color: var(--gorse, #E0B142); }
.cx-poa { color: var(--ink-soft, #B6C4BB); font-weight: 500; }

.cx-empty { margin-top: 1.4rem; color: var(--ink-soft, #B6C4BB); }

/* map markers */
.cx-bub span {
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gorse, #E0B142) 88%, transparent);
  color: #17110b; font-weight: 700; font-size: .9rem;
  border: 2px solid rgba(255, 255, 255, .55);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.cx-dot span {
  display: block; width: 16px; height: 16px; border-radius: 50%;
  background: var(--euc, #5FA98B);
  border: 2px solid #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}
.cx-bub, .cx-dot { background: none; border: 0; }

/* homepage band (replaces the old search form) */
.col-band { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.col-band-h { font-family: var(--serif, Fraunces, Georgia, serif); font-size: clamp(1.25rem, 2.8vw, 1.85rem); margin: .3rem 0 0; line-height: 1.2; max-width: 24ch; }
.col-band-a { display: flex; flex-wrap: wrap; gap: .7rem; }
.col-band-sub { margin: .45rem 0 0; font-size: clamp(.95rem, 1.5vw, 1.1rem); line-height: 1.4;
                color: var(--ink-soft, #B6C4BB); max-width: 44ch; }
.col-band-n { margin: 1rem 0 0; font-size: .92rem; color: var(--ink-soft, #B6C4BB); }

/* Touch targets: breadcrumb links and the collection switch were 16px / 40px tall
   on a 375px viewport. Padding only — no layout shift on desktop. */
.cx-crumb ol { gap: .2rem .4rem; }
.cx-crumb a, .cx-crumb [aria-current] { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .15rem; }
.cx-switch a { min-height: 44px; display: inline-flex; align-items: center; }

/* =====================================================================
   THE COLLECTIONS BAND — top of explore.html
   Tile treatment follows luxattyhomes.com/landing/collection/ (the page
   Caroline sent): tall portrait photographs, one phrase each, no search
   box, no price grid. Two tiles, not five — she has two collections.
   ===================================================================== */
/* The band now sits ON the site's video hero (page-hero has-film), so it needs
   its own full-width inner wrap - .page-hero-in caps at 46rem, which would
   squash the two tiles. Everything inside is left-aligned. */
.xp-hero { border-bottom: 1px solid var(--line); }
.xp-hero-in {
  position: relative; z-index: 3;
  padding-block: clamp(2.4rem, 6vw, 4.2rem);
  text-align: left;
}
.xp-hero .eyebrow { color: #D6E3DA; }
.xp-hero .xp-col-h { color: #F4F8F3; text-shadow: 0 2px 26px rgba(0,0,0,.45); }
/* The subtitle sits on the same film and must not inherit the dark body colour. */
.xp-hero .xp-col-sub { color: #E8F0E9; text-shadow: 0 1px 18px rgba(0,0,0,.55); }
.xp-hero .xp-col-n { color: #DCE7DF; text-shadow: 0 1px 12px rgba(0,0,0,.45); }

.xp-col-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.5rem); margin-top: clamp(1.3rem, 3vw, 2rem);
}
@media (max-width: 720px) { .xp-col-grid { grid-template-columns: 1fr; } }

.xp-col-card {
  position: relative; display: block; overflow: hidden;
  border-radius: 14px; text-decoration: none; color: #fff;
  min-height: clamp(19rem, 32vw, 27rem);
  border: 1px solid var(--line, rgba(255,255,255,.14));
  transition: transform .2s ease, border-color .2s ease;
}
.xp-col-card:hover, .xp-col-card:focus-visible { transform: translateY(-3px); border-color: var(--gorse, #E0B142); }
.xp-col-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease;
}
.xp-col-card:hover img { transform: scale(1.04); }
.xp-col-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,14,10,.92) 0%, rgba(8,14,10,.55) 42%, rgba(8,14,10,.12) 100%);
}
.xp-col-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.1rem, 2.4vw, 1.7rem); }
.xp-col-t {
  display: block; font-family: var(--serif, Fraunces, Georgia, serif);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.05; color: #fff;
}
.xp-col-m { display: block; margin-top: .4rem; font-size: .95rem; color: rgba(255,255,255,.86); }
.xp-col-m b { color: var(--gorse, #E0B142); font-weight: 700; }
.xp-col-go { display: inline-block; margin-top: .9rem; font-weight: 600; color: var(--gorse, #E0B142); }
.xp-col-n { margin: 1.2rem 0 0; font-size: .93rem; color: var(--ink-soft, #B6C4BB); max-width: 74ch; }

/* =====================================================================
   THREE REGIONS, SIDE BY SIDE
   ===================================================================== */
.reg3 { padding: clamp(2.4rem, 6vw, 4rem) 0; }
.reg3-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem); margin-top: clamp(1.4rem, 3vw, 2.2rem);
  align-items: start;
}
@media (max-width: 980px) { .reg3-grid { grid-template-columns: 1fr; } }

.reg3-card {
  display: flex; flex-direction: column;
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  border: 1px solid var(--line, rgba(255,255,255,.14));
  border-radius: 14px; background: var(--panel, rgba(255,255,255,.04));
  height: 100%;
}
.reg3-own { border-color: var(--euc, #5FA98B); background: var(--panel-2, rgba(255,255,255,.07)); }
.reg3-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.reg3-flag { width: 36px; height: 24px; flex: none; display: block; }
.reg3-name { font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.reg3-card .pill { align-self: flex-start; }
.reg3-card h3 {
  font-family: var(--serif, Fraunces, Georgia, serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.2; margin: .8rem 0 .6rem;
}
.reg3-card p { color: var(--ink-soft, #B6C4BB); font-size: .95rem; margin: 0 0 .8rem; }
.reg3-how { border-top: 1px solid var(--line, rgba(255,255,255,.12)); padding-top: .8rem; }
.reg3-ticks { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .92rem; color: var(--ink-soft, #B6C4BB); }
.reg3-ticks li { position: relative; padding-left: 1.4rem; margin-bottom: .4rem; }
.reg3-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--euc, #5FA98B); font-weight: 700; }
/* Left-aligned, natural width - a stretched full-card button forces its label
   to the centre, which was the only thing on the page not aligned left. */
.reg3-card .btn { margin-top: auto; align-self: flex-start; text-align: left; }

.reg3-more { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 820px) { .reg3-more { grid-template-columns: 1fr; } }
.reg3-more h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: .4rem 0 .8rem; }
.reg3-more ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft, #B6C4BB); }
.reg3-more li { margin-bottom: .55rem; }
.reg3-more p { color: var(--ink-soft, #B6C4BB); }

/* The map panel's heading stepped from h1 to h2 when the Collections band took
   the h1 at the top of the page. Keep it looking exactly as it did — it must not
   inherit the small uppercase treatment of the filter-group labels. */
.xp-panel h2.xp-h {
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.15;
  margin: 0 0 .5rem; color: var(--ink);
  letter-spacing: normal; text-transform: none; font-weight: 400;
}

/* This hero carries more text than the others — an eyebrow, an h1, two tiles and
   a paragraph — so the shared overlay (.62/.42/.72) left the small print at about
   3.2:1 against a bright video frame. Darkened for this hero only; the other
   page heroes are untouched. */
.xp-hero .page-hero-overlay {
  background: linear-gradient(180deg, rgba(8,18,13,.80), rgba(8,18,13,.64) 45%, rgba(8,18,13,.88));
}

/* ---------- the guide download page ---------- */
.gd-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.gd-nostrings { margin-top: .9rem; font-size: .92rem; color: #D6E3DA; }

.gd-chapters {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(.7rem, 1.6vw, 1.1rem);
}
@media (max-width: 900px) { .gd-chapters { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .gd-chapters { grid-template-columns: 1fr; } }

.gd-ch {
  display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; align-items: start;
  padding: .95rem 1rem;
  border: 1px solid var(--line, rgba(255,255,255,.13));
  border-radius: 12px;
  background: var(--panel, rgba(255,255,255,.035));
}
.gd-n {
  font-family: var(--serif, Fraunces, Georgia, serif);
  font-size: 1.35rem; line-height: 1; color: var(--gorse, #E0B142);
}
.gd-b b { display: block; font-size: .97rem; line-height: 1.3; }
.gd-b em { display: block; font-style: normal; font-size: .87rem; line-height: 1.45;
           color: var(--ink-soft, #B6C4BB); margin-top: .3rem; }

.gd-letter .letter { max-width: 62rem; }
.gd-check-box {
  border: 1px solid var(--line, rgba(255,255,255,.13));
  border-radius: 12px; background: var(--panel, rgba(255,255,255,.035));
  padding: clamp(1rem, 2.4vw, 1.6rem);
}
.gd-check-box ul { columns: 2; column-gap: 2.4rem; margin: 0; padding-left: 1.1rem; color: var(--ink-soft, #B6C4BB); }
@media (max-width: 700px) { .gd-check-box ul { columns: 1; } }
.gd-check-box li { margin-bottom: .5rem; break-inside: avoid; }
