/* ============================================================
   Best Defence Conference — Homepage Concept
   Type + colour system derived from the official logo pack
   ============================================================ */

@font-face {
  font-family: "BDC Display";
  src: url("fonts/SansSerifExbFLF.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BDC Display";
  src: url("fonts/SansSerifExbFLF-Italic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;1,500&display=swap");

:root {
  /* base / ground */
  --ink:      #0B0F1A;   /* near-black navy — primary dark ground */
  --ink-2:    #121A2C;   /* raised dark surface */
  --ink-3:    #1B2438;   /* card on dark */
  --navy:     #16335F;   /* institutional navy (from wordmark sub) */

  /* paper / light */
  --paper:    #FFFFFF;
  --mist:     #F3F4F7;   /* light section ground */
  --mist-2:   #E9EBF0;
  --line-d:   rgba(255,255,255,.12);
  --line-l:   #E2E5EC;

  /* brand mosaic */
  --orange:   #F16726;
  --magenta:  #CF3C95;
  --blue:     #388DCC;
  --indigo:   #383C95;
  --red:      #CF3C26;

  --text-d:   #EAEDF3;   /* text on dark */
  --text-d-2: #97A1B6;   /* muted text on dark */
  --text-l:   #161B26;   /* text on light */
  --text-l-2: #5A6473;   /* muted text on light */

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  background: var(--ink);
  color: var(--text-l);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.display {
  font-family: "BDC Display", "Arial Black", sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

/* kicker / eyebrow */
.kicker {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12.5px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em;
  padding: 15px 26px;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #ff7733; }
.btn-ghost-d { background: transparent; color: var(--text-d); border-color: var(--line-d); }
.btn-ghost-d:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-l { background: transparent; color: var(--text-l); border-color: var(--line-l); }
.btn-ghost-l:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ============ HEADER ============ */
.topbar {
  background: var(--ink);
  color: var(--text-d-2);
  font-size: 12.5px;
  border-bottom: 1px solid var(--line-d);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 18px; }
.topbar a { color: var(--text-d-2); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.topbar .pill { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); display: inline-block; }

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,15,26,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-d);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav .logo { height: 38px; width: auto; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--text-d); font-weight: 600; font-size: 14.5px;
  letter-spacing: .01em; padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width .22s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; }

/* ============ HERO ============ */
.hero { position: relative; background: var(--ink); color: var(--text-d); overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, #0B0F1A 0%, #0B0F1A 38%, rgba(11,15,26,.62) 100%),
    repeating-linear-gradient(135deg, #1a2333 0 14px, #161e2d 14px 28px);
}
.hero-photo .ph-tag {
  position: absolute; right: 18px; bottom: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px;
  color: rgba(255,255,255,.5); letter-spacing: .04em;
}
/* mosaic accent field */
.mosaic {
  position: absolute; top: 0; right: 0; height: 100%; width: 46%;
  display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 1fr;
  opacity: .9; pointer-events: none;
  -webkit-mask-image: linear-gradient(105deg, transparent 0%, transparent 22%, #000 70%);
          mask-image: linear-gradient(105deg, transparent 0%, transparent 22%, #000 70%);
}
.mosaic i { display: block; }

.hero .wrap { position: relative; z-index: 2; padding-top: clamp(70px, 11vh, 130px); padding-bottom: clamp(70px, 11vh, 130px); }
.hero-inner { max-width: 820px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 14px; color: #fff; margin-bottom: 26px; }
.hero .eyebrow .bar { width: 30px; height: 2px; background: var(--orange); }
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 7.4vw, 104px);
}
.hero h1 .em { color: var(--orange); }
.hero .sub {
  margin: 28px 0 0; max-width: 620px;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--text-d);
  font-weight: 400;
}
.hero .sub b { font-weight: 700; color: #fff; }
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

/* ODA co-brand teaser */
.oda-chip {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 44px; padding: 12px 18px 12px 14px;
  border: 1px solid var(--line-d); border-radius: 3px;
  background: rgba(255,255,255,.03);
}
.oda-chip .badge {
  font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); background: var(--orange);
  padding: 4px 8px; border-radius: 2px; font-weight: 700;
}
.oda-chip .txt { font-size: 13.5px; color: var(--text-d-2); line-height: 1.4; }
.oda-chip .txt b { color: #fff; font-weight: 700; }

/* ============ STAT BAND ============ */
.stats { background: var(--ink-2); border-top: 1px solid var(--line-d); color: var(--text-d); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 40px 30px; border-left: 1px solid var(--line-d); position: relative; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: "BDC Display", sans-serif; font-style: italic; font-weight: 800; font-size: clamp(40px, 4.6vw, 62px); line-height: .9; }
.stat .lbl { margin-top: 12px; font-size: 13.5px; color: var(--text-d-2); line-height: 1.4; max-width: 200px; }
.stat:nth-child(1) .num { color: var(--orange); }
.stat:nth-child(2) .num { color: var(--blue); }
.stat:nth-child(3) .num { color: var(--magenta); }
.stat:nth-child(4) .num { color: #fff; }

/* ============ generic light section ============ */
.section { padding: clamp(64px, 9vh, 120px) 0; }
.section.light { background: var(--paper); color: var(--text-l); }
.section.mist { background: var(--mist); color: var(--text-l); }
.section.dark { background: var(--ink); color: var(--text-d); }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head .kicker { color: var(--orange); display: inline-flex; align-items: center; gap: 12px; }
.sec-head .kicker::before { content: ""; width: 26px; height: 2px; background: var(--orange); display: inline-block; }
.sec-head h2 { margin: 18px 0 0; font-size: clamp(32px, 4.4vw, 56px); }
.dark .sec-head h2, .dark h2 { color: #fff; }
.sec-head p { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: var(--text-l-2); max-width: 640px; }
.dark .sec-head p { color: var(--text-d-2); }

/* positioning statement */
.posi { background: var(--ink); color: #fff; }
.posi .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.posi h2 { font-size: clamp(30px, 3.8vw, 50px); margin: 22px 0 0; }
.posi h2 .em { color: var(--orange); }
.posi .lede { font-size: 18px; line-height: 1.6; color: var(--text-d-2); margin-top: 24px; }
.posi .attrib { margin-top: 26px; font-size: 13px; color: var(--text-d-2); border-left: 2px solid var(--magenta); padding-left: 16px; line-height: 1.5; }
.posi-map {
  aspect-ratio: 4/3; border: 1px solid var(--line-d); border-radius: 4px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    var(--ink-2);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.posi-map .pin { text-align: center; }
.posi-map .pin .big { font-family: "BDC Display", sans-serif; font-style: italic; font-weight: 800; font-size: 64px; color: var(--orange); line-height: 1; }
.posi-map .pin .cap { font-family: ui-monospace, monospace; font-size: 11px; color: var(--text-d-2); margin-top: 10px; letter-spacing: .06em; }

/* ============ reasons grid ============ */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.reason { background: var(--paper); padding: 34px 30px; position: relative; transition: background .2s; }
.reason:hover { background: var(--mist); }
.reason .rn { font-family: "BDC Display", sans-serif; font-style: italic; font-weight: 800; font-size: 22px; }
.reason h3 { margin: 14px 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.reason p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-l-2); }
.reason::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 46px; }
.reason:nth-child(1)::before { background: var(--orange); }
.reason:nth-child(2)::before { background: var(--magenta); }
.reason:nth-child(3)::before { background: var(--blue); }
.reason:nth-child(4)::before { background: var(--red); }
.reason:nth-child(5)::before { background: var(--indigo); }
.reason:nth-child(6)::before { background: var(--orange); }
.reason .rn { color: var(--text-l-2); }

/* ============ speakers ============ */
.spk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spk {
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 4px; overflow: hidden;
  transition: transform .18s ease, border-color .2s;
}
.spk:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.25); }
.spk .photo {
  aspect-ratio: 4/5; position: relative;
  background: repeating-linear-gradient(135deg, #1d2638 0 10px, #19212f 10px 20px);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.spk .photo .initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: "BDC Display", sans-serif; font-style: italic; font-weight: 800; font-size: 56px;
  color: rgba(255,255,255,.14);
}
.spk .photo .strip { position: absolute; left: 0; top: 0; width: 5px; height: 100%; }
.spk .meta { padding: 16px 16px 18px; }
.spk .meta .nm { font-weight: 700; font-size: 15.5px; color: #fff; letter-spacing: -.01em; }
.spk .meta .rl { font-size: 12.5px; color: var(--text-d-2); margin-top: 5px; line-height: 1.4; }
.spk .meta .org { font-size: 12px; color: var(--blue); margin-top: 7px; font-weight: 600; }
.spk-foot { margin-top: 38px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ============ three paths ============ */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path {
  border: 1px solid var(--line-l); border-radius: 5px; padding: 34px 30px 30px;
  background: var(--paper); display: flex; flex-direction: column; min-height: 320px;
  transition: transform .18s ease, box-shadow .2s;
}
.path:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -22px rgba(11,15,26,.4); }
.path .tag { font-family: "BDC Display", sans-serif; font-style: italic; font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.path h3 { font-size: 27px; margin: 14px 0 10px; letter-spacing: -.01em; font-weight: 700; }
.path p { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--text-l-2); flex: 1; }
.path.attend { border-top: 4px solid var(--orange); }
.path.exhibit { border-top: 4px solid var(--blue); }
.path.sponsor { border-top: 4px solid var(--magenta); }
.path.attend .tag { color: var(--orange); }
.path.exhibit .tag { color: var(--blue); }
.path.sponsor .tag { color: var(--magenta); }

/* ============ sponsors ============ */
.spon-tier { margin-bottom: 40px; }
.spon-tier .tlabel { font-family: "Archivo"; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--text-l-2); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.spon-tier .tlabel::after { content: ""; flex: 1; height: 1px; background: var(--line-l); }
.spon-row { display: flex; flex-wrap: wrap; gap: 14px; }
.spon-logo {
  height: 70px; min-width: 170px; flex: 0 0 auto; border: 1px solid var(--line-l); border-radius: 4px;
  background: var(--paper); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--text-l-2); font-size: 14px; padding: 0 26px; text-align: center;
}
.spon-logo.platinum { min-width: 220px; height: 92px; }

/* ============ program teaser ============ */
.prog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.day { border: 1px solid var(--line-d); border-radius: 5px; padding: 30px; background: var(--ink-2); }
.day .dh { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line-d); padding-bottom: 18px; margin-bottom: 18px; }
.day .dh .dd { font-family: "BDC Display"; font-style: italic; font-weight: 800; font-size: 26px; color: #fff; }
.day .dh .dl { font-size: 12.5px; color: var(--text-d-2); }
.slot { display: flex; gap: 18px; padding: 11px 0; font-size: 14.5px; }
.slot .t { color: var(--orange); font-weight: 700; min-width: 92px; font-variant-numeric: tabular-nums; }
.slot .d { color: var(--text-d); }

/* ============ venue / final cta ============ */
.venue .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.venue .vmap { aspect-ratio: 16/10; border-radius: 5px; border: 1px solid var(--line-l); background: repeating-linear-gradient(135deg, #eef0f4 0 14px, #e7eaf0 14px 28px); display:flex; align-items:center; justify-content:center; }
.venue .vmap .mono { font-family: ui-monospace, monospace; font-size: 11px; color: var(--text-l-2); }
.venue h2 { font-size: clamp(30px, 4vw, 48px); margin: 16px 0 0; }
.venue .addr { font-size: 17px; line-height: 1.6; color: var(--text-l-2); margin-top: 18px; }

.finalcta { background: var(--orange); color: #fff; text-align: center; }
.finalcta .wrap { padding: clamp(64px, 9vh, 110px) var(--gut); }
.finalcta h2 { font-size: clamp(36px, 5.6vw, 78px); margin: 0; color: #fff; }
.finalcta p { font-size: 19px; margin: 20px auto 34px; max-width: 560px; color: rgba(255,255,255,.92); }
.finalcta .btn-dark { padding: 17px 38px; font-size: 16px; }

/* ============ footer ============ */
.footer { background: var(--ink); color: var(--text-d-2); padding: 70px 0 40px; border-top: 1px solid var(--line-d); }
.footer .ftop { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--line-d); }
.footer .logo { height: 40px; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--text-d-2); }
.footer ul a:hover { color: #fff; }
.footer .blurb { font-size: 14px; line-height: 1.6; max-width: 300px; }
.footer .fbot { padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.footer .disc { max-width: 720px; line-height: 1.5; color: #6b7488; }

/* ============ design-notes panel ============ */
.notes-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  background: var(--orange); color: #fff; border: 0; cursor: pointer;
  font-family: "Archivo"; font-weight: 700; font-size: 13px; letter-spacing: .03em;
  padding: 13px 18px; border-radius: 40px; box-shadow: 0 10px 30px -8px rgba(241,103,38,.6);
  display: flex; align-items: center; gap: 9px;
}
.notes-panel {
  position: fixed; inset: 0; z-index: 110; display: none;
  background: rgba(6,9,16,.6); backdrop-filter: blur(4px);
}
.notes-panel.open { display: block; }
.notes-card {
  position: absolute; right: 0; top: 0; height: 100%; width: min(480px, 100%);
  background: var(--ink-2); color: var(--text-d); border-left: 1px solid var(--line-d);
  padding: 34px 34px 60px; overflow-y: auto;
}
.notes-card h3 { font-family: "BDC Display"; font-style: italic; text-transform: uppercase; color: #fff; font-size: 26px; margin: 0 0 6px; }
.notes-card .nk { font-family: ui-monospace, monospace; font-size: 11px; color: var(--orange); letter-spacing: .1em; }
.notes-card h4 { color: #fff; font-size: 14px; margin: 26px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.notes-card p, .notes-card li { font-size: 13.5px; line-height: 1.6; color: var(--text-d-2); }
.notes-card ul { padding-left: 18px; margin: 8px 0; }
.notes-card .close { position: absolute; right: 22px; top: 20px; background: none; border: 1px solid var(--line-d); color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 16px; }
.notes-card .swatches { display: flex; gap: 8px; margin: 10px 0; }
.notes-card .swatches span { width: 34px; height: 34px; border-radius: 3px; }

/* ============ responsive ============ */
@media (max-width: 1024px) {
  .spk-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding: 30px 0; }
  .posi .wrap, .venue .wrap, .prog { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .footer .ftop { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .topbar .tb-right .hide-sm { display: none; }
  .menu-btn { display: block; }
  .reasons, .spk-grid { grid-template-columns: 1fr; }
  .mosaic { width: 70%; opacity: .5; }
  .footer .ftop { grid-template-columns: 1fr; }
}
