/* Chi Duly — Wedding EPK (web)
   Adapted from the print source. Fonts load from Google Fonts (Archivo + IBM
   Plex Mono) rather than bundling ~1MB of TTFs, to stay fast on phones — most
   visitors open this from a planner's text or email. */

@page{size:Letter;margin:0;}
:root{--ink:#000;--mute:#555;--rule:#000;}
*{box-sizing:border-box;margin:0;padding:0;}
html,body{background:#fff;color:var(--ink);}
body{font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:7.3pt;line-height:1.38;}
a{color:inherit;text-decoration:none;}
.page{width:8.5in;height:11in;padding:0.46in 0.55in 0.4in;display:flex;flex-direction:column;overflow:hidden;}

/* header */
.masthead{display:flex;justify-content:space-between;align-items:flex-end;padding-bottom:0.14in;}
.logo{display:block;}
.logo .word{font-family:"Archivo",sans-serif;font-weight:900;font-size:25pt;line-height:0.86;letter-spacing:-0.5pt;}
.logo .sub{font-family:"Archivo",sans-serif;font-weight:600;font-size:7pt;letter-spacing:3.6pt;margin-top:3pt;}
.doc-tag{text-align:right;font-weight:500;font-size:7.3pt;letter-spacing:1.5pt;line-height:1.5;}

/* actions bar (web only — download + watch) */
.actions{display:flex;gap:9pt;flex-wrap:wrap;margin:0.1in 0 0;}
.actions a{display:inline-flex;align-items:center;gap:6pt;font-family:"IBM Plex Mono",monospace;font-weight:500;font-size:9pt;letter-spacing:0.4pt;text-transform:uppercase;padding:7pt 13pt;border:1pt solid #000;transition:background .15s,color .15s;}
.actions a.primary{background:#000;color:#fff;}
.actions a:hover,.actions a:focus-visible{background:#000;color:#fff;}
.actions a.primary:hover{background:#333;}
@media print{.actions{display:none;}}

/* hero */
.hero{display:grid;grid-template-columns:2.75in 1fr;column-gap:0.3in;margin-top:0.12in;}
.hero img{width:2.75in;height:2.64in;object-fit:cover;display:block;filter:grayscale(1);}
.name{font-family:"Archivo",sans-serif;font-weight:800;font-size:15pt;letter-spacing:-0.2pt;line-height:1;margin-bottom:5pt;}
.ids{font-weight:500;line-height:1.45;margin-bottom:7pt;text-transform:uppercase;}
.ids a{border-bottom:0.5pt solid #000;}
.bio{font-size:7.5pt;line-height:1.5;}

/* sections */
.section-title{font-family:"Archivo",sans-serif;font-weight:800;font-size:10.5pt;letter-spacing:-0.1pt;margin:0.2in 0 0.07in;padding-bottom:3pt;border-bottom:1.2pt solid var(--rule);}
.cols{display:grid;column-gap:0.28in;}
.cols-3{grid-template-columns:1fr 1fr 1fr;}
.cols-w{grid-template-columns:1.1fr 1fr 1fr;}
.cols-r{grid-template-columns:1fr 1.12fr 0.88fr;}
h3{font-weight:700;font-size:7.3pt;letter-spacing:0.6pt;text-transform:uppercase;margin-bottom:4pt;}
h3.r{text-align:right;}
ul{list-style:none;}
.lst li{display:flex;justify-content:space-between;gap:6pt;white-space:nowrap;}
.lst li span:last-child{text-align:right;color:var(--mute);}
.lst.right li{justify-content:flex-end;}
.lst.right li span:last-child{color:var(--ink);}
.note{color:var(--mute);font-size:6.6pt;margin-top:4pt;line-height:1.35;}
.planners li{white-space:nowrap;}
.mt{margin-top:9pt;}

/* watch block */
.watch{display:flex;gap:8pt;align-items:flex-start;}
.watch img{width:0.92in;height:0.92in;display:block;border:0.6pt solid #000;}
.watch .lbl{font-weight:700;text-transform:uppercase;letter-spacing:0.5pt;}
.watch a.btn{display:inline-block;margin-top:4pt;padding:3pt 7pt;border:0.8pt solid #000;font-weight:500;}
.watch a.btn:hover{background:#000;color:#fff;}
.links li a{border-bottom:0.5pt solid #000;}

/* footer */
.spacer{flex:1;}
.footer{display:flex;justify-content:space-between;align-items:flex-end;border-top:1.2pt solid var(--rule);padding-top:6pt;margin-top:0.14in;}
.footer .mark{font-family:"Archivo",sans-serif;font-weight:900;font-size:12pt;line-height:1;}
.footer .contact{text-align:right;font-weight:500;letter-spacing:0.4pt;line-height:1.5;text-transform:uppercase;}
.footer .contact a{border-bottom:0.5pt solid #000;}

/* screen presentation: show as a document page on a grey mat */
@media screen{
  body{background:#e9e9e9;}
  /* On screen let the sheet grow to its content instead of clipping at a
     fixed 11in — web fonts render a touch taller than the print build, which
     was cutting off the footer. The fixed one-page height stays for print. */
  .page{margin:26px auto;background:#fff;box-shadow:0 2px 18px rgba(0,0,0,.12);height:auto;min-height:11in;overflow:visible;}
}

/* mobile: single column, readable text, big tap targets, QR hidden
   (a QR is useless on the phone you're already holding) */
@media screen and (max-width:820px){
  body{font-size:13px;}
  .page{width:auto;height:auto;margin:0;padding:26px 18px 40px;box-shadow:none;}
  .masthead{padding-bottom:16px;}
  .logo .word{font-size:34px;}
  .doc-tag{font-size:11px;}
  .actions{gap:10px;margin-top:16px;}
  .actions a{flex:1 1 160px;justify-content:center;font-size:14px;padding:15px 12px;}
  .hero{grid-template-columns:1fr;row-gap:16px;margin-top:20px;}
  .hero img{width:100%;height:auto;max-height:70vh;}
  .name{font-size:26px;}
  .bio{font-size:14px;line-height:1.6;}
  .section-title{font-size:19px;margin:30px 0 12px;}
  .cols-3,.cols-w,.cols-r{grid-template-columns:1fr;row-gap:20px;}
  h3{font-size:12px;}
  .lst li{white-space:normal;font-size:13px;gap:14px;}
  .watch img{display:none;}
  .watch a.btn{font-size:14px;padding:12px 16px;margin-top:6px;}
  .footer{flex-direction:column;align-items:flex-start;gap:12px;}
  .footer .contact{text-align:left;}
}
