:root {
  --green-950: #063226;
  --green-900: #073b2d;
  --green-800: #0b503d;
  --green-100: #e5efe8;
  --cream: #fbf8f1;
  --cream-deep: #f1eadc;
  --gold: #d5a746;
  --gold-soft: #ecd39b;
  --ink: #15342b;
  --muted: #567067;
  --white: #ffffff;
  --line: rgba(7, 59, 45, 0.15);
  --shadow: 0 20px 55px rgba(5, 48, 37, 0.11);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-950);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(190px, 250px) 1fr auto;
  align-items: center;
  min-height: 96px;
  padding: 0.75rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(213, 167, 70, 0.4);
  background: rgba(251, 248, 241, 0.98);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(100%, 230px);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
}

.site-nav a,
.mobile-menu a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-nav a:hover,
.mobile-menu a:hover {
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.35rem;
}

.language-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
}

.language-nav a {
  min-width: 38px;
  padding: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
}

.language-nav a[aria-current="page"] {
  border-color: var(--gold);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background: var(--cream);
  color: var(--green-900);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-menu {
  display: none;
}

.bid-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 600px;
  place-items: center;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 8.5rem) clamp(1.25rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(213, 167, 70, 0.2), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
  color: var(--white);
}

.bid-hero::before,
.bid-hero::after {
  position: absolute;
  z-index: -1;
  width: clamp(190px, 28vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(236, 211, 155, 0.22);
  border-radius: 50%;
  content: "";
}

.bid-hero::before {
  top: -15%;
  right: -5%;
}

.bid-hero::after {
  bottom: -30%;
  left: -8%;
}

.bid-hero__inner {
  width: min(100%, 1020px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bid-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.4vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.bid-hero__summary {
  max-width: 720px;
  margin: 1.75rem auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: var(--green-950);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button-secondary:hover {
  background: var(--white);
  color: var(--green-950);
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem);
}

.section--soft {
  background: var(--green-100);
}

.section--dark {
  background: var(--green-950);
  color: var(--white);
}

.section__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.closing-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-heading p:not(.eyebrow) {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.support-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.support-card,
.process-card,
.role-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.support-card {
  min-height: 260px;
  padding: 1.55rem;
}

.card-number,
.process-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.support-card h3,
.process-card h3,
.role-panel h3 {
  margin: 0 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.support-card p,
.process-card p {
  margin: 0;
  color: var(--muted);
}

.process-card {
  position: relative;
  min-height: 235px;
  padding: 1.5rem;
  box-shadow: none;
}

.process-card:not(:last-child)::after {
  position: absolute;
  top: 39px;
  right: -17px;
  z-index: 2;
  color: var(--gold);
  content: "→";
  font-size: 1.3rem;
  font-weight: 900;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.role-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--green-900);
}

.role-panel--client {
  border-color: rgba(213, 167, 70, 0.48);
  background: #fffaf0;
}

.role-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.role-list li {
  position: relative;
  padding-left: 1.7rem;
}

.role-list li::before {
  position: absolute;
  top: 0.03rem;
  left: 0;
  color: var(--green-800);
  content: "✓";
  font-weight: 900;
}

.role-panel--client .role-list li::before {
  color: #9a6c0f;
  content: "◆";
  font-size: 0.72rem;
}

.responsibility-note {
  max-width: 890px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.closing-panel {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgba(213, 167, 70, 0.45);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.closing-panel p {
  max-width: 650px;
  margin: 1.1rem auto 0;
  color: var(--muted);
}

.closing-actions .button-primary {
  background: var(--green-900);
  color: var(--white);
}

.closing-actions .button-secondary {
  border-color: var(--green-900);
  color: var(--green-900);
}

.closing-actions .button-secondary:hover {
  background: var(--green-900);
  color: var(--white);
}

.submission-note {
  font-size: 0.9rem;
}

.site-footer {
  padding: 3rem clamp(1.25rem, 6vw, 6rem) 1.5rem;
  background: #041f18;
  color: rgba(255, 255, 255, 0.82);
}

.footer-main {
  display: grid;
  width: min(100%, 1180px);
  grid-template-columns: minmax(180px, 1.15fr) repeat(2, minmax(150px, 0.8fr));
  gap: 2rem;
  margin: 0 auto;
}

.footer-brand img {
  width: min(100%, 220px);
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-column p {
  margin: 0.8rem 0 0;
}

.footer-column h2 {
  margin: 0 0 0.75rem;
  color: var(--gold-soft);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.footer-bottom {
  display: flex;
  width: min(100%, 1180px);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-credit a {
  color: var(--gold-soft);
}

.js-reveal .reveal-on-scroll:not(.is-visible) {
  opacity: 0;
  transform: translate3d(-16px, 0, 0);
}

.js-reveal .reveal-on-scroll {
  transition: opacity 820ms var(--ease), transform 820ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: minmax(175px, 220px) 1fr auto;
  }

  .site-nav {
    gap: 0.9rem;
  }

  .site-nav a {
    font-size: 0.7rem;
  }

  .support-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-card:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 94px;
  }

  .site-header {
    min-height: 84px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    width: min(72vw, 240px);
  }

  .site-nav,
  .site-header > .language-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 49;
    padding: 1.25rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--gold);
    background: var(--cream);
    box-shadow: 0 18px 36px rgba(5, 48, 37, 0.18);
  }

  .mobile-menu.is-open {
    display: grid;
    gap: 1rem;
  }

  .mobile-menu nav {
    display: grid;
    gap: 0.2rem;
  }

  .mobile-menu nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu .language-nav {
    display: flex;
    padding-left: 0;
    border-left: 0;
  }

  .bid-hero {
    min-height: 560px;
  }

  .responsibility-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .bid-hero {
    min-height: 520px;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .bid-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .bid-hero__summary {
    font-size: 1rem;
  }

  .hero-actions,
  .closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .support-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .support-card,
  .process-card {
    min-height: 0;
  }

  .process-card::after {
    display: none;
  }

  .section-heading h2,
  .closing-panel h2 {
    font-size: clamp(2.2rem, 11vw, 3.15rem);
  }

  .role-panel {
    padding: 1.35rem;
  }
}

@media (max-width: 767px) {
  .js-reveal .reveal-on-scroll:not(.is-visible) {
    transform: translate3d(-13px, 0, 0);
  }

  .js-reveal .reveal-on-scroll {
    transition-duration: 680ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js-reveal .reveal-on-scroll,
  .js-reveal .reveal-on-scroll:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
