/* Seven Media Transfers — static site stylesheet */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #141519;
  --ground: #F4F2EE;
  --surface: #FFFFFF;
  --muted: #5B5F69;
  --on-dark-muted: #B7BAC2;
  --line: #ECE9E3;
  --line-strong: #DEDBD4;
  --red: #CC0033;
  --red-dark: #8E0B20;
  --red-on-dark: #FF5A6E;
  --chip-line: #3A3D45;
  --shadow: 0 1px 2px rgba(20,21,25,.06), 0 8px 24px rgba(20,21,25,.08);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
a:focus-visible { outline: 3px solid var(--red-on-dark); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 8px 14px; background: var(--surface); color: var(--ink); border-radius: 6px; }
.skip-link:focus { left: 8px; }

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
}
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; }

/* Header */
.site-header { background: var(--ink); color: #fff; padding: 0 24px; }
.site-header .wrap { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; padding-left: 12px; border-left: 1px solid var(--chip-line); }
.header-link { color: var(--on-dark-muted); font-size: 15px; text-decoration: none; padding: 12px 0; white-space: nowrap; }
.header-link:hover { color: #fff; }

/* Dark title band */
.band { background: var(--ink); color: #fff; padding: 28px 24px 112px; }
.band .wrap { display: flex; flex-direction: column; gap: 12px; }
.band--home { padding: 40px 24px 120px; }
.band--home .wrap { gap: 14px; }
.band--upload { padding: 18px 24px 72px; }
.band--upload .wrap { gap: 8px; }
.crumb-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; }
.secure-note { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-dark-muted); }
.secure-note svg { flex-shrink: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.eyebrow { margin: 12px 0 0; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--red-on-dark); }
.band--home .eyebrow { margin-top: 0; }
h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
.band--home h1 { font-size: clamp(44px, 6vw, 76px); max-width: 16ch; }
.band--upload h1 { font-size: clamp(34px, 4vw, 48px); }
.h1-logo { white-space: nowrap; }
.h1-logo img { display: inline-block; height: .8em; width: auto; vertical-align: -.02em; margin: 0 .1em 0 .02em; }
.lede { margin: 0; font-size: 19px; color: var(--on-dark-muted); max-width: 52ch; }
.title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 5px 14px; border: 1px solid var(--chip-line); border-radius: 999px; color: #E6E7EA; font-size: 15px; }

/* Main */
main { flex-grow: 1; padding: 0 24px 40px; }

/* Choice cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: -80px; }
.band--home + main .cards { margin-top: -88px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 28px 32px; background: var(--surface); border-radius: 8px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20,21,25,.06), 0 16px 36px rgba(20,21,25,.14); }
.card--primary { box-shadow: 0 0 0 2px var(--red), 0 8px 24px rgba(20,21,25,.08); }
.card--primary:hover { box-shadow: 0 0 0 2px var(--red), 0 16px 36px rgba(20,21,25,.14); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-code { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .16em; color: var(--red); }
.card-phone { font-size: 14px; color: var(--muted); }
.card-title { font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; text-transform: uppercase; }
.card--option .card-title { font-size: 42px; }
.card-desc { color: var(--muted); flex-grow: 1; }
.card-cta { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--red); }
.badge { align-self: flex-start; padding: 4px 10px; border-radius: 4px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.badge--quiet { background: var(--line); color: #3E4149; }

/* Upload layout */
.upload-main { display: flex; padding-bottom: 16px; }
.upload-grid { width: 100%; max-width: 1120px; margin: -56px auto 0; display: flex; flex-wrap: wrap; gap: 24px; }
/* Upload pages use most of the screen width so the Digital Pigeon widget gets its desktop layout */
.uploader { flex: 1 1 560px; min-width: 0; align-self: flex-start; background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); }
/* Digital Pigeon's widget sizes itself; the panel just pads around it */
.dp-holder { padding: 20px 24px; }
.dp-holder iframe { display: block; width: 100% !important; max-width: 100%; border: 0; }
/* Shown only if Digital Pigeon's script can't load */
.dp-holder:has(.dp-fallback) { display: flex; min-height: 240px; }
.dp-fallback { margin: auto; padding: 14px 28px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; }
.dp-fallback:hover { background: var(--red-dark); color: #fff; }
.side { flex: 0 1 320px; min-width: 280px; display: flex; flex-direction: column; gap: 20px; }
.panel { background: var(--surface); border-radius: 8px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.panel h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.alt-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.alt-link:hover { color: var(--ink); border-color: var(--red); }
.alt-link svg { flex-shrink: 0; color: var(--red); }
.desk { background: var(--ink); color: #fff; border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.desk-label { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-on-dark); }
.desk-phone { color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.1; }
.desk-phone:hover { color: #fff; text-decoration: underline; }
.desk-email { color: var(--on-dark-muted); overflow-wrap: anywhere; font-size: 15px; }
.desk-email:hover { color: #fff; }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; background: #FFF4D6; border: 1px solid #E8B930; border-radius: 8px; color: #4D3800; font-weight: 600; box-shadow: 0 8px 24px rgba(20,21,25,.08); }
.notice svg { flex-shrink: 0; margin-top: 2px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-strong); background: var(--surface); padding: 0 24px; }
.site-footer .wrap { padding: 14px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; font-size: 14px; color: var(--muted); }
.foot-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.foot-label { font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.foot-group a { color: var(--ink); text-decoration: none; }
.foot-group a:hover { color: var(--red); text-decoration: underline; }
.foot-group .foot-muted { color: var(--muted); text-decoration: underline; }

/* Short desktop windows (e.g. 1366x768 laptops): tighten vertical spacing so nothing scrolls */
@media (min-width: 900px) and (max-height: 800px) {
  .site-header .wrap { min-height: 56px; }
  .brand img { width: 32px; height: 32px; }
  .band { padding: 20px 24px 96px; }
  .band .wrap { gap: 8px; }
  .band--home { padding: 24px 24px 112px; }
  .band--home h1 { font-size: 60px; }
  .band--upload { padding: 12px 24px 64px; }
  .band--upload h1 { font-size: 40px; }
  .upload-grid { margin-top: -48px; }
  .upload-main { padding-bottom: 12px; }
  h1 { font-size: 56px; }
  main { padding-bottom: 24px; }
  .upload-main { padding-bottom: 20px; }
  .card { padding: 22px 28px; gap: 8px; }
  .card-title { font-size: 42px; }
  .card--option .card-title { font-size: 38px; }
  .card-cta { padding-top: 12px; }
  .dp-holder { padding: 16px 20px; }
  .side { gap: 14px; }
  .panel { padding: 18px 20px; gap: 10px; }
  .panel h2 { font-size: 22px; }
  .desk { padding: 18px 20px; gap: 2px; }
  .desk-phone { font-size: 28px; }
  .notice { padding: 10px 14px; font-size: 15px; line-height: 1.4; }
  .site-footer .wrap { padding: 10px 0; }
}

@media (max-width: 600px) {
  .brand span { font-size: 18px; }
  .card { padding: 24px; }
  .card-title { font-size: 40px; }
  .dp-holder { padding: 12px; }
  /* On phones, show the "identify who these files are for" notice above the uploader */
  .side { display: contents; }
  .side > * { flex: 1 1 100%; }
  .notice { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}
