/* ===================================================================
   Deal The Night - sections.css
   Page-level composition: hero, bands, cards, mosaic, steps, cases,
   quotes, FAQ, legal prose, CTA bands, disclaimer panels.
   =================================================================== */

/* ---------------------------------------------------------- utilities */

.band { padding: var(--section-y) 0; }
.band--cream { background: var(--cream); }
.band--linen { background: var(--linen); }
.band--sand  { background: var(--sand); }
.band--dark  { background: var(--ink); color: var(--on-dark-muted); }
.band--dark h2, .band--dark h3, .band--dark h4 { color: var(--on-dark); }
.band--dark a { color: var(--copper-lite); }
.band--espresso { background: var(--espresso); color: var(--on-dark-muted); }
.band--espresso h2, .band--espresso h3 { color: var(--on-dark); }
.band--tight { padding: clamp(2.25rem, 4vw, 3rem) 0; }

.eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 0.9rem;
}
.band--dark .eyebrow, .band--espresso .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--copper-lite); }

.lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.6; max-width: 62ch; }

.section-head { max-width: 60ch; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head--wide { max-width: 74ch; }
.section-head--center { margin-inline: auto; text-align: center; }

.rule {
  width: 56px; height: 2px;
  background: var(--copper);
  border: 0;
  margin: 0 0 1.5rem;
}
.section-head--center .rule { margin-inline: auto; }

/* ------------------------------------------------------------- hero
   Asymmetric split: copy on the left, a tall framed image on the right
   with a small overlapping credential plate. */

.hero {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% 40%;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(185, 112, 60, 0.22), transparent 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; align-items: center; }
}

.hero h1 { color: var(--on-dark); max-width: 22ch; }
.hero h1 em { font-style: normal; color: var(--copper-lite); }
.hero__lede { font-size: clamp(1.03rem, 1.7vw, 1.2rem); max-width: 50ch; margin-bottom: 1.8rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }

.hero__facts {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--espresso-line);
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 560px) { .hero__facts { grid-template-columns: repeat(3, 1fr); } }
.hero__facts li { margin: 0; }
.hero__facts b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--copper-lite);
  line-height: 1.1;
}
.hero__facts span { font-size: 0.82rem; letter-spacing: 0.04em; }

.hero__visual { position: relative; }
.hero__frame {
  border: 1px solid var(--espresso-line);
  padding: 0.55rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}
.hero__frame img { border-radius: 6px; width: 100%; object-fit: cover; aspect-ratio: 16 / 11; }

.hero__plate {
  background: var(--cream);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-hard);
  font-size: 0.84rem;
  line-height: 1.5;
  margin-top: -1.75rem;
  margin-inline: 1.25rem 0;
  position: relative;
  z-index: 2;
}
.hero__plate strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.15rem; }

/* --------------------------------------------------------- page heads */

.page-head {
  background: var(--espresso);
  color: var(--on-dark-muted);
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(2.25rem, 5vw, 3.25rem);
  border-bottom: 1px solid var(--espresso-line);
}
.page-head h1 { color: var(--on-dark); max-width: 26ch; }
.page-head__lede { max-width: 58ch; font-size: clamp(1rem, 1.5vw, 1.12rem); }

.crumbs { font-size: 0.78rem; letter-spacing: 0.06em; margin-bottom: 1.1rem; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--copper-lite); text-decoration: underline; }
.crumbs span { opacity: 0.55; padding-inline: 0.35rem; }

.page-head__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 1.6rem 0 0;
  padding: 0;
}
.page-head__meta li {
  margin: 0;
  border: 1px solid var(--espresso-line);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--on-dark);
}

/* ------------------------------------------------------------- cards */

.cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--copper-lite); }
.card h3 { margin: 0; }
.card p { font-size: 0.94rem; margin: 0; }
.card__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--copper-deep);
}
.card__link {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.card__link::after { content: " \2192"; }

.card--photo { padding: 0; overflow: hidden; }
.card--photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card--photo .card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }

.band--dark .card, .band--espresso .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--espresso-line);
}
.band--dark .card p, .band--espresso .card p { color: var(--on-dark-muted); }

/* ------------------------------------------------------------ mosaic */

.mosaic { display: grid; gap: 0.9rem; }

/* Tiles are <figure> elements: kill the UA margin or every tile sits inset
   inside its own grid cell. */
.mosaic__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--espresso);
  aspect-ratio: 3 / 2;
}
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Two columns: four equal tiles, a plain 2x2 block. No tile spans here - a
   double-width tile among four would push the fourth to its own row and leave
   an empty cell beside the third. */
@media (min-width: 620px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
}

/* Three columns, two rows - the only arrangement in which one double-height
   tile, two squares and one double-width tile fill the grid completely.
   A fourth column would leave a hole on the right. */
@media (min-width: 940px) {
  .mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(170px, 17vw, 235px);
  }
  .mosaic__item { aspect-ratio: auto; height: 100%; }
  .mosaic__item--tall { grid-row: span 2; }
  .mosaic__item--wide { grid-column: span 2; aspect-ratio: auto; }
}
.mosaic__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(27, 20, 16, 0.88), transparent);
  color: var(--on-dark);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------- split */

.split { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split__media--portrait img { aspect-ratio: 4 / 5; }

/* -------------------------------------------------------------- steps */

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step;
  margin: 0;
  padding-top: 1.1rem;
  border-top: 2px solid var(--copper);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--copper-deep);
  margin-bottom: 0.45rem;
}
.band--dark .steps li::before, .band--espresso .steps li::before { color: var(--copper-lite); }
.steps h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.steps p { font-size: 0.92rem; }

/* -------------------------------------------------------- stats strip */

.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { margin: 0; border-left: 2px solid var(--copper); padding-left: 1rem; }
.stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
  color: var(--on-dark);
}
.band--cream .stats b, .band--linen .stats b { color: var(--ink); }
.stats span { font-size: 0.84rem; }

/* ------------------------------------------------------------- lists */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { margin: 0; padding-left: 1.75rem; position: relative; font-size: 0.95rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 10px;
  border: 2px solid var(--copper);
  border-radius: 50%;
}
.checklist--2 { }
@media (min-width: 720px) { .checklist--2 { grid-template-columns: 1fr 1fr; gap: 0.7rem 2rem; } }

.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.pill-list li {
  margin: 0;
  border: 1px solid var(--sand);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.band--dark .pill-list li, .band--espresso .pill-list li {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--espresso-line);
  color: var(--on-dark);
}

/* -------------------------------------------------- cases and quotes */

.cases { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .cases { grid-template-columns: repeat(3, 1fr); } }

.case {
  border: 1px solid var(--espresso-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.case__tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-lite);
}
.case h3 { font-size: 1.12rem; margin: 0; }
.case p { font-size: 0.92rem; margin: 0; }
.case dl { margin: auto 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.8rem; font-size: 0.84rem; }
.case dt { color: var(--copper-lite); }
.case dd { margin: 0; color: var(--on-dark); }

.quotes { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.quote p { font-size: 0.96rem; font-style: italic; margin: 0; }
.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 0.6;
  color: var(--copper);
}
.quote figcaption { margin-top: auto; font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.03em; }
.quote figcaption b { display: block; color: var(--ink); font-size: 0.9rem; letter-spacing: 0; }

/* --------------------------------------------------------------- FAQ */

.faq { display: grid; gap: 0.75rem; max-width: 56rem; }
.faq details {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: #fff;
  padding: 0;
}
.faq details[open] { border-color: var(--copper-lite); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.2rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--copper-deep);
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .faq__body { padding: 0 1.2rem 1.2rem; font-size: 0.94rem; color: var(--text-muted); }
.faq .faq__body p { margin-bottom: 0.7rem; }

/* -------------------------------------------------------- CTA + notes */

.cta-band {
  background: var(--espresso);
  color: var(--on-dark-muted);
  border-top: 1px solid var(--espresso-line);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { margin-bottom: 0.5rem; color: var(--on-dark); }
.cta-band p { max-width: 54ch; font-size: 0.96rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.note {
  border: 1px solid var(--sand);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  padding: 1.15rem 1.25rem;
  font-size: 0.92rem;
}
.note h2, .note h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.band--dark .note, .band--espresso .note {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--espresso-line);
  border-left-color: var(--copper);
  color: var(--on-dark-muted);
}

.disclaimer-panel {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--espresso-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  background: rgba(255, 255, 255, 0.03);
}
@media (min-width: 820px) { .disclaimer-panel { grid-template-columns: 1fr 1.25fr; } }
.disclaimer-panel h2 { margin-bottom: 0.4rem; font-size: 1.3rem; }
.disclaimer-panel p { font-size: 0.92rem; }
.disclaimer-panel .pill-list { margin-top: 0.9rem; }

/* ------------------------------------------------------ enquiry block */

.enquiry-block { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 980px) { .enquiry-block { grid-template-columns: 0.85fr 1.15fr; } }

.enquiry-card {
  background: var(--cream);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-soft);
}
.enquiry-card h2 { margin-bottom: 0.4rem; }
.enquiry-card__intro { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { margin: 0; }
.contact-list dt, .contact-list__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-lite);
  margin-bottom: 0.2rem;
}
.contact-list a { color: var(--on-dark); }
.band--cream .contact-list a, .band--linen .contact-list a { color: var(--copper-deep); }

/* --------------------------------------------------------- legal prose */

.legal-layout { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 260px 1fr; } }

.toc {
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.2rem 1.25rem;
}
@media (min-width: 960px) { .toc { position: sticky; top: calc(var(--bar-h) + 1.25rem); } }
.toc h2 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 0.5rem; font-size: 0.88rem; }
.toc li::before { content: counter(toc) ". "; color: var(--copper-deep); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose p, .prose li { font-size: 0.97rem; }
.prose dl { display: grid; gap: 0.35rem 1rem; margin: 0 0 1.2rem; }
@media (min-width: 620px) { .prose dl { grid-template-columns: 220px 1fr; } }
.prose dt { font-weight: 700; color: var(--ink); }
.prose dd { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--sand); vertical-align: top; }
.prose th { background: var(--linen); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.prose__updated { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 1.75rem; }

/* ------------------------------------------------------- thank you page */

.thanks { display: grid; gap: 1.5rem; max-width: 46rem; }
.thanks__mark {
  width: 64px; height: 64px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--copper-lite);
}
.thanks__next { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.thanks__next li { margin: 0; padding-left: 1.6rem; position: relative; font-size: 0.95rem; }
.thanks__next li::before { content: "\2192"; position: absolute; left: 0; color: var(--copper-lite); }
