:root{
  --color-coal-black:#111113;
  --color-heavy-steel:#242529;
  --color-worn-white:#F1F1F1;
  --color-warning-yellow:#EAA800;
  --color-rust-orange:#A55213;
  --color-label-grey:#44454B;

  --font-heading:'Stardos Stencil','Bebas Neue','Impact',sans-serif;
  --font-body:'Roboto','Inter',Arial,sans-serif;
  --font-mono:ui-monospace,SFMono-Regular,Menlo,monospace;

  --text-xxl:3.2rem;
  --text-xl:2.4rem;
  --text-lg:1.8rem;
  --text-md:1.4rem;
  --text-sm:1.1rem;
  --text-xs:0.95rem;

  --space-0:0px;
  --space-1:4px;
  --space-2:8px;
  --space-3:16px;
  --space-4:24px;
  --space-5:32px;
  --space-6:48px;
  --space-7:64px;

  --container-max:1240px;
  --container-pad:32px;

  --border-strong:3px solid var(--color-warning-yellow);
  --border-muted:2px solid var(--color-label-grey);

  --radius-xs:2px;
  --radius-sm:4px;

  --surface-main:var(--color-coal-black);
  --surface-panel:var(--color-heavy-steel);

  --shadow-inset:inset 0 0 0 1px rgba(0,0,0,0.6);
}

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

html{
  font-size:16px;
  background:var(--color-coal-black);
  color:var(--color-worn-white);
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:var(--font-body);
  font-size:var(--text-sm);
  line-height:1.6;
  background:var(--surface-main);
  color:var(--color-worn-white);
  min-height:100vh;
  text-rendering:optimizeLegibility;
}

img,
picture,
video,
canvas,
svg{
  display:block;
  max-width:100%;
}

img,
video{
  height:auto;
}

input,
button,
textarea,
select{
  font:inherit;
  color:inherit;
}

button{
  cursor:pointer;
  background:none;
  border:none;
}

a{
  color:inherit;
  text-decoration:none;
}

:focus-visible{
  outline:2px solid var(--color-warning-yellow);
  outline-offset:2px;
}

h1,h2,h3,h4,h5,h6{
  font-family:var(--font-heading);
  text-transform:uppercase;
  letter-spacing:0.03em;
  line-height:1.2;
  margin-top:0;
  margin-bottom:var(--space-4);
}

h1{font-size:var(--text-xxl);}
h2{font-size:var(--text-xl);}
h3{font-size:var(--text-lg);}
h4{font-size:var(--text-md);}
h5{font-size:var(--text-sm);}
h6{font-size:var(--text-xs);}

p{
  margin-top:0;
  margin-bottom:var(--space-4);
}

ul,ol{
  margin-top:0;
  margin-bottom:var(--space-4);
  padding-left:var(--space-5);
}

li{
  margin-bottom:var(--space-2);
}

blockquote{
  margin:0 0 var(--space-4) 0;
  padding-left:var(--space-3);
  border-left:3px solid var(--color-warning-yellow);
}

hr{
  border:none;
  border-top:2px solid var(--color-label-grey);
  margin:var(--space-5) 0;
}

.container{
  width:100%;
  max-width:var(--container-max);
  padding-left:var(--container-pad);
  padding-right:var(--container-pad);
  margin-left:auto;
  margin-right:auto;
}

.section{
  padding-top:var(--space-6);
  padding-bottom:var(--space-6);
}

.surface{
  background:var(--surface-panel);
  border:var(--border-muted);
  box-shadow:var(--shadow-inset);
}

.surface-strong{
  background:var(--surface-panel);
  border:var(--border-strong);
  box-shadow:var(--shadow-inset);
}

.media{
  position:relative;
  overflow:hidden;
}

.media > img,
.media > video{
  width:100%;
  max-height:900px;
  height: 100%;
  object-fit:cover;
}

.grid{
  display:grid;
  gap:var(--space-4);
}

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

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

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

.flex{
  display:flex;
  gap:var(--space-3);
}

.flex-col{
  flex-direction:column;
}

.flex-wrap{
  flex-wrap:wrap;
}

.flex-between{
  justify-content:space-between;
  align-items:center;
}

.stack > * + *{
  margin-top:var(--space-4);
}

.cluster{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-3);
}

.card{
  background:var(--surface-panel);
  border:var(--border-strong);
  padding:var(--space-4);
  display:flex;
  flex-direction:column;
}

.card > *:last-child{
  margin-bottom:0;
}

.panel{
  padding:var(--space-5);
  background:var(--surface-panel);
  border:var(--border-strong);
}

.panel > *:last-child{
  margin-bottom:0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:var(--space-3) var(--space-4);
  font-family:var(--font-heading);
  font-size:var(--text-sm);
  text-transform:uppercase;
  letter-spacing:0.05em;
  background:var(--color-warning-yellow);
  color:var(--color-worn-white);
  border:2px solid transparent;
  min-height:44px;
}

.btn:hover{
  background:#c89200;
}

.btn-outline{
  background:transparent;
  border:2px solid var(--color-warning-yellow);
}

.label{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:var(--text-xs);
  background:var(--color-label-grey);
  color:var(--color-worn-white);
  padding:var(--space-1) var(--space-2);
  border:1px solid var(--color-warning-yellow);
}

.timeline{
  position:relative;
  padding-left:var(--space-5);
}

.timeline::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:repeating-linear-gradient(
    to bottom,
    var(--color-warning-yellow) 0 12px,
    var(--color-coal-black) 12px 24px
  );
}

.timeline-item{
  position:relative;
  margin-bottom:var(--space-5);
}

.timeline-item::before{
  content:"";
  position:absolute;
  left:-11px;
  top:4px;
  width:14px;
  height:14px;
  background:var(--color-warning-yellow);
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:var(--space-1);
  margin-bottom:var(--space-4);
}

input,
textarea,
select{
  background:var(--color-label-grey);
  border:2px solid transparent;
  padding:var(--space-3);
  color:var(--color-worn-white);
}

input:focus,
textarea:focus,
select:focus{
  border-color:var(--color-warning-yellow);
  outline:none;
}

.footer{
  padding-top:var(--space-6);
  padding-bottom:var(--space-6);
}

.footer a{
  color:var(--color-worn-white);
}

.footer a:hover{
  text-decoration:underline;
  text-decoration-color:var(--color-warning-yellow);
}

@media (max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:640px){
  .container{
    padding-left:16px;
    padding-right:16px;
  }

  .grid-2,
  .grid-3,
  .grid-4{
    grid-template-columns:1fr;
  }

  .section{
    padding-top:var(--space-5);
    padding-bottom:var(--space-5);
  }

  .btn{
    width:100%;
  }
}