:root{
  --bg: #0b0d10;
  --panel: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);

  --sign-green: #0b5d3b;
  --sign-green-2: #0a4a30;

  /* Alphanumeric marker colours */
  --alpha-green: #0b5d3b;
  --alpha-yellow: #ffd200;
  --alpha-border: #ffffff;

  /* Road name patch */
  --patch-bg: #ffffff;
  --patch-text: #111111;
  --patch-border: rgba(0,0,0,.18);
  --patch-radius: 6px; /* smaller radius as requested */

  --shadow: 0 12px 32px rgba(0,0,0,.35);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(11,79,162,.18), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, rgba(11,93,59,.22), transparent 55%),
    linear-gradient(180deg, #07090c, #0b0d10);
  color: var(--text);
}

.container{
  width:min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 18px;
  flex-wrap:wrap;
}

.brand{ display:flex; flex-direction:column; gap:4px; }
.brand h1{ margin:0; font-size: 28px; letter-spacing: .2px; }
.brand .tag{ margin:0; color: var(--muted); font-size: 14px; }

.pill{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.card{
  border:1px solid var(--border);
  background: var(--panel);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-inner{ padding: 18px; }
.sign-hero{ padding: 18px; }

.sign-panel{
  background: linear-gradient(180deg, var(--sign-green), var(--sign-green-2));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  position: relative;
}
.sign-panel::after{
  content:"";
  position:absolute;
  inset: 8px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.20);
  pointer-events:none;
}

.sign-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}

.sign-title h2{
  margin:0;
  font-size: 26px;
  line-height: 1.12;
  color: #fff;
  letter-spacing: .2px;
}

.sign-sub{
  margin: 10px 0 0 0;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  max-width: 70ch;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  justify-content:flex-end;
}

/* Road name patch: AU-style (all caps black text on white rounded rectangle) */
.roadpatch{
  display:inline-grid;
  place-items:center;
  height: 32px;
  padding: 0 10px;
  background: var(--patch-bg);
  color: var(--patch-text);
  border-radius: var(--patch-radius);
  border: 2px solid var(--patch-border);
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.roadpatch .val{
  display:block;
  transform: translateY(1px); /* optical centring */
}
.roadpatch.link{
  text-decoration:none;
}
.roadpatch.link:hover{
  filter: brightness(.97);
}

/* Alphanumeric route marker */
.shield{
  display:inline-grid;
  place-items:center;
  min-width: 56px;
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .4px;
  background: var(--alpha-green);
  color: var(--alpha-yellow);
  border: 3px solid var(--alpha-border);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  line-height: 1;
}
.shield .val{
  display:block;
  transform: translateY(1px); /* optical centring */
}

.kicker{ margin-top: 14px; display:flex; flex-wrap:wrap; gap: 10px; }
.patch{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.88);
  font-size: 13px;
}

.section-title{
  margin: 0 0 12px 0;
  font-size: 16px;
  color: rgba(255,255,255,.86);
  letter-spacing: .2px;
}

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 14px;
  border:1px solid var(--border);
}
.table th, .table td{
  padding: 10px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  vertical-align: top;
  font-size: 14px;
}
.table th{
  color: rgba(255,255,255,.86);
  text-align:left;
  background: rgba(0,0,0,.14);
}
.table td{ color: rgba(255,255,255,.88); }
.table tr:last-child td{ border-bottom:none; }

.stack{ display:flex; flex-wrap:wrap; gap: 8px; }

.project-card{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 10px;
  text-decoration:none;
  color: inherit;
}
.project-card:hover{ background: rgba(255,255,255,.04); }
.project-thumb{
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}
.project-text{ display:flex; flex-direction:column; gap: 4px; }
.project-title{ font-weight: 800; font-size: 14px; color: rgba(255,255,255,.94); }
.project-desc{ font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.4; }

.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  text-decoration:none;
}
.chip.alpha{
  background: var(--alpha-green);
  color: var(--alpha-yellow);
  border: 2px solid var(--alpha-border);
  padding: 5px 9px;
  line-height: 1;
}
.source-list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.source-list a{ color: rgba(255,255,255,.92); text-decoration:none; font-weight:700; }
.source-list a:hover{ text-decoration: underline; }
.source-list .meta{ color: var(--muted); font-size: 13px; margin-top:2px; }

/* footer */
.site-footer{
  margin-top: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.footer-inner{
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
}
.footer-left{ display:flex; align-items:baseline; gap: 10px; flex-wrap:wrap; }
.footer-brand{ font-weight: 800; letter-spacing: .2px; }
.footer-muted{ color: var(--muted); font-size: 13px; }

/* Aim for one line: no wrap, allow horizontal scroll if needed */
.footer-links{
  display:flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items:center;
  justify-content:flex-end;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  max-width: 100%;
}
.footer-links::-webkit-scrollbar{ height: 6px; }
.footer-links::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.12); border-radius: 999px; }

/* icon buttons */
.footer-iconbtn{
  appearance:none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  text-decoration:none;
  transition: transform .12s ease, background .12s ease;
  flex: 0 0 auto;
}
.footer-iconbtn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.06); }

/* YouTube pills keep text */
.footer-pill{
  appearance:none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  padding: 10px 12px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  transition: transform .12s ease, background .12s ease;
  flex: 0 0 auto;
}
.footer-pill:hover{ transform: translateY(-1px); background: rgba(255,255,255,.06); }
.footer-pill-text{
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.footer-hint{
  font-size: 12px;
  color: var(--muted);
}

/* SVG icon sizing */
.svc-ico svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
  display:block;
}


/* Collapsible sections */
details.fold{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  overflow: hidden;
}
details.fold + details.fold{ margin-top: 12px; }
details.fold summary{
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  user-select: none;
  background: rgba(0,0,0,.14);
}
details.fold summary::-webkit-details-marker{ display:none; }
.fold-title{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
}
.fold-caret{
  color: var(--muted);
  font-size: 12px;
  transform: rotate(0deg);
  transition: transform .12s ease;
}
details.fold[open] .fold-caret{ transform: rotate(90deg); }
.fold-body{ padding: 14px; }

/* Article body */
.article{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  padding: 14px;
}
.article h3{
  margin: 0 0 10px 0;
  font-size: 16px;
  color: rgba(255,255,255,.90);
}
.article p{
  margin: 0 0 10px 0;
  color: rgba(255,255,255,.84);
  line-height: 1.55;
  font-size: 14px;
  max-width: 85ch;
}
.article .byline{
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.article-item{
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.article-item:first-of-type{ border-top: none; padding-top: 0; }
.article-item .when{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  color: rgba(255,255,255,.88);
  font-weight: 800;
  margin-bottom: 6px;
}

.fold-title-text{
  font-weight: 800;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
}


/* Under construction banner */
.tile-banner{
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 18px;
  background:
    repeating-linear-gradient(-45deg, rgba(0,0,0,.10) 0 10px, rgba(0,0,0,0) 10px 20px),
    linear-gradient(180deg, #ffd84a, #f2c000);
  box-shadow: var(--shadow);
  padding: 12px 18px;
  display:flex;
  align-items:center;
  gap: 12px;
  color: #1a1a1a;
  font-weight: 800;
  letter-spacing: .2px;
  margin-bottom: 14px;
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
}
.tile-banner::after{
  content:"";
  position:absolute;
  inset: 8px;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,.18);
  pointer-events:none;
}
.banner-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}
.banner-icon svg{
  width: 28px;
  height: 28px;
  display:block;
}

/* Index tiles */
details.tile{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  overflow: hidden;
}
details.tile + details.tile{ margin-top: 14px; }

details.tile summary{
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 0;
}
details.tile summary::-webkit-details-marker{ display:none; }

.tile-head{
  background: linear-gradient(180deg, var(--sign-green), var(--sign-green-2));
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
  padding: 18px;
}
.tile-head::after{
  content:"";
  position:absolute;
  inset: 8px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.20);
  pointer-events:none;
}
.tile-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.tile-title{
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: .2px;
}
.tile-sub{
  margin: 10px 0 0 0;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  max-width: 72ch;
}
.tile-caret{
  color: rgba(255,255,255,.88);
  font-size: 12px;
  transform: rotate(0deg);
  transition: transform .12s ease;
  flex: 0 0 auto;
}
details.tile[open] .tile-caret{ transform: rotate(90deg); }

.tile-body{
  padding: 18px;
}
