:root {
  --green-dark: #00372d;
  --green-deep: #002d25;
  --green-main: #00503f;
  --green-soft: #0a6653;
  --gold: #f9b915;
  --gold-hover: #ffc52e;
  --red: #cf0718;
  --white: #fff;
  --ivory: #f8f8f5;
  --text-dark: #10241f;
  --text-muted: rgba(255, 255, 255, .76);
  --line: rgba(255, 255, 255, .18);
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Montserrat", var(--font-body);
  --content-width: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--green-deep);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.campaign-container {
  width: min(100% - 64px, var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--green-dark);
  border-radius: 4px;
  background: var(--gold);
  font-weight: 700;
  transform: translateY(-160%);
}

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

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

.site-frame {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* Header */
.campaign-header {
  position: relative;
  z-index: 20;
  color: var(--text-dark);
  background: var(--white);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-link {
  display: block;
  transition: transform 220ms ease;
}

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

.brand-link:first-child img {
  width: 244px;
  height: auto;
}

.brand-link:last-child img {
  width: 205px;
  height: auto;
}

.brand-divider {
  width: 1px;
  height: 52px;
  background: #9d9d9b;
}

.header-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #4d5d58;
  font-size: 14px;
  font-weight: 600;
}

.header-location i {
  color: var(--green-main);
  font-size: 17px;
}

/* Hero */
.hero-section {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  overflow: hidden;
  background-color: var(--green-dark);
  background-image: linear-gradient(90deg, rgba(0, 48, 39, .98) 0%, rgba(0, 48, 39, .94) 30%, rgba(0, 48, 39, .52) 55%, rgba(0, 48, 39, .05) 80%), url("../images/bambey/bambey-aerial.webp");
  background-position: center;
  background-size: cover;
}

.hero-section::after {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 18%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 45, 37, .96));
}

.hero-layout {
  position: relative;
  z-index: 5;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-block: 42px 30px;
}

.hero-content {
  width: min(610px, 48%);
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: min(62vw, 920px);
  height: 100%;
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 22%;
  content: "";
  background: linear-gradient(90deg, var(--green-dark), transparent);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  transition: transform 400ms ease;
}

.hero-section:hover .hero-visual img {
  transform: scale(1.008);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 25px;
  height: 2px;
  background: var(--gold);
}

.hero-kicker span:last-child {
  display: none;
}

.hero-content h1 {
  max-width: 590px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 3.35vw, 58px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-lead {
  margin: 15px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.58;
}

.construction-block {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 28px;
}

.construction-icon {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 52px;
  line-height: 1;
  animation: coneDrift 3.8s ease-in-out infinite;
}

.construction-block h2,
.newsletter-heading h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.construction-block p,
.newsletter-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.48;
}

.launch-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.launch-title {
  margin: 0 0 13px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.launch-title strong {
  color: var(--gold);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 480px);
}

.countdown-card {
  min-height: 76px;
  display: grid;
  place-content: center;
  padding: 9px 7px;
  border: 1px solid rgba(249, 185, 21, .72);
  border-radius: 5px;
  background: rgba(0, 55, 45, .28);
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.countdown-card:hover {
  border-color: var(--gold-hover);
  background: rgba(0, 73, 59, .42);
  transform: translateY(-4px);
}

.countdown-card strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.countdown-card span {
  margin-top: 7px;
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.launch-status {
  margin: 10px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-access-button {
  display: inline-flex;
  margin-top: 10px;
  padding: 10px 18px;
  color: var(--green-deep);
  border-radius: 4px;
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.newsletter-block {
  display: grid;
  grid-template-columns: auto minmax(270px, 1fr);
  align-items: end;
  gap: 22px;
  width: min(680px, 112%);
  margin-top: 24px;
}

.newsletter-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 270px;
}

.newsletter-heading h2 {
  font-size: 14px;
}

.newsletter-heading p {
  font-size: 11px;
  white-space: nowrap;
}

.newsletter-icon {
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 50%;
  font-size: 21px;
}

.newsletter-controls {
  display: flex;
  min-height: 42px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--white);
}

.newsletter-controls .form-control {
  min-width: 0;
  padding-inline: 16px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 13px;
}

.newsletter-button {
  min-width: 142px;
  padding: 10px 20px;
  color: var(--green-deep);
  border: 0;
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.newsletter-button:hover {
  background: var(--gold-hover);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .18);
  transform: translateY(-2px);
}

.newsletter-feedback {
  min-height: 21px;
  margin-top: 5px;
  font-size: 11px;
}

.newsletter-feedback .alert {
  margin: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 3px;
  font-size: 11px;
}

/* Footer */
.campaign-footer {
  position: relative;
  z-index: 10;
  color: var(--white);
  border-top: 1px solid var(--line);
  background: #01231d;
}

.footer-main {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1.3fr .7fr 1fr;
  align-items: center;
  gap: 38px;
  padding-block: 18px;
}

.footer-brands {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo-card {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  transition: transform 220ms ease;
}

.footer-logo-card:hover {
  transform: translateY(-2px);
}

.footer-logo-card--monaph {
  width: 205px;
}

.footer-logo-card--pastef {
  width: 145px;
}

.footer-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brands > span {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, .35);
}

.social-group {
  text-align: center;
}

.social-group > p {
  margin: 0 0 9px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  font-size: 15px;
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.social-links a:hover {
  color: var(--green-deep);
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-3px);
}

.contact-list {
  display: grid;
  gap: 7px;
  justify-self: end;
  margin: 0;
  font-size: 12px;
  font-style: normal;
}

.contact-list a,
.contact-list p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--gold);
}

.contact-list i {
  color: var(--white);
}

.footer-legal {
  padding-block: 11px 13px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  text-align: center;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
}

/* Appearance */
.load-reveal {
  animation: revealIn 550ms ease both;
}

.launch-block.load-reveal {
  animation-delay: 90ms;
}

.newsletter-block.load-reveal {
  animation-delay: 160ms;
}

@keyframes revealIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes coneDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Responsive */
@media (min-width: 1600px) {
  .hero-section {
    min-height: 690px;
  }

  .hero-content {
    width: min(660px, 47%);
  }

  .hero-content h1 {
    font-size: 61px;
  }

  .countdown-grid {
    width: 520px;
  }
}

@media (max-width: 1199.98px) {
  .campaign-container {
    width: min(100% - 44px, var(--content-width));
  }

  .brand-link:first-child img {
    width: 210px;
  }

  .brand-link:last-child img {
    width: 175px;
  }

  .hero-content {
    width: min(550px, 52%);
  }

  .hero-visual {
    width: 60vw;
  }

  .newsletter-block {
    width: min(620px, 116%);
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .newsletter-form {
    width: min(100%, 460px);
  }

  .footer-main {
    grid-template-columns: 1.25fr .65fr .9fr;
    gap: 24px;
  }

  .footer-logo-card--monaph {
    width: 174px;
  }

  .footer-logo-card--pastef {
    width: 123px;
  }
}

@media (max-width: 991.98px) {
  .header-inner {
    min-height: 80px;
  }

  .hero-section {
    min-height: 660px;
  }

  .hero-content {
    width: 55%;
  }

  .hero-content h1 {
    font-size: clamp(34px, 4.7vw, 46px);
  }

  .hero-visual {
    width: 62vw;
  }

  .countdown-grid {
    gap: 8px;
  }

  .countdown-card {
    min-height: 68px;
  }

  .countdown-card strong {
    font-size: 24px;
  }

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

  .footer-brands {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .social-group {
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 899.98px) {
  .campaign-container {
    width: min(100% - 32px, 620px);
  }

  .header-inner {
    min-height: 72px;
    justify-content: center;
  }

  .brand-group {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .brand-divider {
    height: 38px;
  }

  .brand-link:first-child img {
    width: 166px;
  }

  .brand-link:last-child img {
    width: 137px;
  }

  .header-location {
    display: none;
  }

  .hero-section {
    min-height: auto;
    background-image: none;
  }

  .hero-section::after {
    display: none;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    height: clamp(275px, 73vw, 390px);
    background: var(--green-dark);
  }

  .hero-visual::before {
    inset: auto 0 0;
    width: auto;
    height: 22%;
    background: linear-gradient(180deg, transparent, var(--green-dark));
  }

  .hero-visual img {
    object-position: 61% top;
  }

  .hero-layout {
    min-height: 0;
    padding-block: 22px 30px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-kicker {
    font-size: 11px;
  }

  .hero-content h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero-lead {
    font-size: 13px;
  }

  .construction-block {
    margin-top: 26px;
  }

  .construction-icon {
    font-size: 47px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .countdown-card {
    min-height: 78px;
  }

  .newsletter-block {
    width: 100%;
    margin-top: 26px;
  }

  .newsletter-heading {
    min-width: 0;
  }

  .newsletter-heading p {
    white-space: normal;
  }

  .newsletter-form {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 30px;
  }

  .footer-brands {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .social-group {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .contact-list {
    justify-self: center;
  }

  .footer-legal {
    padding-block: 14px 18px;
  }

  .footer-legal p {
    line-height: 1.6;
  }
}

@media (max-width: 479.98px) {
  .campaign-container {
    width: min(100% - 24px, 430px);
  }

  .brand-group {
    gap: 8px;
  }

  .brand-link:first-child img {
    width: 146px;
  }

  .brand-link:last-child img {
    width: 119px;
  }

  .brand-divider {
    height: 34px;
  }

  .hero-visual {
    height: clamp(250px, 76vw, 330px);
  }

  .hero-content h1 {
    font-size: clamp(31px, 9.5vw, 40px);
  }

  .construction-block {
    align-items: flex-start;
    gap: 17px;
  }

  .construction-block h2 {
    font-size: 16px;
  }

  .newsletter-controls {
    display: grid;
    overflow: visible;
    gap: 8px;
    background: transparent;
  }

  .newsletter-controls .form-control,
  .newsletter-button {
    min-height: 44px;
    border-radius: 5px;
  }

  .newsletter-button {
    width: 100%;
  }

  .footer-brands {
    gap: 12px;
  }

  .footer-logo-card {
    height: 54px;
    padding: 0;
  }

  .footer-logo-card--monaph {
    width: 158px;
  }

  .footer-logo-card--pastef {
    width: 118px;
  }

  .footer-brands > span {
    height: 38px;
  }
}

@media (max-height: 800px) and (min-width: 992px) {
  .header-inner {
    min-height: 70px;
  }

  .brand-link:first-child img {
    width: 195px;
  }

  .brand-link:last-child img {
    width: 162px;
  }

  .brand-divider {
    height: 42px;
  }

  .hero-section {
    min-height: 520px;
  }

  .hero-layout {
    padding-block: 25px 18px;
  }

  .hero-content h1 {
    font-size: clamp(36px, 3.05vw, 45px);
  }

  .hero-lead {
    margin-top: 9px;
    font-size: 12px;
  }

  .construction-block {
    margin-top: 17px;
  }

  .construction-icon {
    font-size: 43px;
  }

  .launch-block {
    margin-top: 15px;
    padding-top: 13px;
  }

  .countdown-card {
    min-height: 64px;
  }

  .countdown-card strong {
    font-size: 23px;
  }

  .newsletter-block {
    margin-top: 14px;
  }

  .footer-main {
    min-height: 86px;
    padding-block: 10px;
  }

  .footer-legal {
    padding-block: 7px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
