/* ============================================================
   LUXURY UNLOCKED — Pre-Departure / What to Wear & Pack Guide
   Brand stylesheet  (forked from the Booking Voucher sheet)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root{
  --gold:        #C2A24E;
  --gold-deep:   #9A7B30;
  --gold-bright: #D8BC6E;
  --gold-soft:   #E8D9AE;
  --gold-wash:   #F4ECD7;

  --ink:         #23201A;
  --ink-soft:    #5A5347;
  --ink-faint:   #8A8170;

  --cream:       #EFEAE0;
  --paper:       #FFFFFF;
  --paper-warm:  #FBF8F2;

  --line:        #E6E0D2;
  --line-strong: #D9D0BC;

  --warn:        #8B3A2C;
  --warn-wash:   #F6ECE6;

  --serif-disp:  'Cormorant Garamond', Georgia, serif;
  --serif-roman: 'Cinzel', Georgia, serif;
  --sans:        'Jost', system-ui, -apple-system, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  background:var(--cream);
  color:var(--ink);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  padding:0;
}

/* =========================================================
   APP SHELL (control bar + document stage)
   ========================================================= */
.app{ display:flex; flex-direction:column; min-height:100vh; }

.docstage{ padding:36px 0 72px; }

/* =========================================================
   PAGE SHEET (A4)
   ========================================================= */
.page{
  position:relative;
  width:794px;
  min-height:1123px;
  margin:0 auto 34px;
  background:var(--paper);
  box-shadow:0 18px 50px -18px rgba(40,33,15,0.34), 0 2px 8px rgba(40,33,15,0.06);
  padding:54px 60px 40px;
  display:flex;
  flex-direction:column;
}
.page::after{
  content:"";
  position:absolute;
  right:-70px; bottom:-90px;
  width:340px; height:860px;
  background:url('assets/key-mark.png') no-repeat center/contain;
  opacity:.035; pointer-events:none; z-index:0;
}
.page > *{ position:relative; z-index:1; }

/* =========================================================
   COVER PAGE
   ========================================================= */
.cover{
  min-height:1123px;
  align-items:center; justify-content:center; text-align:center;
  padding:0;
}
.cover__inner{
  width:100%; min-height:1015px; margin:54px 0;
  border:1px solid var(--gold-soft);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:80px 64px; position:relative;
}
.cover__inner > *{ flex:none; }
.cover__inner::before{
  content:""; position:absolute; inset:10px;
  border:1px solid var(--line); pointer-events:none;
}
.cover__logo{ height:74px; width:auto; margin-bottom:40px; }
.cover__eyebrow{
  font-size:12px; letter-spacing:.4em; text-transform:uppercase;
  color:var(--gold-deep); font-weight:500; white-space:nowrap;
}
.cover__title{
  font-family:var(--serif-disp); font-weight:500; font-style:italic;
  font-size:54px; line-height:1.12; margin:18px 0 0; color:var(--ink);
  max-width:540px; text-wrap:balance;
}
.cover__rule{
  width:74px; height:2px; margin:36px 0 30px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent); border:0;
}
.cover__trip{
  font-family:var(--serif-roman); font-weight:500; font-size:21px;
  letter-spacing:.16em; text-transform:uppercase; color:var(--ink);
}
.cover__dests{
  margin-top:20px; font-size:14px; letter-spacing:.06em; color:var(--ink-soft);
  max-width:520px; line-height:1.7;
}
.cover__foot{
  position:absolute; bottom:46px; left:0; right:0;
  font-size:11px; letter-spacing:.26em; text-transform:uppercase; color:var(--gold-deep);
}

/* =========================================================
   CONTENT PAGE HEADER
   ========================================================= */
.head{
  display:flex; align-items:flex-end; justify-content:space-between;
  padding-bottom:16px; border-bottom:1px solid var(--line);
}
.head__title{
  font-family:var(--serif-disp); font-weight:600; font-size:24px; color:var(--ink);
}
.head__meta{
  font-family:var(--serif-roman); font-size:10px; letter-spacing:.2em;
  text-transform:uppercase; color:var(--ink-faint); text-align:right;
}

/* section heading */
.sec{ margin-top:34px; }
.sec:first-of-type{ margin-top:30px; }
.sec__head{
  display:flex; align-items:center; gap:14px; margin-bottom:18px;
}
.sec__num{
  flex:none; width:30px; height:30px; border:1px solid var(--gold-soft);
  background:var(--gold-wash); color:var(--gold-deep);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif-roman); font-size:12px; font-weight:600;
}
.sec__title{
  font-family:var(--serif-roman); font-weight:600; font-size:13px;
  letter-spacing:.24em; text-transform:uppercase; color:var(--ink);
}
.sec__title-line{ flex:1; height:1px; background:var(--line); }

/* weather intro paragraph */
.lead{
  font-family:var(--serif-disp); font-size:18.5px; line-height:1.55;
  color:var(--ink-soft); margin:0 0 22px; font-weight:400;
}
.lead em{ font-style:italic; color:var(--gold-deep); }

/* temperature table */
.temp{
  width:100%; border-collapse:collapse; margin-top:6px;
  font-size:13px;
}
.temp thead th{
  text-align:left; padding:10px 14px;
  font-family:var(--serif-roman); font-size:9.5px; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase; color:var(--gold-deep);
  background:var(--gold-wash); border-bottom:1px solid var(--gold-soft);
}
.temp thead th + th{ text-align:center; }
.temp tbody td{
  padding:11px 14px; border-bottom:1px solid var(--line);
  color:var(--ink); vertical-align:middle;
}
.temp tbody td:first-child{
  font-weight:500; color:var(--ink);
}
.temp tbody td + td{ text-align:center; font-variant-numeric:tabular-nums; color:var(--ink-soft); }
.temp tbody tr:last-child td{ border-bottom:0; }

/* colour / advisory callout */
.note-band{
  margin-top:18px; padding:16px 20px;
  background:var(--paper-warm); border:1px solid var(--line);
  border-left:3px solid var(--gold); 
  font-size:13px; line-height:1.6; color:var(--ink-soft);
}
.note-band strong{ color:var(--ink); font-weight:600; }
.note-band--warn{
  background:var(--warn-wash); border-left-color:var(--warn);
}
.note-band--warn strong{ color:var(--warn); }

/* checklist columns */
.checkgrid{
  display:grid; grid-template-columns:1fr 1fr; gap:6px 38px; margin-top:4px;
}
.checkgrid--single{ grid-template-columns:1fr; }

.subcols{ display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-top:6px; }

.sublist__title{
  font-family:var(--serif-roman); font-size:10px; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase; color:var(--gold-deep);
  padding-bottom:8px; margin-bottom:8px; border-bottom:1px solid var(--line);
}

.check{
  display:flex; align-items:flex-start; gap:11px;
  padding:7px 0; font-size:12.5px; line-height:1.5; color:var(--ink-soft);
  border-bottom:1px solid transparent;
}
.check__box{
  flex:none; width:14px; height:14px; margin-top:1px;
  border:1.4px solid var(--gold); 
  display:flex; align-items:center; justify-content:center;
}
.check__box svg{ width:9px; height:9px; color:var(--gold-deep); opacity:0; }
.check b{ color:var(--ink); font-weight:600; }

/* diamond bullets for "important notes" */
.notes-list{ list-style:none; margin:6px 0 0; padding:0; }
.notes-list li{
  position:relative; padding:9px 0 9px 26px; font-size:13px; line-height:1.6;
  color:var(--ink-soft); border-bottom:1px solid var(--line);
}
.notes-list li:last-child{ border-bottom:0; }
.notes-list li::before{
  content:""; position:absolute; left:4px; top:15px;
  width:7px; height:7px; background:var(--gold);
  transform:rotate(45deg);
}
.notes-list li b{ color:var(--ink); font-weight:600; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot{
  margin-top:auto; padding-top:22px;
  display:flex; align-items:center; justify-content:space-between;
  border-top:1px solid var(--line);
}
.foot__brand{ display:flex; align-items:center; gap:11px; }
.foot__brand img{ height:22px; width:auto; opacity:.55; }
.foot__tag{
  font-family:var(--serif-roman); font-size:9px; letter-spacing:.26em;
  text-transform:uppercase; color:var(--ink-faint);
}
.foot__site{ font-size:11px; color:var(--gold-deep); letter-spacing:.05em; }

/* editable affordance */
[contenteditable="true"]{ outline:none; border-radius:2px; transition:box-shadow .15s, background .15s; }
body.editing [contenteditable="true"]:hover{ box-shadow:0 0 0 1px var(--gold-soft); background:rgba(216,188,110,.07); }
body.editing [contenteditable="true"]:focus{ box-shadow:0 0 0 2px var(--gold); background:rgba(216,188,110,.10); }

/* =========================================================
   PRINT
   ========================================================= */
@media print{
  @page{ size:A4; margin:0; }
  html, body{ background:#fff !important; padding:0; margin:0; }
  *{ -webkit-print-color-adjust:exact !important; print-color-adjust:exact !important; }
  .topbar, .controlbar, .lu-toast, .gen-overlay{ display:none !important; }
  .docstage{ padding:0 !important; }
  .page{
    width:210mm; height:297mm; min-height:297mm;
    margin:0 auto; box-shadow:none; overflow:hidden;
    page-break-after:always; break-after:page;
  }
  .page.cover{ height:297mm; min-height:297mm; }
  .page:last-child{ page-break-after:auto; break-after:auto; }
  .page::after{ display:none !important; }
}
