@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0a0b0a;
  --paper: #fcfcfc;
  --lime: #d3ff00;
  --lime-hover: #c1e900;
  --muted: #4a4b49;
  --line: #e5e5e1;
  --shadow: 0 .25rem 1.15rem #13160a0d;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.5; }
main { min-height: 59vh; }
a { color: inherit; text-underline-offset: .2em; }
:is(a, button, input, select, summary):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
svg { flex: none; vertical-align: middle; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 850; line-height: 1.07; letter-spacing: -.05em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.35rem, 5vw, 4.65rem); }
h2 { font-size: clamp(1.75rem, 3.05vw, 2.8rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.wrap { width: min(90.5%, 83rem); margin-inline: auto; }
.utility-page { padding-block: 2.5rem 4rem; }
.utility-page > * + * { margin-top: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 1.35em; height: 1.35em; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link { position: absolute; z-index: 6; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--lime); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .6rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .66rem;
  color: var(--ink);
  background: var(--lime);
  font: inherit;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button svg { width: 1.25em; height: 1.25em; }
.button:hover { background: var(--lime-hover); }
.button-outline { border-color: var(--ink); background: transparent; }
.button-outline:hover { background: #f0f3e7; }

header { position: relative; z-index: 3; color: #fff; background: #000; border-bottom: 1px solid #252525; }
.header-wrap {
  display: grid;
  width: min(94.4%, 87rem);
  min-height: clamp(4.5rem, 6.2vw, 5.7rem);
  margin-inline: auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(.85rem, 3vw, 3rem);
}
.brand { display: flex; align-items: center; width: clamp(13rem, 28vw, 25.25rem); height: clamp(4.4rem, 6.1vw, 5.6rem); overflow: hidden; }
.brand img { width: 100%; height: auto; }
.primary-nav { justify-self: center; }
.primary-nav > ul { display: flex; align-items: center; gap: clamp(.85rem, 2.4vw, 2.25rem); }
.primary-nav a, .nav-menu summary { font-size: clamp(.85rem, 1.05vw, 1rem); font-weight: 650; white-space: nowrap; text-decoration: none; }
.primary-nav a:hover, .nav-menu summary:hover, .primary-nav a[aria-current="page"] { color: var(--lime); }
.nav-menu { position: relative; }
.nav-menu summary { display: flex; align-items: center; gap: .35rem; padding: .5rem 0; list-style: none; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: .9em; height: .9em; }
.nav-menu[open] summary svg { transform: rotate(180deg); }
.nav-menu ul {
  position: absolute;
  inset: calc(100% + .35rem) auto auto -.65rem;
  min-width: 10.5rem;
  padding: .35rem;
  background: #121311;
  border: 1px solid #464640;
  border-radius: .6rem;
  box-shadow: 0 .45rem 1.25rem #0005;
}
.nav-menu:last-child ul { max-width: max-content; }
.nav-menu a { display: block; padding: .55rem .65rem; }
.header-alert { white-space: nowrap; min-height: 2.85rem; }
header :focus-visible, footer :focus-visible, .page-banner a:focus-visible { outline-color: var(--lime); }

footer { padding-block: 1.45rem 1.7rem; color: #fff; background: #000; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
footer .brand { width: 13.5rem; height: 3.5rem; margin-inline-start: -.4rem; flex: none; }
footer nav { display: flex; flex-wrap: wrap; column-gap: 1.4rem; row-gap: .4rem; font-size: .9rem; font-weight: 650; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--lime); }
.licence { margin-top: 1rem; border-top: 1px solid #333; padding-top: 1rem; color: #cbcbc9; font-size: .77rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .9em;
  font-size: clamp(.71rem, 1.25vw, 1.12rem);
  font-weight: 790;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::after { content: ""; display: block; width: 3.65em; height: .19em; background: var(--lime); }
.page-banner {
  padding-block: clamp(2.05rem, 5.4vw, 4.5rem);
  background: linear-gradient(90deg, #000 24%, #000e 55%, #0005), #000 url("/brand/hero-architecture-desktop.webp") center right / cover no-repeat;
  color: #fff;
}
.page-banner .eyebrow { color: var(--lime); margin-bottom: .85rem; }
.page-banner h1 { max-width: 22ch; text-wrap: pretty; }
.page-banner p:not(.eyebrow) { margin-top: .9rem; max-width: 60ch; color: #f4f4ef; font-size: clamp(1rem, 1.55vw, 1.3rem); }
.page-banner .button, .page-banner .search-bar { margin-top: 1.25rem; }
.page-banner .search-bar .button { margin: 0; }
.page-content { padding-block: clamp(1.55rem, 3.8vw, 3rem) clamp(2.5rem, 6vw, 4.5rem); }
.page-content h2 { margin-bottom: .9rem; }
.results-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: .85rem; }
.results-heading h2 { margin: 0 auto 0 0; }
.results-heading p, .results-heading a { font-size: .9rem; }
.hub-faq { max-width: 58rem; margin-top: clamp(2rem, 4.4vw, 3.7rem); }

.search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10.3rem, 24%) auto;
  align-items: stretch;
  width: min(100%, 61.5rem);
  min-height: clamp(3.55rem, 5.12vw, 4.5rem);
  padding: .48rem;
  border: 1px solid #e8e8e4;
  border-radius: 1.07rem;
  color: var(--ink);
  background: #fcfcfc;
  box-shadow: 0 .25rem 1rem #0002;
}
.search-bar > label {
  display: flex;
  position: relative;
  min-width: 0;
  align-items: center;
  gap: clamp(.4rem, 1.1vw, 1rem);
  margin-block: .16rem;
  padding-inline: clamp(.55rem, 1.55vw, 1.44rem) .6rem;
}
.search-bar .picker { border-inline: 1px solid var(--line); margin-right: .55rem; }
.search-bar label > svg:first-child { width: clamp(1.2rem, 2.35vw, 2.08rem); height: auto; }
.search-bar .picker > svg:last-child { position: absolute; right: .7rem; width: 1rem; pointer-events: none; }
.search-bar input, .search-bar select {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: clamp(.86rem, 1.21vw, 1.07rem);
}
.search-bar input::placeholder { color: #333; opacity: 1; }
.search-bar input:not(:focus) { text-overflow: ellipsis; }
.search-bar select { appearance: none; padding-right: 1.35rem; font-weight: 750; cursor: pointer; }
.search-bar .button { min-height: 2.75rem; border-radius: .74rem; padding-inline: clamp(.75rem, 2.2vw, 2rem); font-size: clamp(.89rem, 1.3vw, 1.14rem); }

.tender-list { display: grid; gap: .75rem; }
.tender-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(6.7rem, 15vw, 13.4rem) clamp(7rem, 15vw, 13.4rem) auto;
  align-items: center;
  min-height: clamp(4.75rem, 5.7vw, 5.4rem);
  gap: clamp(.65rem, 1.3vw, 1.15rem);
  padding: .65rem 1.05rem .65rem clamp(.8rem, 1.52vw, 1.4rem);
  border-left: .55rem solid var(--lime);
  border-radius: .69rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.tender-heading { display: flex; gap: clamp(.7rem, 1.95vw, 1.8rem); min-width: 0; align-items: center; }
.tender-heading > div { min-width: 0; }
.tender-heading a { text-decoration: none; }
.tender-heading a:hover { text-decoration: underline; }
.tender-heading p { margin-top: .2rem; color: #353634; font-size: clamp(.83rem, 1.12vw, 1rem); overflow-wrap: anywhere; }
.tender-icon {
  display: grid;
  flex: 0 0 auto;
  width: clamp(3.1rem, 5.1vw, 4.6rem);
  height: clamp(2.65rem, 3.95vw, 3.55rem);
  place-items: center;
  border-radius: .58rem;
  color: var(--lime);
  background: linear-gradient(145deg, #171b18, #060807);
}
.tender-icon svg { width: 56%; height: 72%; }
.tender-fact { min-width: 0; border-left: 1px solid var(--line); padding-inline-start: clamp(.55rem, 2.7vw, 2.6rem); }
.tender-fact > span { display: block; color: #363735; font-size: .83rem; }
.tender-fact strong { display: block; font-size: clamp(.84rem, 1.23vw, 1.1rem); font-weight: 790; line-height: 1.35; overflow-wrap: anywhere; }
.deadline-badge {
  display: inline-block;
  margin-top: .1rem;
  padding: .16rem .4rem;
  border-radius: .3rem;
  font-size: .84em;
  font-weight: 790;
  line-height: 1.35;
  white-space: nowrap;
}
.deadline-badge--red { color: #8a1429; background: #ffe0e4; }
.deadline-badge--amber { color: #6a4100; background: #ffedc5; }
.deadline-badge--grey { color: #353734; background: #eff0ed; }
.view-tender { min-width: clamp(7rem, 12.25vw, 10.9rem); min-height: 2.55rem; padding: .45rem .72rem; white-space: nowrap; font-size: clamp(.78rem, 1.05vw, .98rem); }
.pagination { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1.4rem .1rem; }
.empty-state { padding: 1.1rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }

.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; margin-bottom: 1.2rem; color: var(--muted); font-size: .9rem; }
.breadcrumb svg { width: 1rem; height: 1rem; }
.tender-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, .68fr); align-items: start; gap: clamp(1.3rem, 4.5vw, 4rem); }
.notice-copy p { max-width: 68ch; color: #363735; line-height: 1.65; }
.notice-facts { padding: clamp(1rem, 2.8vw, 2rem); border-left: .55rem solid var(--lime); border-radius: .75rem; background: #fff; box-shadow: var(--shadow); }
.notice-facts h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.details { display: grid; gap: .65rem; margin: 0 0 1.15rem; }
.details div { padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: .87rem; }
.details dd { margin: .1rem 0 0; font-weight: 720; overflow-wrap: anywhere; }
.closed-tender { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.3rem; }
.closed-tender p { flex: 0 0 100%; }
.faq { border-top: 1px solid var(--line); padding: .9rem 0; }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 730; }
.faq p { margin-top: .65rem; color: var(--muted); }
.alert-content > p { margin-bottom: 1.2rem; }
.alert-preferences {
  display: grid;
  max-width: 55rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: .85rem;
  padding: clamp(1rem, 2.4vw, 1.7rem);
  border-left: .55rem solid var(--lime);
  border-radius: .75rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.alert-preferences label { display: block; margin-bottom: .25rem; font-weight: 730; }
.alert-preferences select { width: 100%; min-height: 2.8rem; border: 1px solid #c8c8c3; border-radius: .5rem; padding: .45rem; background: #fff; color: inherit; font: inherit; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; font-variant-numeric: tabular-nums; margin-bottom: 1.75rem; }
th, td { padding: .75rem; text-align: left; border-bottom: 1px solid var(--line); }
th[scope="col"] { background: #eef0ea; white-space: nowrap; }

@media (max-width: 56rem) {
  .header-wrap { gap: .5rem .65rem; }
  .brand { width: clamp(9.8rem, 23vw, 13rem); height: 3.75rem; }
  .primary-nav > ul { gap: .7rem; }
  .primary-nav a, .nav-menu summary { font-size: .81rem; }
  .header-alert { min-height: 2.55rem; padding-inline: .58rem; font-size: .79rem; }
  .tender-card { grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 13%) minmax(6.2rem, 13%) auto; }
  .tender-fact { padding-inline-start: .65rem; }
}

@media (max-width: 43.75rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-wrap { width: calc(100% - 1.75rem); min-height: 0; grid-template-columns: 1fr auto; gap: 0 .45rem; padding-bottom: .18rem; }
  .brand { width: clamp(9.3rem, 46vw, 12rem); height: 3.45rem; margin-inline-start: -.25rem; }
  .header-alert { grid-column: 2; grid-row: 1; }
  .header-alert svg { width: 1em; }
  .primary-nav { grid-column: 1/-1; justify-self: stretch; }
  .primary-nav > ul { justify-content: space-between; gap: .3rem; }
  .primary-nav a, .nav-menu summary { font-size: clamp(.72rem, 3.25vw, .88rem); }
  .nav-menu ul { inset-inline-start: -.35rem; }
  .primary-nav > ul > li:last-child .nav-menu ul { inset-inline: auto 0; }

  .page-banner { background-position: 76% center; }
  .page-banner h1 { max-width: 100%; }
  .search-bar { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem; padding: .42rem; }
  .search-bar .keyword-picker { grid-column: 1/-1; min-height: 2.65rem; padding-bottom: .38rem; border-bottom: 1px solid var(--line); }
  .search-bar .picker { margin-right: 0; border: 0; padding-right: 0; }
  .search-bar .button { font-size: .82rem; padding-inline: .68rem; }
  .search-bar .picker > svg:last-child { right: .1rem; }
  .view-tender { min-width: 0; justify-self: end; gap: .32rem; padding-inline: .52rem; }
  .tender-card { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr) auto; gap: .65rem .5rem; border-left-width: .4rem; padding: .72rem .6rem .72rem .72rem; }
  .tender-heading { grid-column: 1/-1; }
  .tender-fact { padding-inline-start: .42rem; }
  .tender-card .tender-fact:nth-child(2) { border-left: 0; padding-inline-start: 0; }
  .tender-fact > span { font-size: .72rem; }
  .tender-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .notice-facts { grid-row: 1; }
  .alert-preferences { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .alert-preferences .button { grid-column: 1/-1; justify-self: start; }
  .footer-main { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 23rem) {
  .tender-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .view-tender { grid-column: 1/-1; justify-self: stretch; }
}
